diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index f2ff35ae4a..bc16075a84 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -11,12 +11,15 @@ module Mgmt Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations module Models + Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers CheckServerNameAvailabilityParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters @@ -33,9 +36,6 @@ module Models IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer - SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end @@ -71,6 +71,18 @@ def method_missing(method, *args) end class ModelClasses + def resource + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + end + def sku_tier + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + end + def state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + end + def provisioning_state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState + end def analysis_services_server_update_parameters Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters end @@ -86,9 +98,6 @@ def operation_list_result def gateway_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError end - def resource - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource - end def gateway_list_status_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError end @@ -137,15 +146,6 @@ def sku_enumeration_for_existing_resource_result def analysis_services_server Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer end - def sku_tier - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier - end - def state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - end - def provisioning_state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState - end def connection_mode Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode end diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index 08bc3d29ac..8cae55cd93 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,7 +7,27 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt + QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys + QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys + Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports + ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions + TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource + Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group + OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations + TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription + TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit + TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess + User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User + TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration + UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription + UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup + ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet + UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities + Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription + ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport Policy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Policy + Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag + Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger PolicySnippets = Azure::ApiManagement::Mgmt::V2018_01_01_preview::PolicySnippets Regions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Regions Api = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Api @@ -22,16 +42,13 @@ module Mgmt ApiDiagnosticLogger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiDiagnosticLogger AuthorizationServer = Azure::ApiManagement::Mgmt::V2018_01_01_preview::AuthorizationServer Backend = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Backend - Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate ApiManagementOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiManagementOperations ApiManagementService = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiManagementService Diagnostic = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Diagnostic DiagnosticLogger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DiagnosticLogger EmailTemplate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::EmailTemplate - Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group GroupUser = Azure::ApiManagement::Mgmt::V2018_01_01_preview::GroupUser IdentityProvider = Azure::ApiManagement::Mgmt::V2018_01_01_preview::IdentityProvider - Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger Notification = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Notification NotificationRecipientUser = Azure::ApiManagement::Mgmt::V2018_01_01_preview::NotificationRecipientUser NotificationRecipientEmail = Azure::ApiManagement::Mgmt::V2018_01_01_preview::NotificationRecipientEmail @@ -39,44 +56,30 @@ module Mgmt OpenIdConnectProvider = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OpenIdConnectProvider SignInSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignUpSettings + Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings - Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product ProductApi = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductApi ProductGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductGroup - ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions + Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property - QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys - QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys - Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports - Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription - TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource - Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag - TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription - OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations - TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess - TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit - TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration - User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User - UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup - UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription - UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities - ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet - ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport module Models + SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState + OperationDisplay = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay + OperationListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult + ErrorResponse = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse + Operation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation + AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus ApiManagementServiceNameAvailabilityResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceNameAvailabilityResult ApiManagementServiceApplyNetworkConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters - ErrorResponse = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse ApiManagementServiceUploadCertificateParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUploadCertificateParameters PolicyCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyCollection HostnameConfigurationOld = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::HostnameConfigurationOld PolicySnippetsCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicySnippetsCollection ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUpdateHostnameParameters RegionListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionListResult - OperationDisplay = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay ApiExportResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiExportResult - Operation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation AdditionalLocation = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AdditionalLocation ApiManagementServiceBackupRestoreParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceBackupRestoreParameters ApiCreateOrUpdatePropertiesWsdlSelector = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiCreateOrUpdatePropertiesWsdlSelector @@ -105,13 +108,11 @@ module Models LoggerCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::LoggerCollection RegionContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionContract DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection - Resource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource UserTokenParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserTokenParameters ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiVersionSetContractDetails UserIdentityCollection = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserIdentityCollection AccessInformationContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AccessInformationContract TagResourceContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagResourceContract - OperationListResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult UserCreateParameters = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCreateParameters EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::EmailTemplateParametersContractProperties GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::GenerateSsoUrlResult @@ -235,7 +236,6 @@ module Models TagDescriptionContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagDescriptionContract ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiVersionSetContract PolicyContentFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContentFormat - Protocol = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol ContentFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ContentFormat SoapApiType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SoapApiType ApiType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiType @@ -255,18 +255,18 @@ module Models UserState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserState IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::IdentityProviderType ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ConnectivityStatusType - SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState - AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus KeyType = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::KeyType VersioningScheme = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::VersioningScheme TemplateName = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TemplateName NotificationName = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::NotificationName PolicyScopeContract = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyScopeContract ExportFormat = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ExportFormat + Protocol = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol + Resource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource end class ApiManagementManagementClass - attr_reader :policy, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :certificate, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :email_template, :group, :group_user, :identity_provider, :logger, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :subscription, :tag_resource, :tag, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_group, :user_subscription, :user_identities, :api_version_set, :api_export, :configurable, :base_url, :options, :model_classes + attr_reader :quota_by_counter_keys, :quota_by_period_keys, :reports, :product_subscriptions, :tag_resource, :group, :operation_operations, :tag_description, :tenant_access_git, :tenant_access, :user, :tenant_configuration, :user_subscription, :user_group, :api_version_set, :user_identities, :subscription, :api_export, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :certificate, :delegation_settings, :product_api, :product_group, :product, :product_policy, :property, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -276,7 +276,27 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @quota_by_counter_keys = @client_0.quota_by_counter_keys + @quota_by_period_keys = @client_0.quota_by_period_keys + @reports = @client_0.reports + @product_subscriptions = @client_0.product_subscriptions + @tag_resource = @client_0.tag_resource + @group = @client_0.group + @operation_operations = @client_0.operation_operations + @tag_description = @client_0.tag_description + @tenant_access_git = @client_0.tenant_access_git + @tenant_access = @client_0.tenant_access + @user = @client_0.user + @tenant_configuration = @client_0.tenant_configuration + @user_subscription = @client_0.user_subscription + @user_group = @client_0.user_group + @api_version_set = @client_0.api_version_set + @user_identities = @client_0.user_identities + @subscription = @client_0.subscription + @api_export = @client_0.api_export @policy = @client_0.policy + @tag = @client_0.tag + @logger = @client_0.logger @policy_snippets = @client_0.policy_snippets @regions = @client_0.regions @api = @client_0.api @@ -291,16 +311,13 @@ def initialize(configurable, base_url=nil, options=nil) @api_diagnostic_logger = @client_0.api_diagnostic_logger @authorization_server = @client_0.authorization_server @backend = @client_0.backend - @certificate = @client_0.certificate @api_management_operations = @client_0.api_management_operations @api_management_service = @client_0.api_management_service @diagnostic = @client_0.diagnostic @diagnostic_logger = @client_0.diagnostic_logger @email_template = @client_0.email_template - @group = @client_0.group @group_user = @client_0.group_user @identity_provider = @client_0.identity_provider - @logger = @client_0.logger @notification = @client_0.notification @notification_recipient_user = @client_0.notification_recipient_user @notification_recipient_email = @client_0.notification_recipient_email @@ -308,30 +325,13 @@ def initialize(configurable, base_url=nil, options=nil) @open_id_connect_provider = @client_0.open_id_connect_provider @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings + @certificate = @client_0.certificate @delegation_settings = @client_0.delegation_settings - @product = @client_0.product @product_api = @client_0.product_api @product_group = @client_0.product_group - @product_subscriptions = @client_0.product_subscriptions + @product = @client_0.product @product_policy = @client_0.product_policy @property = @client_0.property - @quota_by_counter_keys = @client_0.quota_by_counter_keys - @quota_by_period_keys = @client_0.quota_by_period_keys - @reports = @client_0.reports - @subscription = @client_0.subscription - @tag_resource = @client_0.tag_resource - @tag = @client_0.tag - @tag_description = @client_0.tag_description - @operation_operations = @client_0.operation_operations - @tenant_access = @client_0.tenant_access - @tenant_access_git = @client_0.tenant_access_git - @tenant_configuration = @client_0.tenant_configuration - @user = @client_0.user - @user_group = @client_0.user_group - @user_subscription = @client_0.user_subscription - @user_identities = @client_0.user_identities - @api_version_set = @client_0.api_version_set - @api_export = @client_0.api_export @model_classes = ModelClasses.new end @@ -350,15 +350,30 @@ def method_missing(method, *args) end class ModelClasses + def subscription_state + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState + end + def operation_display + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult + end + def error_response + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse + end + def operation + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation + end + def async_operation_status + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus + end def api_management_service_name_availability_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceNameAvailabilityResult end def api_management_service_apply_network_configuration_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters end - def error_response - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ErrorResponse - end def api_management_service_upload_certificate_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUploadCertificateParameters end @@ -377,15 +392,9 @@ def api_management_service_update_hostname_parameters def region_list_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::RegionListResult end - def operation_display - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationDisplay - end def api_export_result Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiExportResult end - def operation - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Operation - end def additional_location Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AdditionalLocation end @@ -470,9 +479,6 @@ def region_contract def diagnostic_collection Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::DiagnosticCollection end - def resource - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource - end def user_token_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserTokenParameters end @@ -488,9 +494,6 @@ def access_information_contract def tag_resource_contract Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::TagResourceContract end - def operation_list_result - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::OperationListResult - end def user_create_parameters Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::UserCreateParameters end @@ -860,9 +863,6 @@ def api_version_set_contract def policy_content_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::PolicyContentFormat end - def protocol - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol - end def content_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ContentFormat end @@ -920,12 +920,6 @@ def identity_provider_type def connectivity_status_type Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ConnectivityStatusType end - def subscription_state - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState - end - def async_operation_status - Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::AsyncOperationStatus - end def key_type Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::KeyType end @@ -944,6 +938,12 @@ def policy_scope_contract def export_format Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ExportFormat end + def protocol + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Protocol + end + def resource + Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index d948bdc974..c27e9acb80 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,10 +7,24 @@ module Azure::Profiles::Latest module Automation module Mgmt - AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations + JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations + JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations + LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations + ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations + ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations + ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes + Usages = Azure::Automation::Mgmt::V2015_10_31::Usages + Fields = Azure::Automation::Mgmt::V2015_10_31::Fields + RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations + RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations + TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams + TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations + ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations + VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations + WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations Operations = Azure::Automation::Mgmt::V2015_10_31::Operations + AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations - Usages = Azure::Automation::Mgmt::V2015_10_31::Usages Keys = Azure::Automation::Mgmt::V2015_10_31::Keys CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations @@ -25,77 +39,8 @@ module Mgmt DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations - JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations - JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations - LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations - ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations - ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations - ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes - Fields = Azure::Automation::Mgmt::V2015_10_31::Fields - RunbookDraftOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookDraftOperations - RunbookOperations = Azure::Automation::Mgmt::V2015_10_31::RunbookOperations - TestJobStreams = Azure::Automation::Mgmt::V2015_10_31::TestJobStreams - TestJobOperations = Azure::Automation::Mgmt::V2015_10_31::TestJobOperations - ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations - VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations - WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations module Models - AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter - KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage - JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult - AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key - DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job - VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters - RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter - VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult - DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter - DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters - WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters - DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters - DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult - DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType - DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType HybridRunbookWorkerGroupsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroupsListResult ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult @@ -103,15 +48,12 @@ module Models AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource JobSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft JobScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleListResult ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ModuleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters @@ -135,33 +77,35 @@ module Models ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty - SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters - CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult + AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo + CredentialListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters - VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters + AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource - Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration - AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration - AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus @@ -171,18 +115,74 @@ module Models ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName - JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + SubResource = Azure::Automation::Mgmt::V2015_10_31::Models::SubResource HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency + AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage + UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters + JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + RunbookAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty + DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + AgentRegistrationKeys = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key + DscConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + JobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult + StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + VariableListResult = Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + DscConfigurationUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult + DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + ConnectionListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + HybridRunbookWorker = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker + CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + RunAsCredentialAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + HybridRunbookWorkerGroup = Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup end class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :configurable, :base_url, :options, :model_classes + attr_reader :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :usages, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :operations, :automation_account_operations, :statistics_operations, :keys, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -192,10 +192,24 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @automation_account_operations = @client_0.automation_account_operations + @job_stream_operations = @client_0.job_stream_operations + @job_schedule_operations = @client_0.job_schedule_operations + @linked_workspace_operations = @client_0.linked_workspace_operations + @activity_operations = @client_0.activity_operations + @module_model_operations = @client_0.module_model_operations + @object_data_types = @client_0.object_data_types + @usages = @client_0.usages + @fields = @client_0.fields + @runbook_draft_operations = @client_0.runbook_draft_operations + @runbook_operations = @client_0.runbook_operations + @test_job_streams = @client_0.test_job_streams + @test_job_operations = @client_0.test_job_operations + @schedule_operations = @client_0.schedule_operations + @variable_operations = @client_0.variable_operations + @webhook_operations = @client_0.webhook_operations @operations = @client_0.operations + @automation_account_operations = @client_0.automation_account_operations @statistics_operations = @client_0.statistics_operations - @usages = @client_0.usages @keys = @client_0.keys @certificate_operations = @client_0.certificate_operations @connection_operations = @client_0.connection_operations @@ -210,20 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations @job_operations = @client_0.job_operations - @job_stream_operations = @client_0.job_stream_operations - @job_schedule_operations = @client_0.job_schedule_operations - @linked_workspace_operations = @client_0.linked_workspace_operations - @activity_operations = @client_0.activity_operations - @module_model_operations = @client_0.module_model_operations - @object_data_types = @client_0.object_data_types - @fields = @client_0.fields - @runbook_draft_operations = @client_0.runbook_draft_operations - @runbook_operations = @client_0.runbook_operations - @test_job_streams = @client_0.test_job_streams - @test_job_operations = @client_0.test_job_operations - @schedule_operations = @client_0.schedule_operations - @variable_operations = @client_0.variable_operations - @webhook_operations = @client_0.webhook_operations @model_classes = ModelClasses.new end @@ -239,174 +239,9 @@ def method_missing(method, *args) else super end - end - - class ModelClasses - def agent_registration - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration - end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - end - def agent_registration_regenerate_key_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter - end - def key_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - end - def dsc_compilation_job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters - end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage - end - def job_stream - Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - end - def statistics - Azure::Automation::Mgmt::V2015_10_31::Models::Statistics - end - def job_stream_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - end - def runbook_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty - end - def dsc_compilation_job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult - end - def agent_registration_keys - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys - end - def key - Azure::Automation::Mgmt::V2015_10_31::Models::Key - end - def dsc_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty - end - def usage_counter_name - Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName - end - def job_create_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters - end - def usage_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - end - def job_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult - end - def statistics_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult - end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end - def variable_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters - end - def runbook_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter - end - def variable_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult - end - def content_link - Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink - end - def webhook_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters - end - def dsc_node_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult - end - def dsc_configuration_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult - end - def dsc_node_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters - end - def dsc_configuration_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters - end - def dsc_configuration_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter - end - def dsc_configuration_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters - end - def webhook_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters - end - def dsc_meta_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration - end - def webhook_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult - end - def dsc_node_configuration_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty - end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - end - def dsc_node_extension_handler_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty - end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult - end - def dsc_node_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters - end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters - end - def dsc_report_error - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError - end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - end - def dsc_report_resource_navigation - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation - end - def connection_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult - end - def dsc_report_resource - Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - end - def connection_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters - end - def dsc_node_report - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport - end - def connection_type - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType - end - def dsc_node_report_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - end - def connection_type_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - end - def hybrid_runbook_worker - Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker - end - def credential_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - end - def run_as_credential_association_property - Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty - end - def activity_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter - end - def hybrid_runbook_worker_group - Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup - end + end + + class ModelClasses def activity_output_type Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end @@ -428,9 +263,6 @@ def schedule_association_property def job_schedule_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource - end def job_schedule Azure::Automation::Mgmt::V2015_10_31::Models::JobSchedule end @@ -446,15 +278,9 @@ def content_source def linked_workspace Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku - end def module_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation - end def module_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult end @@ -524,44 +350,56 @@ def activity_parameter_set def schedule_list_result Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult end + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end def connection_type_association_property Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty end - def sub_resource - Azure::Automation::Mgmt::V2015_10_31::Models::SubResource - end - def automation_account_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult end def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end - def credential_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult + def automation_account_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult end def test_job Azure::Automation::Mgmt::V2015_10_31::Models::TestJob end - def module_error_info - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo + def credential_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult end def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def advanced_schedule_monthly_occurrence - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + def module_error_info + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo end def type_field_list_result Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + end + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource end def variable_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters end - def proxy_resource - Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + def advanced_schedule_monthly_occurrence + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence + end + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + end + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation + end + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end def webhook Azure::Automation::Mgmt::V2015_10_31::Models::Webhook @@ -569,23 +407,17 @@ def webhook def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def runbook + Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end def credential Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection - end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - end def tracked_resource Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource end - def runbook - Azure::Automation::Mgmt::V2015_10_31::Models::Runbook + def automation_account + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel @@ -593,8 +425,8 @@ def module_model def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration end - def automation_account - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount + def automation_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName end def dsc_node Azure::Automation::Mgmt::V2015_10_31::Models::DscNode @@ -602,8 +434,8 @@ def dsc_node def dsc_node_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration end - def automation_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job end def automation_key_permissions Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions @@ -632,8 +464,8 @@ def content_source_type def dsc_configuration_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState end - def dsc_configuration_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + def sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku end def sku_name_enum Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum @@ -644,11 +476,11 @@ def automation_account_state def schedule_day Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay end - def agent_registration_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end - def job_stream_type - Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + def sub_resource + Azure::Automation::Mgmt::V2015_10_31::Models::SubResource end def http_status_code Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode @@ -656,6 +488,174 @@ def http_status_code def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end + def agent_registration_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName + end + def job_stream_type + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType + end + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage + end + def usage_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult + end + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource + end + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection + end + def agent_registration + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration + end + def agent_registration_regenerate_key_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + end + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult + end + def dsc_compilation_job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters + end + def job_stream + Azure::Automation::Mgmt::V2015_10_31::Models::JobStream + end + def statistics + Azure::Automation::Mgmt::V2015_10_31::Models::Statistics + end + def job_stream_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult + end + def runbook_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookAssociationProperty + end + def dsc_compilation_job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult + end + def agent_registration_keys + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeys + end + def key + Azure::Automation::Mgmt::V2015_10_31::Models::Key + end + def dsc_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationAssociationProperty + end + def usage_counter_name + Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName + end + def job_create_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::JobCreateParameters + end + def job_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult + end + def statistics_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult + end + def variable_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters + end + def runbook_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter + end + def variable_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::VariableListResult + end + def content_link + Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink + end + def webhook_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters + end + def dsc_node_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult + end + def dsc_configuration_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + end + def dsc_node_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters + end + def dsc_configuration_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters + end + def dsc_configuration_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter + end + def dsc_configuration_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationUpdateParameters + end + def webhook_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters + end + def dsc_meta_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration + end + def webhook_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult + end + def dsc_node_configuration_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + end + def dsc_node_extension_handler_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty + end + def dsc_node_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters + end + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + end + def dsc_report_error + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError + end + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + end + def dsc_report_resource_navigation + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation + end + def connection_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult + end + def dsc_report_resource + Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource + end + def connection_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters + end + def dsc_node_report + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport + end + def connection_type + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType + end + def dsc_node_report_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult + end + def connection_type_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters + end + def hybrid_runbook_worker + Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorker + end + def credential_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters + end + def run_as_credential_association_property + Azure::Automation::Mgmt::V2015_10_31::Models::RunAsCredentialAssociationProperty + end + def activity_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter + end + def hybrid_runbook_worker_group + Azure::Automation::Mgmt::V2015_10_31::Models::HybridRunbookWorkerGroup + end end end end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 3145f68949..acae668e51 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -7,98 +7,98 @@ module Azure::Profiles::Latest module Batch module Mgmt - BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations - ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations - ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations Location = Azure::Batch::Mgmt::V2017_09_01::Location Operations = Azure::Batch::Mgmt::V2017_09_01::Operations CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations + BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations + ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations + ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations module Models - FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings - AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties - AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings - BatchAccountCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters - ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings - KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference - BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters - AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult - NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule - BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota - InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration - DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError - NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration - CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters - TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy - CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration - OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount - DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem - DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile BatchAccountKeys = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys + DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting - Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification - Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource UserIdentity = Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity - CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask - ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference VirtualMachineConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties - ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus + ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation + ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount + ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate - CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool - PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode - ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType - PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat + DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState + AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState + OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState - AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType - ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState - InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess - ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType + CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation - CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility + InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason + CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource + ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings + AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties + AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings + BatchAccountCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters + ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings + KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference + BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters + BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters + ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters + AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage + AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun + ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration + DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError + NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration end class BatchManagementClass - attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :certificate_operations, :pool_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :operations, :certificate_operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -108,12 +108,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @batch_account_operations = @client_0.batch_account_operations - @application_package_operations = @client_0.application_package_operations - @application_operations = @client_0.application_operations @location = @client_0.location @operations = @client_0.operations @certificate_operations = @client_0.certificate_operations + @batch_account_operations = @client_0.batch_account_operations + @application_package_operations = @client_0.application_package_operations + @application_operations = @client_0.application_operations @pool_operations = @client_0.pool_operations @model_classes = ModelClasses.new @@ -133,138 +133,51 @@ def method_missing(method, *args) end class ModelClasses - def fixed_scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings - end - def auto_storage_base_properties - Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties - end - def auto_scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings - end - def batch_account_create_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters - end - def scale_settings - Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings - end - def key_vault_reference - Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference - end - def batch_account_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - end - def operation_display - Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - end - def batch_account_regenerate_key_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - end - def operation_list_result - Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - end - def activate_application_package_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters - end - def auto_scale_run_error - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - end - def application_package - Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - end - def auto_scale_run - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - end - def list_applications_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult - end - def network_security_group_rule - Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule - end - def batch_location_quota - Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota - end - def inbound_nat_pool - Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - end - def proxy_resource - Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - end - def pool_endpoint_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration - end - def delete_certificate_error - Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError - end - def network_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration - end - def check_name_availability_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters - end - def task_scheduling_policy - Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy - end - def cloud_service_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration - end def linux_user_configuration Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration end - def osdisk - Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk - end def user_account Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount end - def data_disk - Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk + def osdisk + Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk end def metadata_item Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem end - def deployment_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration - end def resource_file Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile end def batch_account_keys Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys end + def deployment_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration + end def environment_setting Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting end - def application - Azure::Batch::Mgmt::V2017_09_01::Models::Application - end def auto_user_specification Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification end - def resource - Azure::Batch::Mgmt::V2017_09_01::Models::Resource - end def user_identity Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity end - def check_name_availability_result - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + def application + Azure::Batch::Mgmt::V2017_09_01::Models::Application end def start_task Azure::Batch::Mgmt::V2017_09_01::Models::StartTask end - def image_reference - Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - end - def certificate_reference - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference - end def virtual_machine_configuration Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration end def application_package_reference Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference end + def certificate_reference + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + end def application_create_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters end @@ -274,14 +187,14 @@ def resize_error def certificate_base_properties Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties end - def resize_operation_status - Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus + def image_reference + Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference end def windows_configuration Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration end - def operation - Azure::Batch::Mgmt::V2017_09_01::Models::Operation + def resize_operation_status + Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus end def application_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters @@ -292,8 +205,8 @@ def list_pools_result def batch_account_list_result Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult end - def list_certificates_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + def inbound_nat_pool + Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool end def auto_storage_properties Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties @@ -301,38 +214,50 @@ def auto_storage_properties def batch_account Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount end + def list_certificates_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + end + def pool_allocation_mode + Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode + end def certificate Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end - def certificate_create_or_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters - end def pool Azure::Batch::Mgmt::V2017_09_01::Models::Pool end - def pool_allocation_mode - Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode - end - def provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + def certificate_format + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat end - def account_key_type - Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType + def data_disk + Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk end def package_state Azure::Batch::Mgmt::V2017_09_01::Models::PackageState end - def certificate_format - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat + def allocation_state + Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState end def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end + def operation_display + Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + end + def compute_node_deallocation_option + Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + end + def operation_list_result + Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + end + def certificate_create_or_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + end def pool_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end - def allocation_state - Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState + def account_key_type + Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType @@ -340,20 +265,20 @@ def caching_type def storage_account_type Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType end - def compute_node_deallocation_option - Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption + def compute_node_fill_type + Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType end def inter_node_communication_state Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState end - def inbound_endpoint_protocol - Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + def proxy_resource + Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource end def network_security_group_rule_access Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess end - def compute_node_fill_type - Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType + def certificate_visibility + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end def elevation_level Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel @@ -361,15 +286,90 @@ def elevation_level def auto_user_scope Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope end + def operation + Azure::Batch::Mgmt::V2017_09_01::Models::Operation + end def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation end - def certificate_visibility - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility + def inbound_endpoint_protocol + Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason end + def check_name_availability_result + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::Batch::Mgmt::V2017_09_01::Models::Resource + end + def provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + end + def fixed_scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings + end + def auto_storage_base_properties + Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties + end + def auto_scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings + end + def batch_account_create_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountCreateParameters + end + def scale_settings + Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings + end + def key_vault_reference + Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference + end + def batch_account_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters + end + def batch_account_regenerate_key_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters + end + def activate_application_package_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters + end + def auto_scale_run_error + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + end + def application_package + Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage + end + def auto_scale_run + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun + end + def list_applications_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + end + def network_security_group_rule + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + end + def batch_location_quota + Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + end + def pool_endpoint_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration + end + def delete_certificate_error + Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError + end + def network_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration + end + def check_name_availability_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + end + def task_scheduling_policy + Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + end + def cloud_service_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration + end end end end diff --git a/azure_sdk/lib/latest/modules/billing_profile_module.rb b/azure_sdk/lib/latest/modules/billing_profile_module.rb index 2ec2daaeb2..0259fae8b7 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,26 +7,26 @@ module Azure::Profiles::Latest module Billing module Mgmt + Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations BillingPeriods = Azure::Billing::Mgmt::V2017_04_24_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2017_04_24_preview::Invoices - Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations module Models - Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay BillingPeriodsListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult InvoicesListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult - ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails - OperationDisplay = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay DownloadUrl = Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl - Operation = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation - ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + Resource = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + ErrorDetails = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails + Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice OperationListResult = Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult + ErrorResponse = Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse BillingPeriod = Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod - Invoice = Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice end class BillingManagementClass - attr_reader :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :billing_periods, :invoices, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -36,9 +36,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -57,8 +57,11 @@ def method_missing(method, *args) end class ModelClasses - def resource - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource + def operation + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + end + def operation_display + Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay end def billing_periods_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult @@ -66,30 +69,27 @@ def billing_periods_list_result def invoices_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult end - def error_details - Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails - end - def operation_display - Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay - end def download_url Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl end - def operation - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation + def resource + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource end - def error_response - Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + def error_details + Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails + end + def invoice + Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice end def operation_list_result Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult end + def error_response + Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse + end def billing_period Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod end - def invoice - Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice - end end end end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index 5c103f5df4..f82d91819b 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,38 +7,15 @@ module Azure::Profiles::Latest module CDN module Mgmt - Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations + Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Origins = Azure::CDN::Mgmt::V2017_10_12::Origins CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes module Models - OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku - OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult - ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult - PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters - SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters - DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin - CidrIpAddress = Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress - EndpointListResult = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult - OperationsListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult - DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction - ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters - DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule - EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters - CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters - EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult - CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult - ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput - IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup - ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput @@ -51,20 +28,14 @@ module Models UrlFileExtensionConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters ResourceUsageListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult EndpointPropertiesUpdateParametersDeliveryPolicy = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy - OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay SupportedOptimizationTypesListResult = Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile Endpoint = Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode - TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState @@ -75,10 +46,39 @@ module Models CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation + TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource + SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName + OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters + OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult + ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult + PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters + SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters + DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin + CidrIpAddress = Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress + EndpointListResult = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult + OperationsListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult + DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction + ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters + DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule + EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters + CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters + EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult + CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end class CDNManagementClass - attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :operations, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -88,12 +88,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @profiles = @client_0.profiles @endpoints = @client_0.endpoints + @operations = @client_0.operations + @profiles = @client_0.profiles @origins = @client_0.origins @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations - @operations = @client_0.operations @edge_nodes = @client_0.edge_nodes @model_classes = ModelClasses.new @@ -113,75 +113,6 @@ def method_missing(method, *args) end class ModelClasses - def origin_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - end - def sku - Azure::CDN::Mgmt::V2017_10_12::Models::Sku - end - def origin_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult - end - def profile_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult - end - def purge_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters - end - def sso_uri - Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - end - def load_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters - end - def deep_created_origin - Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin - end - def cidr_ip_address - Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress - end - def endpoint_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult - end - def operations_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult - end - def delivery_rule_action - Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction - end - def profile_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters - end - def delivery_rule - Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule - end - def endpoint_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters - end - def custom_domain_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters - end - def edgenode_result - Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult - end - def custom_domain_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult - end - def error_response - Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - end - def validate_custom_domain_input - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput - end - def ip_address_group - Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup - end - def validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - end - def resource - Azure::CDN::Mgmt::V2017_10_12::Models::Resource - end def check_name_availability_input Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput end @@ -218,15 +149,9 @@ def resource_usage_list_result def endpoint_properties_update_parameters_delivery_policy Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy end - def operation_display - Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - end def supported_optimization_types_list_result Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end def profile Azure::CDN::Mgmt::V2017_10_12::Models::Profile end @@ -245,21 +170,9 @@ def delivery_rule_cache_expiration_action def origin Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - end - def custom_domain - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain - end def edge_node Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end - def tracked_resource - Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - end - def sku_name - Azure::CDN::Mgmt::V2017_10_12::Models::SkuName - end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState end @@ -290,6 +203,93 @@ def custom_https_provisioning_substate def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def operation_display + Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + end + def error_response + Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + end + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + end + def operation + Azure::CDN::Mgmt::V2017_10_12::Models::Operation + end + def tracked_resource + Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource + end + def sku + Azure::CDN::Mgmt::V2017_10_12::Models::Sku + end + def custom_domain + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + end + def resource + Azure::CDN::Mgmt::V2017_10_12::Models::Resource + end + def sku_name + Azure::CDN::Mgmt::V2017_10_12::Models::SkuName + end + def origin_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters + end + def origin_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult + end + def profile_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult + end + def purge_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters + end + def sso_uri + Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + end + def load_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters + end + def deep_created_origin + Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin + end + def cidr_ip_address + Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress + end + def endpoint_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult + end + def operations_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::OperationsListResult + end + def delivery_rule_action + Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction + end + def profile_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters + end + def delivery_rule + Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule + end + def endpoint_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters + end + def custom_domain_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters + end + def edgenode_result + Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult + end + def custom_domain_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + end + def validate_custom_domain_input + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + end + def ip_address_group + Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + end + def validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + end end end end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index e704a6a300..0ca9f9cf2d 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,15 +7,14 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt - Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations + Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability module Models CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters - Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys @@ -28,16 +27,17 @@ module Models CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList + KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState - KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end class CognitiveServicesManagementClass - attr_reader :accounts, :operations, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :accounts, :check_sku_availability, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -47,8 +47,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts @operations = @client_0.operations + @accounts = @client_0.accounts @check_sku_availability = @client_0.check_sku_availability @model_classes = ModelClasses.new @@ -77,9 +77,6 @@ def error_body def cognitive_services_account_create_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error - end def cognitive_services_account Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount end @@ -116,6 +113,9 @@ def cognitive_services_account_list_result def check_sku_availability_result_list Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList end + def key_name + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName + end def sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end @@ -125,15 +125,15 @@ def sku_name def sku_tier Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier end + def error + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + end def kind Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind end def provisioning_state Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState end - def key_name - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName - end end end end diff --git a/azure_sdk/lib/latest/modules/commerce_profile_module.rb b/azure_sdk/lib/latest/modules/commerce_profile_module.rb index 55cb470975..d0a33f4a88 100644 --- a/azure_sdk/lib/latest/modules/commerce_profile_module.rb +++ b/azure_sdk/lib/latest/modules/commerce_profile_module.rb @@ -18,11 +18,11 @@ module Models UsageAggregationListResult = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult OfferTermInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters - ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit - MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity + MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment end class CommerceManagementClass @@ -77,14 +77,11 @@ def offer_term_info def rate_card_query_parameters Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters end - def error_response - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse - end def monetary_credit Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit end - def monetary_commitment - Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + def error_response + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse end def recurring_charge Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge @@ -92,6 +89,9 @@ def recurring_charge def aggregation_granularity Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity end + def monetary_commitment + Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment + end end end end diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index be64c5e0c4..63f397f731 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -10,26 +10,23 @@ module Mgmt Disks = Azure::Compute::Mgmt::V2018_04_01::Disks Snapshots = Azure::Compute::Mgmt::V2018_04_01::Snapshots ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus - Operations = Azure::Compute::Mgmt::V2017_12_01::Operations - AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2017_12_01::VirtualMachines + Operations = Azure::Compute::Mgmt::V2017_12_01::Operations VirtualMachineImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2017_12_01::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineSizes - Images = Azure::Compute::Mgmt::V2017_12_01::Images VirtualMachineScaleSets = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSets + UsageOperations = Azure::Compute::Mgmt::V2017_12_01::UsageOperations + VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetVMs + Images = Azure::Compute::Mgmt::V2017_12_01::Images VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetExtensions VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetRollingUpgrades - VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineScaleSetVMs LogAnalytics = Azure::Compute::Mgmt::V2017_12_01::LogAnalytics VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineRunCommands + AvailabilitySets = Azure::Compute::Mgmt::V2017_12_01::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_12_01::VirtualMachineExtensions module Models - EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku - DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate CreationData = Azure::Compute::Mgmt::V2018_04_01::Models::CreationData DiskList = Azure::Compute::Mgmt::V2018_04_01::Models::DiskList KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_04_01::Models::KeyVaultAndSecretReference @@ -46,185 +43,188 @@ module Models DiskCreateOption = Azure::Compute::Mgmt::V2018_04_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_04_01::Models::SnapshotStorageAccountTypes AccessLevel = Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel + EncryptionSettings = Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + DiskSku = Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + DiskUpdate = Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + StorageAccountTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes + Sku = Azure::Compute::Mgmt::V2017_12_01::Models::Sku + SubResource = Azure::Compute::Mgmt::V2017_12_01::Models::SubResource + UsageName = Azure::Compute::Mgmt::V2017_12_01::Models::UsageName + Usage = Azure::Compute::Mgmt::V2017_12_01::Models::Usage ComputeOperationValue = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile - InstanceViewStatus = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters - Sku = Azure::Compute::Mgmt::V2017_12_01::Models::Sku - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk - VirtualMachineListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::AutoOSUpgradePolicy - VirtualMachineSize = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize RollingUpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradePolicy - UpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy - VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView ImageOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::ImageOSDisk RunCommandParameterDefinition = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandParameterDefinition ImageDataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::ImageDataDisk - PurchasePlan = Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan ImageStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::ImageStorageProfile - DataDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage - UpdateResource = Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource - UsageName = Azure::Compute::Mgmt::V2017_12_01::Models::UsageName - Resource = Azure::Compute::Mgmt::V2017_12_01::Models::Resource - ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult ImageListResult = Azure::Compute::Mgmt::V2017_12_01::Models::ImageListResult RunCommandInputParameter = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInputParameter - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity - HardwareProfile = Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile ComputeOperationListResult = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationListResult - KeyVaultSecretReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference - SubResource = Azure::Compute::Mgmt::V2017_12_01::Models::SubResource - DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings - VirtualHardDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo - OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk - ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties - StorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk - WinRMListener = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk - WindowsConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile - SshConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + InstanceViewStatus = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile + VaultSecretGroup = Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + VirtualMachineSize = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize VaultCertificate = Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate - ApiEntityReference = Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference OSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile - VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile - VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - DiagnosticsProfile = Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile - VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView - RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus - BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView - VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult - MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus - VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings - RecoveryWalkResponse = Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse - VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView - AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus RunCommandListResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult - VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile RunCommandInput = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult LogAnalyticsOutput = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput - VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile LogAnalyticsInputBase = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase - VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile - AdditionalUnattendContent = Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile - SshPublicKey = Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey + DiskInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo - VaultSecretGroup = Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties BootDiagnostics = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics + DiagnosticsProfile = Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile + VirtualMachineInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView + NetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile + RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus + VirtualMachineListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult + StorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile + WinRMListener = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener + UpgradePolicy = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy + WindowsConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity + SshConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile + AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk + ListUsagesResult = Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult + ApiEntityReference = Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference + ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties + VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters + RecoveryWalkResponse = Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse + DiskEncryptionSettings = Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings + VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile + VirtualHardDisk = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk + PurchasePlan = Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan + AdditionalUnattendContent = Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent + VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile + SshPublicKey = Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey + VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile + VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + OSDisk = Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk + BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs - DiskInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + Plan = Azure::Compute::Mgmt::V2017_12_01::Models::Plan VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs - VirtualMachineInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount - VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - OSDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMExtensionsSummary - Plan = Azure::Compute::Mgmt::V2017_12_01::Models::Plan + HardwareProfile = Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceView - DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk - VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + KeyVaultSecretReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference + UpdateResource = Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource + VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView LinuxConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + DataDisk = Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity - SubResourceReadOnly = Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly + OSDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage + RollbackStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo + UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus + DataDiskImage = Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage + VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + VirtualMachineExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku - Usage = Azure::Compute::Mgmt::V2017_12_01::Models::Usage - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult WinRMConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration - ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + SubResourceReadOnly = Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly VirtualMachineIdentity = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity - InnerError = Azure::Compute::Mgmt::V2017_12_01::Models::InnerError - KeyVaultKeyReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference - ApiError = Azure::Compute::Mgmt::V2017_12_01::Models::ApiError - RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase - RollbackStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo - OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse - UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus - AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + VirtualMachine = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult AvailabilitySetUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate - VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage + AvailabilitySet = Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + ApiErrorBase = Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase VirtualMachineImageResource = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource - VirtualMachineExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension + KeyVaultKeyReference = Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate - VirtualMachineImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage + ApiError = Azure::Compute::Mgmt::V2017_12_01::Models::ApiError VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureResult - ImageReference = Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference - ManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters NetworkInterfaceReference = Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference - VirtualMachine = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + InnerError = Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + ImageReference = Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference + VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension + VirtualMachineImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage VirtualMachineUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate Image = Azure::Compute::Mgmt::V2017_12_01::Models::Image ImageUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::ImageUpdate - VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration - VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration - VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension - VirtualMachineScaleSet = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate + VirtualMachineScaleSet = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM + RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult + RunCommandDocument = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument + VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration + ManagedDiskParameters = Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + PassNames = Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + ComponentNames = Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + SettingNames = Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + OperatingSystemTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusInfo RequestRateByIntervalInput = Azure::Compute::Mgmt::V2017_12_01::Models::RequestRateByIntervalInput ThrottledRequestsInput = Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput - LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult - RunCommandDocument = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument RunCommandResult = Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult StatusLevelTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes - OperatingSystemTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes - VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + UpgradeMode = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode + IPVersion = Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion CachingTypes = Azure::Compute::Mgmt::V2017_12_01::Models::CachingTypes DiskCreateOptionTypes = Azure::Compute::Mgmt::V2017_12_01::Models::DiskCreateOptionTypes - StorageAccountTypes = Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes - PassNames = Azure::Compute::Mgmt::V2017_12_01::Models::PassNames - ComponentNames = Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames - SettingNames = Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + UpgradeState = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState + UpgradeOperationInvoker = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker + RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode ProtocolTypes = Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes ResourceIdentityType = Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType + VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType + InstanceViewTypes = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceOperationResultCodeTypes - UpgradeMode = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode OperatingSystemStateTypes = Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemStateTypes - IPVersion = Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachinePriorityTypes VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineEvictionPolicyTypes - VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType - UpgradeState = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState - UpgradeOperationInvoker = Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker - RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode RollingUpgradeActionType = Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType IntervalInMins = Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins - InstanceViewTypes = Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes end class ComputeManagementClass - attr_reader :disks, :snapshots, :resource_skus, :operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :virtual_machine_run_commands, :configurable, :base_url, :options, :model_classes + attr_reader :disks, :snapshots, :resource_skus, :virtual_machines, :operations, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :usage_operations, :virtual_machine_scale_set_vms, :images, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :log_analytics, :virtual_machine_run_commands, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -249,21 +249,21 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) - @operations = @client_2.operations - @availability_sets = @client_2.availability_sets - @virtual_machine_extension_images = @client_2.virtual_machine_extension_images - @virtual_machine_extensions = @client_2.virtual_machine_extensions @virtual_machines = @client_2.virtual_machines + @operations = @client_2.operations @virtual_machine_images = @client_2.virtual_machine_images - @usage_operations = @client_2.usage_operations @virtual_machine_sizes = @client_2.virtual_machine_sizes - @images = @client_2.images @virtual_machine_scale_sets = @client_2.virtual_machine_scale_sets + @usage_operations = @client_2.usage_operations + @virtual_machine_scale_set_vms = @client_2.virtual_machine_scale_set_vms + @images = @client_2.images @virtual_machine_scale_set_extensions = @client_2.virtual_machine_scale_set_extensions @virtual_machine_scale_set_rolling_upgrades = @client_2.virtual_machine_scale_set_rolling_upgrades - @virtual_machine_scale_set_vms = @client_2.virtual_machine_scale_set_vms @log_analytics = @client_2.log_analytics @virtual_machine_run_commands = @client_2.virtual_machine_run_commands + @availability_sets = @client_2.availability_sets + @virtual_machine_extension_images = @client_2.virtual_machine_extension_images + @virtual_machine_extensions = @client_2.virtual_machine_extensions @model_classes = ModelClasses.new end @@ -286,15 +286,6 @@ def method_missing(method, *args) end class ModelClasses - def encryption_settings - Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings - end - def disk_sku - Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku - end - def disk_update - Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate - end def creation_data Azure::Compute::Mgmt::V2018_04_01::Models::CreationData end @@ -343,6 +334,15 @@ def snapshot_storage_account_types def access_level Azure::Compute::Mgmt::V2018_04_01::Models::AccessLevel end + def encryption_settings + Azure::Compute::Mgmt::V2018_04_01::Models::EncryptionSettings + end + def disk_sku + Azure::Compute::Mgmt::V2018_04_01::Models::DiskSku + end + def disk_update + Azure::Compute::Mgmt::V2018_04_01::Models::DiskUpdate + end def resource_sku_restrictions Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions end @@ -355,9 +355,6 @@ def resource_sku_location_info def resource_sku_capabilities Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - end def resource_sku_costs Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end @@ -376,45 +373,42 @@ def resource_sku_restrictions_type def resource_sku_restrictions_reason_code Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile - end - def compute_operation_value - Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + end + def storage_account_types + Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes + end + def sku + Azure::Compute::Mgmt::V2017_12_01::Models::Sku + end + def sub_resource + Azure::Compute::Mgmt::V2017_12_01::Models::SubResource + end + def usage_name + Azure::Compute::Mgmt::V2017_12_01::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2017_12_01::Models::Usage + end + def compute_operation_value + Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationValue end def virtual_machine_scale_set_update_osprofile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSProfile end - def instance_view_status - Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus + def resource + Azure::Compute::Mgmt::V2017_12_01::Models::Resource end def virtual_machine_scale_set_managed_disk_parameters Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetManagedDiskParameters end - def sku - Azure::Compute::Mgmt::V2017_12_01::Models::Sku - end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk - end - def virtual_machine_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult - end def auto_osupgrade_policy Azure::Compute::Mgmt::V2017_12_01::Models::AutoOSUpgradePolicy end - def virtual_machine_size - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize - end def rolling_upgrade_policy Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradePolicy end - def upgrade_policy - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy - end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView - end def image_osdisk Azure::Compute::Mgmt::V2017_12_01::Models::ImageOSDisk end @@ -424,236 +418,233 @@ def run_command_parameter_definition def image_data_disk Azure::Compute::Mgmt::V2017_12_01::Models::ImageDataDisk end - def purchase_plan - Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan - end def image_storage_profile Azure::Compute::Mgmt::V2017_12_01::Models::ImageStorageProfile end - def data_disk_image - Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage - end - def update_resource - Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource - end - def usage_name - Azure::Compute::Mgmt::V2017_12_01::Models::UsageName - end - def resource - Azure::Compute::Mgmt::V2017_12_01::Models::Resource - end - def list_usages_result - Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult - end def image_list_result Azure::Compute::Mgmt::V2017_12_01::Models::ImageListResult end def run_command_input_parameter Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInputParameter end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity - end - def hardware_profile - Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile - end def compute_operation_list_result Azure::Compute::Mgmt::V2017_12_01::Models::ComputeOperationListResult end - def key_vault_secret_reference - Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference - end - def sub_resource - Azure::Compute::Mgmt::V2017_12_01::Models::SubResource - end - def disk_encryption_settings - Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings - end - def virtual_hard_disk - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk - end def rolling_upgrade_progress_info Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeProgressInfo end - def osdisk - Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk - end - def compute_long_running_operation_properties - Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties - end - def storage_profile - Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile - end def virtual_machine_scale_set_update_osdisk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk end - def win_rmlistener - Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener - end def virtual_machine_scale_set_data_disk Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetDataDisk end - def windows_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile + def instance_view_status + Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewStatus end - def ssh_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings end def virtual_machine_scale_set_update_storage_profile Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateStorageProfile end + def vault_secret_group + Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + end + def virtual_machine_size + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSize + end def vault_certificate Azure::Compute::Mgmt::V2017_12_01::Models::VaultCertificate end - def api_entity_reference - Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference - end def osprofile Azure::Compute::Mgmt::V2017_12_01::Models::OSProfile end - def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings + def virtual_machine_health_status + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus end - def network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile + def run_command_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult end - def virtual_machine_scale_set_public_ipaddress_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + def virtual_machine_scale_set_update_network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + end + def run_command_input + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput + end + def virtual_machine_scale_set_list_osupgrade_history + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + end + def virtual_machine_scale_set_extension_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult + end + def log_analytics_output + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput + end + def log_analytics_input_base + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase + end + def virtual_machine_scale_set_update_vmprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile + end + def disk_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + end + def upgrade_operation_historical_status_info + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo + end + def upgrade_operation_historical_status_info_properties + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties + end + def boot_diagnostics + Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics end def diagnostics_profile Azure::Compute::Mgmt::V2017_12_01::Models::DiagnosticsProfile end - def virtual_machine_scale_set_update_public_ipaddress_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + def virtual_machine_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView end - def virtual_machine_agent_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionInstanceView + end + def network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::NetworkProfile end def rolling_upgrade_running_status Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeRunningStatus end - def boot_diagnostics_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView + def virtual_machine_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineListResult end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult + def storage_profile + Azure::Compute::Mgmt::V2017_12_01::Models::StorageProfile end - def maintenance_redeploy_status - Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + def win_rmlistener + Azure::Compute::Mgmt::V2017_12_01::Models::WinRMListener end - def virtual_machine_scale_set_network_configuration_dns_settings - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings + def upgrade_policy + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradePolicy end - def recovery_walk_response - Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse + def windows_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::WindowsConfiguration end - def virtual_machine_scale_set_vminstance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIdentity + end + def ssh_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::SshConfiguration + end + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSProfile end def availability_set_list_result Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetListResult end - def virtual_machine_health_status - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineHealthStatus + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetOSDisk end - def run_command_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandListResult + def list_usages_result + Azure::Compute::Mgmt::V2017_12_01::Models::ListUsagesResult end - def virtual_machine_scale_set_network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetStorageProfile end def virtual_machine_extensions_list_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionsListResult end - def virtual_machine_scale_set_update_network_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + def api_entity_reference + Azure::Compute::Mgmt::V2017_12_01::Models::ApiEntityReference end - def run_command_input - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandInput + def compute_long_running_operation_properties + Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties end - def virtual_machine_scale_set_list_osupgrade_history - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + def virtual_machine_scale_set_vminstance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceView end def virtual_machine_capture_parameters Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureParameters end - def virtual_machine_scale_set_extension_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionListResult + def recovery_walk_response + Azure::Compute::Mgmt::V2017_12_01::Models::RecoveryWalkResponse end - def log_analytics_output - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOutput + def disk_encryption_settings + Azure::Compute::Mgmt::V2017_12_01::Models::DiskEncryptionSettings end - def virtual_machine_scale_set_extension_profile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile + def virtual_machine_scale_set_network_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkProfile end - def log_analytics_input_base - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsInputBase + def virtual_hard_disk + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualHardDisk end - def virtual_machine_scale_set_vmprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile + def purchase_plan + Azure::Compute::Mgmt::V2017_12_01::Models::PurchasePlan end def additional_unattend_content Azure::Compute::Mgmt::V2017_12_01::Models::AdditionalUnattendContent end - def virtual_machine_scale_set_update_vmprofile - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateVMProfile + def virtual_machine_scale_set_extension_profile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtensionProfile end def ssh_public_key Azure::Compute::Mgmt::V2017_12_01::Models::SshPublicKey end - def upgrade_operation_historical_status_info - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfo + def virtual_machine_scale_set_vmprofile + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMProfile end - def vault_secret_group - Azure::Compute::Mgmt::V2017_12_01::Models::VaultSecretGroup + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult end - def upgrade_operation_historical_status_info_properties - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoricalStatusInfoProperties + def osdisk + Azure::Compute::Mgmt::V2017_12_01::Models::OSDisk end - def boot_diagnostics - Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnostics + def boot_diagnostics_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::BootDiagnosticsInstanceView end def virtual_machine_scale_set_vminstance_ids Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceIDs end - def disk_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::DiskInstanceView + def plan + Azure::Compute::Mgmt::V2017_12_01::Models::Plan end def virtual_machine_scale_set_vminstance_required_ids Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end - def virtual_machine_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineInstanceView + def virtual_machine_scale_set_update_public_ipaddress_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end def virtual_machine_status_code_count Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineStatusCodeCount end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeListResult + def maintenance_redeploy_status + Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceRedeployStatus + end + def virtual_machine_scale_set_network_configuration_dns_settings + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings end def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def osdisk_image - Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMExtensionsSummary end - def plan - Azure::Compute::Mgmt::V2017_12_01::Models::Plan + def hardware_profile + Azure::Compute::Mgmt::V2017_12_01::Models::HardwareProfile end def virtual_machine_scale_set_instance_view Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetInstanceView end - def data_disk - Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk + def key_vault_secret_reference + Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultSecretReference end - def virtual_machine_scale_set_list_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + def update_resource + Azure::Compute::Mgmt::V2017_12_01::Models::UpdateResource + end + def virtual_machine_scale_set_public_ipaddress_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + end + def virtual_machine_agent_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineAgentInstanceView end def linux_configuration Azure::Compute::Mgmt::V2017_12_01::Models::LinuxConfiguration @@ -661,89 +652,98 @@ def linux_configuration def virtual_machine_scale_set_list_with_link_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListWithLinkResult end - def virtual_machine_extension_handler_instance_view - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView + def virtual_machine_scale_set_list_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListResult + end + def data_disk + Azure::Compute::Mgmt::V2017_12_01::Models::DataDisk end def virtual_machine_scale_set_sku_capacity Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuCapacity end - def sub_resource_read_only - Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly - end - def virtual_machine_scale_set_sku - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku + def osdisk_image + Azure::Compute::Mgmt::V2017_12_01::Models::OSDiskImage end - def usage - Azure::Compute::Mgmt::V2017_12_01::Models::Usage + def rollback_status_info + Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult + def upgrade_operation_history_status + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus end - def win_rmconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration + def data_disk_image + Azure::Compute::Mgmt::V2017_12_01::Models::DataDiskImage end - def api_error_base - Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVMListResult end - def virtual_machine_identity - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity + def virtual_machine_extension_handler_instance_view + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionHandlerInstanceView end - def inner_error - Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + def operation_status_response + Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end - def key_vault_key_reference - Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference + def virtual_machine_extension + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension end - def api_error - Azure::Compute::Mgmt::V2017_12_01::Models::ApiError + def virtual_machine_scale_set_sku + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSku end - def run_command_document_base - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + def win_rmconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::WinRMConfiguration end - def rollback_status_info - Azure::Compute::Mgmt::V2017_12_01::Models::RollbackStatusInfo + def sub_resource_read_only + Azure::Compute::Mgmt::V2017_12_01::Models::SubResourceReadOnly end - def operation_status_response - Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse + def virtual_machine_identity + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineIdentity end - def upgrade_operation_history_status - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationHistoryStatus + def virtual_machine + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine end - def availability_set - Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetListSkusResult end def availability_set_update Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySetUpdate end - def virtual_machine_extension_image - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage + def availability_set + Azure::Compute::Mgmt::V2017_12_01::Models::AvailabilitySet + end + def api_error_base + Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase end def virtual_machine_image_resource Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImageResource end - def virtual_machine_extension - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtension + def key_vault_key_reference + Azure::Compute::Mgmt::V2017_12_01::Models::KeyVaultKeyReference end def virtual_machine_extension_update Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionUpdate end - def virtual_machine_image - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage + def api_error + Azure::Compute::Mgmt::V2017_12_01::Models::ApiError end def virtual_machine_capture_result Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineCaptureResult end + def network_interface_reference + Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference + end + def inner_error + Azure::Compute::Mgmt::V2017_12_01::Models::InnerError + end def image_reference Azure::Compute::Mgmt::V2017_12_01::Models::ImageReference end - def managed_disk_parameters - Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + def virtual_machine_scale_set_network_configuration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration end - def network_interface_reference - Azure::Compute::Mgmt::V2017_12_01::Models::NetworkInterfaceReference + def virtual_machine_scale_set_extension + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension end - def virtual_machine - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachine + def virtual_machine_image + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineImage end def virtual_machine_update Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineUpdate @@ -754,30 +754,54 @@ def image def image_update Azure::Compute::Mgmt::V2017_12_01::Models::ImageUpdate end - def virtual_machine_scale_set_ipconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration - end - def virtual_machine_scale_set_update_ipconfiguration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration - end - def virtual_machine_scale_set_network_configuration - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetNetworkConfiguration + def virtual_machine_extension_image + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineExtensionImage end def virtual_machine_scale_set_update_network_configuration Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration end - def virtual_machine_scale_set_extension - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetExtension + def virtual_machine_scale_set_update + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate end def virtual_machine_scale_set Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSet end - def virtual_machine_scale_set_update - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdate - end def virtual_machine_scale_set_vm Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetVM end + def run_command_document_base + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocumentBase + end + def log_analytics_operation_result + Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult + end + def run_command_document + Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument + end + def virtual_machine_scale_set_ipconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetIPConfiguration + end + def managed_disk_parameters + Azure::Compute::Mgmt::V2017_12_01::Models::ManagedDiskParameters + end + def pass_names + Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + end + def component_names + Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + end + def setting_names + Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + end + def virtual_machine_scale_set_update_ipconfiguration + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + end + def operating_system_types + Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + end + def virtual_machine_size_types + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + end def rolling_upgrade_status_info Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusInfo end @@ -787,23 +811,17 @@ def request_rate_by_interval_input def throttled_requests_input Azure::Compute::Mgmt::V2017_12_01::Models::ThrottledRequestsInput end - def log_analytics_operation_result - Azure::Compute::Mgmt::V2017_12_01::Models::LogAnalyticsOperationResult - end - def run_command_document - Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandDocument - end def run_command_result Azure::Compute::Mgmt::V2017_12_01::Models::RunCommandResult end def status_level_types Azure::Compute::Mgmt::V2017_12_01::Models::StatusLevelTypes end - def operating_system_types - Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemTypes + def upgrade_mode + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode end - def virtual_machine_size_types - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineSizeTypes + def ipversion + Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion end def caching_types Azure::Compute::Mgmt::V2017_12_01::Models::CachingTypes @@ -811,17 +829,14 @@ def caching_types def disk_create_option_types Azure::Compute::Mgmt::V2017_12_01::Models::DiskCreateOptionTypes end - def storage_account_types - Azure::Compute::Mgmt::V2017_12_01::Models::StorageAccountTypes - end - def pass_names - Azure::Compute::Mgmt::V2017_12_01::Models::PassNames + def upgrade_state + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState end - def component_names - Azure::Compute::Mgmt::V2017_12_01::Models::ComponentNames + def upgrade_operation_invoker + Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker end - def setting_names - Azure::Compute::Mgmt::V2017_12_01::Models::SettingNames + def rolling_upgrade_status_code + Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode end def protocol_types Azure::Compute::Mgmt::V2017_12_01::Models::ProtocolTypes @@ -829,45 +844,30 @@ def protocol_types def resource_identity_type Azure::Compute::Mgmt::V2017_12_01::Models::ResourceIdentityType end + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType + end + def instance_view_types + Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes + end def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2017_12_01::Models::MaintenanceOperationResultCodeTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeMode - end def operating_system_state_types Azure::Compute::Mgmt::V2017_12_01::Models::OperatingSystemStateTypes end - def ipversion - Azure::Compute::Mgmt::V2017_12_01::Models::IPVersion - end def virtual_machine_priority_types Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachinePriorityTypes end def virtual_machine_eviction_policy_types Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineEvictionPolicyTypes end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetSkuScaleType - end - def upgrade_state - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeState - end - def upgrade_operation_invoker - Azure::Compute::Mgmt::V2017_12_01::Models::UpgradeOperationInvoker - end - def rolling_upgrade_status_code - Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeStatusCode - end def rolling_upgrade_action_type Azure::Compute::Mgmt::V2017_12_01::Models::RollingUpgradeActionType end def interval_in_mins Azure::Compute::Mgmt::V2017_12_01::Models::IntervalInMins end - def instance_view_types - Azure::Compute::Mgmt::V2017_12_01::Models::InstanceViewTypes - end end end end diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index 003cc18c87..fa42607808 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,6 +8,14 @@ module Azure::Profiles::Latest module ComputerVision module Models + ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails + TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes + VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes + OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages + AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions + Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details FaceDescription = Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription ImageAnalysis = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageAnalysis Line = Azure::CognitiveServices::ComputerVision::V1_0::Models::Line @@ -38,14 +46,6 @@ module Models ComputerVisionError = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionError CategoryDetail = Azure::CognitiveServices::ComputerVision::V1_0::Models::CategoryDetail ImageUrl = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl - ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes - Gender = Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender - ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes - VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes - OcrLanguages = Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages - AzureRegions = Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions - Details = Azure::CognitiveServices::ComputerVision::V1_0::Models::Details end class ComputerVisionDataClass @@ -77,6 +77,30 @@ def method_missing(method, *args) end class ModelClasses + def image_description_details + Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails + end + def text_operation_status_codes + Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes + end + def gender + Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender + end + def computer_vision_error_codes + Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes + end + def visual_feature_types + Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes + end + def ocr_languages + Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages + end + def azure_regions + Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions + end + def details + Azure::CognitiveServices::ComputerVision::V1_0::Models::Details + end def face_description Azure::CognitiveServices::ComputerVision::V1_0::Models::FaceDescription end @@ -167,30 +191,6 @@ def category_detail def image_url Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageUrl end - def image_description_details - Azure::CognitiveServices::ComputerVision::V1_0::Models::ImageDescriptionDetails - end - def text_operation_status_codes - Azure::CognitiveServices::ComputerVision::V1_0::Models::TextOperationStatusCodes - end - def gender - Azure::CognitiveServices::ComputerVision::V1_0::Models::Gender - end - def computer_vision_error_codes - Azure::CognitiveServices::ComputerVision::V1_0::Models::ComputerVisionErrorCodes - end - def visual_feature_types - Azure::CognitiveServices::ComputerVision::V1_0::Models::VisualFeatureTypes - end - def ocr_languages - Azure::CognitiveServices::ComputerVision::V1_0::Models::OcrLanguages - end - def azure_regions - Azure::CognitiveServices::ComputerVision::V1_0::Models::AzureRegions - end - def details - Azure::CognitiveServices::ComputerVision::V1_0::Models::Details - end end end end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index f7954709f3..fb4bd5a9de 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,47 +7,47 @@ module Azure::Profiles::Latest module Consumption module Mgmt + Operations = Azure::Consumption::Mgmt::V2018_01_31::Operations UsageDetails = Azure::Consumption::Mgmt::V2018_01_31::UsageDetails Marketplaces = Azure::Consumption::Mgmt::V2018_01_31::Marketplaces ReservationsSummaries = Azure::Consumption::Mgmt::V2018_01_31::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_01_31::ReservationsDetails Budgets = Azure::Consumption::Mgmt::V2018_01_31::Budgets - Operations = Azure::Consumption::Mgmt::V2018_01_31::Operations PriceSheet = Azure::Consumption::Mgmt::V2018_01_31::PriceSheet module Models - Notification = Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + Resource = Azure::Consumption::Mgmt::V2018_01_31::Models::Resource MeterDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails Filters = Azure::Consumption::Mgmt::V2018_01_31::Models::Filters UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetailsListResult CurrentSpend = Azure::Consumption::Mgmt::V2018_01_31::Models::CurrentSpend MarketplacesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult - OperationListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetailsListResult BudgetsListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult + OperationListResult = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult PriceSheetProperties = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties - ErrorDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails - Resource = Azure::Consumption::Mgmt::V2018_01_31::Models::Resource - ErrorResponse = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse - ProxyResource = Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource - OperationDisplay = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay BudgetTimePeriod = Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod - Operation = Azure::Consumption::Mgmt::V2018_01_31::Models::Operation UsageDetail = Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail - Marketplace = Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace + OperationDisplay = Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay ReservationSummaries = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries - ReservationDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + Marketplace = Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace Budget = Azure::Consumption::Mgmt::V2018_01_31::Models::Budget + ErrorResponse = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse + ProxyResource = Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource PriceSheetResult = Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult + ReservationDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + Notification = Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + Operation = Azure::Consumption::Mgmt::V2018_01_31::Models::Operation CategoryType = Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType TimeGrainType = Azure::Consumption::Mgmt::V2018_01_31::Models::TimeGrainType OperatorType = Azure::Consumption::Mgmt::V2018_01_31::Models::OperatorType Datagrain = Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain + ErrorDetails = Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails end class ConsumptionManagementClass - attr_reader :usage_details, :marketplaces, :reservations_summaries, :reservations_details, :budgets, :operations, :price_sheet, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usage_details, :marketplaces, :reservations_summaries, :reservations_details, :budgets, :price_sheet, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -57,12 +57,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @usage_details = @client_0.usage_details @marketplaces = @client_0.marketplaces @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @budgets = @client_0.budgets - @operations = @client_0.operations @price_sheet = @client_0.price_sheet @model_classes = ModelClasses.new @@ -82,8 +82,8 @@ def method_missing(method, *args) end class ModelClasses - def notification - Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + def resource + Azure::Consumption::Mgmt::V2018_01_31::Models::Resource end def meter_details Azure::Consumption::Mgmt::V2018_01_31::Models::MeterDetails @@ -100,9 +100,6 @@ def current_spend def marketplaces_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::MarketplacesListResult end - def operation_list_result - Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult - end def reservation_summaries_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummariesListResult end @@ -112,48 +109,48 @@ def reservation_details_list_result def budgets_list_result Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetsListResult end + def operation_list_result + Azure::Consumption::Mgmt::V2018_01_31::Models::OperationListResult + end def price_sheet_properties Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetProperties end - def error_details - Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails - end - def resource - Azure::Consumption::Mgmt::V2018_01_31::Models::Resource - end - def error_response - Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse - end - def proxy_resource - Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource - end - def operation_display - Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay - end def budget_time_period Azure::Consumption::Mgmt::V2018_01_31::Models::BudgetTimePeriod end - def operation - Azure::Consumption::Mgmt::V2018_01_31::Models::Operation - end def usage_detail Azure::Consumption::Mgmt::V2018_01_31::Models::UsageDetail end - def marketplace - Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace + def operation_display + Azure::Consumption::Mgmt::V2018_01_31::Models::OperationDisplay end def reservation_summaries Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationSummaries end - def reservation_details - Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + def marketplace + Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace end def budget Azure::Consumption::Mgmt::V2018_01_31::Models::Budget end + def error_response + Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorResponse + end + def proxy_resource + Azure::Consumption::Mgmt::V2018_01_31::Models::ProxyResource + end def price_sheet_result Azure::Consumption::Mgmt::V2018_01_31::Models::PriceSheetResult end + def reservation_details + Azure::Consumption::Mgmt::V2018_01_31::Models::ReservationDetails + end + def notification + Azure::Consumption::Mgmt::V2018_01_31::Models::Notification + end + def operation + Azure::Consumption::Mgmt::V2018_01_31::Models::Operation + end def category_type Azure::Consumption::Mgmt::V2018_01_31::Models::CategoryType end @@ -166,6 +163,9 @@ def operator_type def datagrain Azure::Consumption::Mgmt::V2018_01_31::Models::Datagrain end + def error_details + Azure::Consumption::Mgmt::V2018_01_31::Models::ErrorDetails + end end end end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index 723d9c5178..a9f74f47e1 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -7,52 +7,52 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt - ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups Operations = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Operations + ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroups ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerGroupUsage ContainerLogs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::ContainerLogs StartContainer = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::StartContainer module Models + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup + ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol + Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol + ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy + ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes + UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName + Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage + UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource + OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay + OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult IpAddress = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress ContainerPort = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPort ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupPropertiesInstanceView ContainerState = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState - Event = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests - OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements - Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation Container = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container - OperationListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume - UsageName = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential - Usage = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - UsageListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + Operation = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult - AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable Logs = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs Port = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port - ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize - VolumeMount = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount - ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest - ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView - ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse - Volume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume - Resource = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource - ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup - ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol - ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy - ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol - OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes - ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :container_groups, :container_group_usage, :container_logs, :start_container, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -62,8 +62,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @container_groups = @client_0.container_groups @operations = @client_0.operations + @container_groups = @client_0.container_groups @container_group_usage = @client_0.container_group_usage @container_logs = @client_0.container_logs @start_container = @client_0.start_container @@ -85,6 +85,63 @@ def method_missing(method, *args) end class ModelClasses + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize + end + def volume_mount + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount + end + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest + end + def container_properties_instance_view + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse + end + def volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume + end + def container_group + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup + end + def container_network_protocol + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol + end + def event + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event + end + def container_group_network_protocol + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol + end + def container_group_restart_policy + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy + end + def container_instance_operations_origin + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + end + def operating_system_types + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes + end + def usage_name + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName + end + def usage + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage + end + def usage_list_result + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + end + def resource + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource + end + def operation_display + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult + end def ip_address Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::IpAddress end @@ -97,44 +154,23 @@ def container_group_properties_instance_view def container_state Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerState end - def event - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Event - end def resource_requests Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequests end - def operation_display - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationDisplay - end def resource_requirements Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceRequirements end - def operation - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation - end def container Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Container end - def operation_list_result - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperationListResult - end def git_repo_volume Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::GitRepoVolume end - def usage_name - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageName - end def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ImageRegistryCredential end - def usage - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Usage - end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable - end - def usage_list_result - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::UsageListResult + def operation + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Operation end def resource_limits Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ResourceLimits @@ -142,8 +178,8 @@ def resource_limits def container_group_list_result Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupListResult end - def azure_file_volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::EnvironmentVariable end def logs Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Logs @@ -151,44 +187,8 @@ def logs def port Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Port end - def container_exec_request_terminal_size - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequestTerminalSize - end - def volume_mount - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::VolumeMount - end - def container_exec_request - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest - end - def container_properties_instance_view - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerPropertiesInstanceView - end - def container_exec_response - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecResponse - end - def volume - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Volume - end - def resource - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource - end - def container_group - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup - end - def container_network_protocol - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerNetworkProtocol - end - def container_group_restart_policy - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupRestartPolicy - end - def container_group_network_protocol - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroupNetworkProtocol - end - def operating_system_types - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::OperatingSystemTypes - end - def container_instance_operations_origin - Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerInstanceOperationsOrigin + def azure_file_volume + Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::AzureFileVolume end end end diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 2432fa2b71..d0886f8cd4 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,61 +7,61 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt - Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations + Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks module Models + Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus - Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry - Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName - RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit - WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus - WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end class ContainerRegistryManagementClass - attr_reader :registries, :operations, :replications, :webhooks, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :registries, :replications, :webhooks, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -71,8 +71,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @registries = @client_0.registries @operations = @client_0.operations + @registries = @client_0.registries @replications = @client_0.replications @webhooks = @client_0.webhooks @@ -93,9 +93,45 @@ def method_missing(method, *args) end class ModelClasses + def source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + end + def webhook_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + end + def webhook_action + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + end + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + end + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + end + def webhook + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + end + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + end + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + end + def sku_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + end + def sku_tier + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + end def registry_usage_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end + def provisioning_state + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + end def import_source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource end @@ -111,15 +147,6 @@ def operation_display_definition def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end @@ -129,29 +156,29 @@ def event_list_result def registry_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end - def webhook_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters - end def registry_password Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end - def webhook_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult - end def regenerate_credential_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end - def event_info - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo + def webhook_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end def import_image_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters end + def status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + end + def webhook_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult + end def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_definition - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition + def event_info + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target @@ -159,11 +186,8 @@ def target def storage_account_properties Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end - def registry_list_credentials_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + def operation_definition + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor @@ -171,23 +195,17 @@ def actor def registry_name_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus end - def source - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - end - def registry_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult + def registry_list_credentials_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku - end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def registry_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage @@ -195,38 +213,20 @@ def event_response_message def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end - def replication - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - end - def webhook - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end def import_mode Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end - def sku_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - end - def sku_tier - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - end - def provisioning_state - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState - end def password_name Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end - def registry_usage_unit - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit - end - def webhook_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + def replication + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def webhook_action - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end end end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 1fcf8b1fac..6ccd418244 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -10,8 +10,8 @@ module Mgmt ContainerServices = Azure::ContainerService::Mgmt::V2017_01_31::ContainerServices module Models + ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey - Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile @@ -23,9 +23,9 @@ module Models ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult - ContainerService = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes + Resource = Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource end class ContainerServiceManagementClass @@ -58,12 +58,12 @@ def method_missing(method, *args) end class ModelClasses + def container_service + Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService + end def container_service_ssh_public_key Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey end - def resource - Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource - end def container_service_ssh_configuration Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration end @@ -97,15 +97,15 @@ def container_service_custom_profile def container_service_list_result Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult end - def container_service - Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService - end def container_service_orchestrator_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes end def container_service_vmsize_types Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes end + def resource + Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb index 0fa8f58657..4829c93e34 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -22,22 +22,17 @@ module Models TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList Score = Azure::CognitiveServices::ContentModerator::V1_0::Models::Score TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData - Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms - Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata @@ -51,29 +46,34 @@ module Models Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem - Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end class ContentModeratorDataClass @@ -133,9 +133,6 @@ def score def terms_data Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData end - def status - Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - end def terms_paging Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging end @@ -145,9 +142,6 @@ def ipa def terms Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms end - def address - Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - end def review Azure::CognitiveServices::ContentModerator::V1_0::Models::Review end @@ -157,30 +151,21 @@ def detected_terms def job_execution_report_details Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end def candidate Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - end def evaluate Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate end def job_id Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId end + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + end def match_response Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def error - Azure::CognitiveServices::ContentModerator::V1_0::Models::Error - end def image_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end @@ -220,17 +205,14 @@ def create_video_reviews_body_item_video_frames_item def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end - def create_video_reviews_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem - end def found_faces Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end def create_video_reviews_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end - def match - Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + def create_video_reviews_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end def body_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata @@ -238,15 +220,15 @@ def body_metadata def image_list Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end + def match + Azure::CognitiveServices::ContentModerator::V1_0::Models::Match + end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end def refresh_index Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - end def classification Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification end @@ -265,9 +247,6 @@ def detected_language def video_frame_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - end def create_review_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem end @@ -283,12 +262,33 @@ def phone def content Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end - def term_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + def error + Azure::CognitiveServices::ContentModerator::V1_0::Models::Error end def azure_region_base_url Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job + end + def term_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList + end + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + end + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end + def address + Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + end + def status + Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + end end end end diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 744733e667..105b9583bf 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,25 +7,75 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt - Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations - Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles - Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions - Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks + Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations AuthorizationPolicies = Azure::CustomerInsights::Mgmt::V2017_04_26::AuthorizationPolicies Connectors = Azure::CustomerInsights::Mgmt::V2017_04_26::Connectors ConnectorMappings = Azure::CustomerInsights::Mgmt::V2017_04_26::ConnectorMappings Kpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Kpi - WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes + Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles Views = Azure::CustomerInsights::Mgmt::V2017_04_26::Views - Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links + WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes + Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles + Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images - Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions + Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs + Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions + Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships module Models + KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition + RoleListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult + ConnectorMappingStructure = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure + GetImageUploadUrlInput = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput + ParticipantProfilePropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference + ImageDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition + Hub = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub + EntityTypeDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition + ProfileResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat + InteractionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat + KpiResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat + EnrichingKpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi + ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult HubBillingInfoFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubBillingInfoFormat Participant = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Participant @@ -33,7 +83,6 @@ module Models MetadataDefinitionBase = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::MetadataDefinitionBase PredictionSystemGeneratedEntities = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionSystemGeneratedEntities DataSourcePrecedence = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence - ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult SuggestRelationshipLinksResponse = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse AuthorizationPolicy = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy PredictionGradesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionGradesItem @@ -46,15 +95,11 @@ module Models RelationshipsLookup = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipsLookup ConnectorMappingAvailability = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability ConnectorMappingCompleteOperation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation - OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds ConnectorListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult KpiParticipantProfilesMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata - Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation KpiExtract = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay TypePropertiesMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping AuthorizationPolicyListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping @@ -73,7 +118,6 @@ module Models CanonicalProfileDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinition KpiAlias = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiAlias ViewListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult - ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource CanonicalProfileDefinitionPropertiesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem RelationshipTypeMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeMapping WidgetTypeListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeListResult @@ -84,56 +128,12 @@ module Models KpiGroupByMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiGroupByMetadata PredictionDistributionDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem - KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition - RoleListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult - ConnectorMappingStructure = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure - GetImageUploadUrlInput = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput - ParticipantProfilePropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference - ImageDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition - Hub = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub - EntityTypeDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition - ProfileResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat - InteractionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat - KpiResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat - EnrichingKpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi - ConnectorResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - ConnectorMappingResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - LinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - ViewResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - WidgetTypeResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end class CustomerInsightsManagementClass - attr_reader :operations, :hubs, :profiles, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :links, :roles, :role_assignments, :images, :predictions, :configurable, :base_url, :options, :model_classes + attr_reader :relationship_links, :operations, :authorization_policies, :connectors, :connector_mappings, :kpi, :profiles, :views, :widget_types, :predictions, :roles, :links, :role_assignments, :images, :hubs, :interactions, :relationships, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,23 +143,23 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @hubs = @client_0.hubs - @profiles = @client_0.profiles - @interactions = @client_0.interactions - @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links + @operations = @client_0.operations @authorization_policies = @client_0.authorization_policies @connectors = @client_0.connectors @connector_mappings = @client_0.connector_mappings @kpi = @client_0.kpi - @widget_types = @client_0.widget_types + @profiles = @client_0.profiles @views = @client_0.views - @links = @client_0.links + @widget_types = @client_0.widget_types + @predictions = @client_0.predictions @roles = @client_0.roles + @links = @client_0.links @role_assignments = @client_0.role_assignments @images = @client_0.images - @predictions = @client_0.predictions + @hubs = @client_0.hubs + @interactions = @client_0.interactions + @relationships = @client_0.relationships @model_classes = ModelClasses.new end @@ -178,6 +178,156 @@ def method_missing(method, *args) end class ModelClasses + def kpi_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition + end + def role_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult + end + def connector_mapping_structure + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure + end + def get_image_upload_url_input + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput + end + def participant_profile_property_reference + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference + end + def image_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition + end + def hub + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub + end + def entity_type_definition + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition + end + def profile_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat + end + def interaction_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat + end + def kpi_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat + end + def enriching_kpi + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi + end + def connector_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat + end + def connector_mapping_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat + end + def authorization_policy_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat + end + def link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat + end + def relationship_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat + end + def relationship_link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + end + def view_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat + end + def widget_type_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat + end + def role_assignment_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat + end + def role_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat + end + def prediction_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat + end + def entity_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes + end + def data_source_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + end + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + end + def provisioning_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates + end + def permission_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + end + def connector_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + end + def connector_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + end + def error_management_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + end + def frequency_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + end + def completion_operation_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + end + def connector_mapping_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + end + def calculation_window_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + end + def kpi_functions + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + end + def operation_display + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + end + def link_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + end + def operation_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + end + def cardinality_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + end + def instance_operation_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + end + def entity_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + end + def role_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + end + def canonical_property_value_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + end + def prediction_model_life_cycle + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + end + def proxy_resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + end + def operation + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + end + def resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + end + def profile_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + end + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + end def kpi_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult end @@ -199,9 +349,6 @@ def prediction_system_generated_entities def data_source_precedence Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence end - def profile_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult - end def suggest_relationship_links_response Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse end @@ -238,9 +385,6 @@ def connector_mapping_availability def connector_mapping_complete_operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation end - def operation_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult - end def kpi_thresholds Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds end @@ -250,21 +394,12 @@ def connector_list_result def kpi_participant_profiles_metadata Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata end - def operation - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation - end def kpi_extract Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract end def connector_mapping_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult end - def resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - end - def operation_display - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay - end def type_properties_mapping Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping end @@ -319,9 +454,6 @@ def kpi_alias def view_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult end - def proxy_resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource - end def canonical_profile_definition_properties_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem end @@ -352,144 +484,12 @@ def prediction_distribution_definition def participant_property_reference Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult - end def salesforce_discover_setting Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting end def prediction_distribution_definition_distributions_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem end - def kpi_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition - end - def role_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleListResult - end - def connector_mapping_structure - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStructure - end - def get_image_upload_url_input - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput - end - def participant_profile_property_reference - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantProfilePropertyReference - end - def image_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition - end - def hub - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Hub - end - def entity_type_definition - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypeDefinition - end - def profile_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileResourceFormat - end - def interaction_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionResourceFormat - end - def kpi_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiResourceFormat - end - def enriching_kpi - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EnrichingKpi - end - def connector_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorResourceFormat - end - def connector_mapping_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingResourceFormat - end - def authorization_policy_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat - end - def link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkResourceFormat - end - def relationship_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - end - def relationship_link_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat - end - def view_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat - end - def widget_type_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeResourceFormat - end - def role_assignment_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat - end - def role_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat - end - def prediction_resource_format - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat - end - def entity_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes - end - def data_source_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - end - def status - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - end - def provisioning_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - end - def permission_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - end - def connector_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - end - def connector_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - end - def error_management_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - end - def frequency_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - end - def completion_operation_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - end - def connector_mapping_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - end - def calculation_window_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - end - def kpi_functions - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - end - def entity_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - end - def link_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - end - def instance_operation_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - end - def cardinality_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - end - def role_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - end - def canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - end - def prediction_model_life_cycle - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle - end end end end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 4b79f6d097..41d36e710b 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,25 +9,25 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models - ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat + ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query end class CustomSearchDataClass @@ -60,18 +60,6 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - end - def query - Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def web_meta_tag Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag end @@ -90,18 +78,15 @@ def search_results_answer def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - end - def error_response - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse - end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end + def query_context + Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext + end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end @@ -117,6 +102,21 @@ def safe_search def text_format Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat end + def error_response + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + end + def response + Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + end + def error + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + end + def response_base + Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + end end end end diff --git a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb index 22bcea2ec7..8140460295 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,22 +7,17 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts - DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts + DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules - Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations module Models - CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters DataLakeStoreAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult @@ -33,7 +28,6 @@ module Models CreateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters ComputePolicyListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult CreateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters - OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay CreateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters CreateOrUpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters UpdateDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreWithAccountParameters @@ -41,7 +35,6 @@ module Models UpdateStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountWithAccountParameters SasTokenInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformationListResult UpdateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters StorageContainerListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult UpdateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeAnalyticsAccountParameters @@ -59,15 +52,22 @@ module Models AADObjectType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType FirewallState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState FirewallAllowAzureIpsState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType - DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult DataLakeAnalyticsAccountState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState + DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState + Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeAnalyticsManagementClass - attr_reader :accounts, :data_lake_store_accounts, :storage_accounts, :compute_policies, :firewall_rules, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :firewall_rules, :locations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,12 +77,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @accounts = @client_0.accounts - @data_lake_store_accounts = @client_0.data_lake_store_accounts @storage_accounts = @client_0.storage_accounts + @data_lake_store_accounts = @client_0.data_lake_store_accounts @compute_policies = @client_0.compute_policies @firewall_rules = @client_0.firewall_rules - @operations = @client_0.operations @locations = @client_0.locations @model_classes = ModelClasses.new @@ -102,27 +102,12 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource - end def name_availability_information Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end - def operation - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation - end - def operation_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult - end def update_firewall_rule_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters end - def sub_resource - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource - end def update_compute_policy_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters end @@ -153,9 +138,6 @@ def compute_policy_list_result def create_firewall_rule_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end - def operation_display - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay - end def create_data_lake_analytics_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters end @@ -177,9 +159,6 @@ def sas_token_information_list_result def update_compute_policy_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_firewall_rule_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters end @@ -231,21 +210,42 @@ def firewall_state def firewall_allow_azure_ips_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState end + def operation_display + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay + end def tier_type Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType end - def data_lake_analytics_account_status - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + def operation_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult end def data_lake_analytics_account_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState end + def data_lake_analytics_account_status + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + end def operation_origin Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin end def subscription_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end + def operation + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + end + def sub_resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource + end + def resource + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + end + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + end end end end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index 286be7df18..5afd7df8ab 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,58 +7,58 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt - Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts - FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations + Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts + FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations module Models - CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters EncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig CreateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateTrustedIdProviderWithAccountParameters KeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::KeyVaultMetaInfo CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult - CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters - OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult UpdateEncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig - UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters UpdateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters - SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters - Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult - UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider - DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount - DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic + UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo + OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType - EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState - EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + DataLakeStoreAccountBasic = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount TrustedIdProviderState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState - TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus + FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState DataLakeStoreAccountState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState - OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation end class DataLakeStoreManagementClass - attr_reader :accounts, :firewall_rules, :trusted_id_providers, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :trusted_id_providers, :operations, :accounts, :firewall_rules, :locations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -68,10 +68,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts - @firewall_rules = @client_0.firewall_rules @trusted_id_providers = @client_0.trusted_id_providers @operations = @client_0.operations + @accounts = @client_0.accounts + @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @model_classes = ModelClasses.new @@ -91,21 +91,27 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource - end def name_availability_information Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end - def encryption_identity - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + def update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters end def create_firewall_rule_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters end + def create_or_update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + end + def sub_resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + end + def encryption_identity + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity + end + def update_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters + end def encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig end @@ -118,101 +124,95 @@ def key_vault_meta_info def create_or_update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters end def firewall_rule_list_result Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult end - def create_data_lake_store_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters - end - def operation_display - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - end - def update_key_vault_meta_info - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - end - def operation_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult - end def update_encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig end - def update_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - end - def trusted_id_provider_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult + def create_data_lake_store_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters end def update_trusted_id_provider_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters end - def sub_resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - end def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters end - def operation - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - end - def create_or_update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - end - def data_lake_store_account_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + def trusted_id_provider_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult end - def update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + def resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource end def firewall_rule Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule end + def data_lake_store_account_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult + end def trusted_id_provider Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider end - def data_lake_store_account - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount + def update_key_vault_meta_info + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo end - def data_lake_store_account_basic - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic + def operation_display + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay end def encryption_config_type Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType end - def encryption_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + def operation_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult end - def encryption_provisioning_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + def data_lake_store_account_basic + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic end def firewall_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState end - def firewall_allow_azure_ips_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + def encryption_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState + end + def data_lake_store_account + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount end def trusted_id_provider_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState end - def tier_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - end def data_lake_store_account_status Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus end + def firewall_allow_azure_ips_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + end + def encryption_provisioning_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState + end def data_lake_store_account_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState end + def subscription_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + end + def operation + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + end def operation_origin Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin end - def subscription_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + def tier_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + end + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def capability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation end end end diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index d2fa1e310d..e8045c5f41 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -7,9 +7,14 @@ module Azure::Profiles::Latest module DevTestLabs module Mgmt + VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules + Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks + Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks + VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates @@ -20,22 +25,16 @@ module Mgmt GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users - Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks - Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets - VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines - VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules - VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment GalleryImageReference = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReference DayDetails = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails - InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule NotificationSettings = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings SharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfiguration ExportResourceUsageParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExportResourceUsageParameters @@ -58,7 +57,6 @@ module Models FormulaPropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FormulaPropertiesFromVm ArtifactInstallPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallPropertiesFragment ResponseWithContinuationLabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd - Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet UserSecretStoreFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment AttachNewDataDiskOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachNewDataDiskOptions GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment @@ -87,17 +85,16 @@ module Models SubnetOverrideFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetOverrideFragment PolicySetResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicySetResult SubnetSharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment - Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event LabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd DayDetailsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetailsFragment SubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity SharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment ResponseWithContinuationServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationServiceRunner NetworkInterfacePropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NetworkInterfacePropertiesFragment ArtifactDeploymentStatusProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactDeploymentStatusProperties ShutdownNotificationContent = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ShutdownNotificationContent ResponseWithContinuationSecret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSecret + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity RetargetScheduleProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties BulkCreationParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::BulkCreationParameters ResponseWithContinuationVirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationVirtualNetwork @@ -116,14 +113,14 @@ module Models EventFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EventFragment SubnetSharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfiguration ApplyArtifactsRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest - Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port ArtifactParameterPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment PortFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment ProviderOperationResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties - Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate + Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact ArmTemplateParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties @@ -138,60 +135,63 @@ module Models ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula CustomImagePropertiesCustom = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage - Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate - Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment - CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk + Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact DtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula - GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage Lab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost - LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment + GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment - NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment - Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment - Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret - ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User - VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment - VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment - EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule + ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType - CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus - WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState - LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet + Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions - NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType - TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol - VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource + EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk + NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType - CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus - PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType UsagePermissionType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy end class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :policies, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_schedules, :environments, :virtual_networks, :disks, :virtual_machines, :operations, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :policies, :secrets, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -201,9 +201,14 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @virtual_machine_schedules = @client_0.virtual_machine_schedules + @environments = @client_0.environments + @virtual_networks = @client_0.virtual_networks + @disks = @client_0.disks + @virtual_machines = @client_0.virtual_machines + @operations = @client_0.operations @provider_operations = @client_0.provider_operations @labs = @client_0.labs - @operations = @client_0.operations @global_schedules = @client_0.global_schedules @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @@ -214,16 +219,11 @@ def initialize(configurable, base_url=nil, options=nil) @gallery_images = @client_0.gallery_images @notification_channels = @client_0.notification_channels @policy_sets = @client_0.policy_sets - @policies = @client_0.policies @schedules = @client_0.schedules @service_runners = @client_0.service_runners @users = @client_0.users - @disks = @client_0.disks - @environments = @client_0.environments + @policies = @client_0.policies @secrets = @client_0.secrets - @virtual_machines = @client_0.virtual_machines - @virtual_machine_schedules = @client_0.virtual_machine_schedules - @virtual_networks = @client_0.virtual_networks @model_classes = ModelClasses.new end @@ -251,9 +251,6 @@ def gallery_image_reference def day_details Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails end - def inbound_nat_rule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule - end def notification_settings Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings end @@ -320,9 +317,6 @@ def artifact_install_properties_fragment def response_with_continuation_lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd end - def subnet - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet - end def user_secret_store_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment end @@ -407,9 +401,6 @@ def policy_set_result def subnet_shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment end - def event - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event - end def lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd end @@ -419,9 +410,6 @@ def day_details_fragment def subnet_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment end @@ -440,6 +428,9 @@ def shutdown_notification_content def response_with_continuation_secret Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSecret end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end def retarget_schedule_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties end @@ -494,9 +485,6 @@ def subnet_shared_public_ip_address_configuration def apply_artifacts_request Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest end - def port - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port - end def artifact_parameter_properties_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment end @@ -509,15 +497,18 @@ def provider_operation_result def cost_threshold_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end - def resource - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource - end def detach_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties end def response_with_continuation_arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate end + def resource + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + end + def port + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port + end def evaluate_policies_response Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse end @@ -560,9 +551,6 @@ def custom_image_properties_custom def response_with_continuation_gallery_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage end - def schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule - end def applicable_schedule Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule end @@ -575,8 +563,8 @@ def applicable_schedule_fragment def arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate end - def artifact - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + def schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule end def artifact_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource @@ -584,11 +572,8 @@ def artifact_source def artifact_source_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment end - def custom_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - end - def disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk + def artifact + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact end def dtl_environment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment @@ -596,8 +581,8 @@ def dtl_environment def formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula end - def gallery_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + def custom_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage end def lab Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab @@ -605,8 +590,8 @@ def lab def lab_cost Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost end - def lab_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment + def gallery_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage end def lab_virtual_machine Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine @@ -614,56 +599,56 @@ def lab_virtual_machine def lab_virtual_machine_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment end - def notification_channel - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + def disk + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk end def notification_channel_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - end def policy_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment end - def secret - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret - end - def service_runner - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - end - def user - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + def notification_channel + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel end - def virtual_network - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + def lab_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment end def user_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end - def virtual_network_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + def inbound_nat_rule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule end - def enable_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + def service_runner + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner end def notification_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus end + def virtual_network_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + end + def secret + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + end + def cost_threshold_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + end def source_control_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType end def storage_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType end - def cost_threshold_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + def subnet + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet end - def windows_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + def event + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event end - def linux_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + def user + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User end def custom_image_os_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType @@ -671,14 +656,11 @@ def custom_image_os_type def host_caching_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions end - def notification_channel_event_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType - end - def transport_protocol - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + def enable_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus end - def virtual_machine_creation_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource + def linux_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState end def file_upload_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions @@ -686,30 +668,48 @@ def file_upload_options def premium_data_disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk end + def notification_channel_event_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + end + def windows_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + end + def cost_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + end + def policy_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus + end def target_cost_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus end def reporting_cycle_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType end - def cost_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType + def virtual_machine_creation_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource end def http_status_code Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end - def policy_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus - end - def policy_fact_name - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName - end def policy_evaluator_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType end def usage_permission_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType end + def virtual_network + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + end + def policy_fact_name + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + end + def transport_protocol + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + end + def policy + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + end end end end diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index c6bcada226..24e4a55ab2 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -18,19 +18,19 @@ module Models NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord - SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord + SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone - ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end class DnsManagementClass @@ -85,9 +85,6 @@ def record_set_list_result def srv_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord end - def sub_resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource - end def cname_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord end @@ -97,6 +94,9 @@ def soa_record def mx_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord end + def sub_resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource + end def zone_update Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate end @@ -109,21 +109,21 @@ def zone_list_result def ptr_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord end - def resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource - end def arecord Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord end def zone Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone end - def zone_type - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + def resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource end def record_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType end + def zone_type + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + end end end end diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 17698e5897..4a994bde74 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,25 +9,10 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models - ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext - ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer - Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places - Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization - CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject @@ -46,15 +31,30 @@ module Models FoodEstablishment = Azure::CognitiveServices::EntitySearch::V1_0::Models::FoodEstablishment LodgingBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness Restaurant = Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant + Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel - EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario + ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode - AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType - ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities end class EntitySearchDataClass @@ -87,51 +87,9 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext - end - def contractual_rules_contractual_rule - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - end - def entities_entity_presentation_info - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - end - def response - Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - end - def thing - Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - end - def search_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - end - def answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - end - def search_results_answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer - end - def entities - Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities - end def places Azure::CognitiveServices::EntitySearch::V1_0::Models::Places end - def identifiable - Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse - end def postal_address Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress end @@ -141,9 +99,6 @@ def place def organization Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization end - def creative_work - Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork - end def intangible Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible end @@ -198,33 +153,78 @@ def lodging_business def restaurant Azure::CognitiveServices::EntitySearch::V1_0::Models::Restaurant end + def response + Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + end def hotel Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel end + def entity_scenario + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + end + def answer_type + Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + end def entity_query_scenario Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario end - def entity_scenario - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario + def response_format + Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end def entity_type Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType end + def error_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + end + def response_base + Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase + end + def query_context + Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext + end + def search_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse + end + def search_results_answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork + end def error_code Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode end - def answer_type - Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType - end - def response_format - Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - end def safe_search Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch end + def contractual_rules_contractual_rule + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + end + def entities_entity_presentation_info + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + end + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + end + def entities + Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities + end end end end diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index 7cc7034984..dce4bb7aa0 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,22 +9,6 @@ module Azure::Profiles::Latest module EventGrid module Models - DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData - DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData - DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo - ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData - DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent - SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData - SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse - SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData MediaJobStateChangeEventData = Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData ResourceWriteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteFailureData ContainerRegistryEventTarget = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryEventTarget @@ -41,6 +25,22 @@ module Models ContainerRegistryImagePushedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImagePushedEventData ContainerRegistryImageDeletedEventData = Azure::EventGrid::V2018_01_01::Models::ContainerRegistryImageDeletedEventData JobState = Azure::EventGrid::V2018_01_01::Models::JobState + DeviceTwinMetadata = Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + DeviceTwinProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + StorageBlobDeletedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + DeviceTwinInfoProperties = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + ResourceWriteSuccessData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + DeviceTwinInfoX509Thumbprint = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + ResourceWriteCancelData = Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + DeviceTwinInfo = Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + ResourceDeleteFailureData = Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + DeviceLifeCycleEventProperties = Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + EventGridEvent = Azure::EventGrid::V2018_01_01::Models::EventGridEvent + SubscriptionValidationEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + SubscriptionValidationResponse = Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + SubscriptionDeletedEventData = Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + ServiceBusActiveMessagesAvailableWithNoListenersEventData = Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + StorageBlobCreatedEventData = Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData end class EventGridDataClass @@ -72,54 +72,6 @@ def method_missing(method, *args) end class ModelClasses - def device_twin_metadata - Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata - end - def device_twin_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties - end - def storage_blob_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData - end - def device_twin_info_properties - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties - end - def resource_write_success_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData - end - def device_twin_info_x509_thumbprint - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint - end - def resource_write_cancel_data - Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData - end - def device_twin_info - Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo - end - def resource_delete_failure_data - Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData - end - def device_life_cycle_event_properties - Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties - end - def event_grid_event - Azure::EventGrid::V2018_01_01::Models::EventGridEvent - end - def subscription_validation_event_data - Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData - end - def subscription_validation_response - Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse - end - def subscription_deleted_event_data - Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData - end - def service_bus_active_messages_available_with_no_listeners_event_data - Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData - end - def storage_blob_created_event_data - Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData - end def media_job_state_change_event_data Azure::EventGrid::V2018_01_01::Models::MediaJobStateChangeEventData end @@ -168,17 +120,64 @@ def container_registry_image_deleted_event_data def job_state Azure::EventGrid::V2018_01_01::Models::JobState end + def device_twin_metadata + Azure::EventGrid::V2018_01_01::Models::DeviceTwinMetadata + end + def device_twin_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinProperties + end + def storage_blob_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobDeletedEventData + end + def device_twin_info_properties + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoProperties + end + def resource_write_success_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteSuccessData + end + def device_twin_info_x509_thumbprint + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfoX509Thumbprint + end + def resource_write_cancel_data + Azure::EventGrid::V2018_01_01::Models::ResourceWriteCancelData + end + def device_twin_info + Azure::EventGrid::V2018_01_01::Models::DeviceTwinInfo + end + def resource_delete_failure_data + Azure::EventGrid::V2018_01_01::Models::ResourceDeleteFailureData + end + def device_life_cycle_event_properties + Azure::EventGrid::V2018_01_01::Models::DeviceLifeCycleEventProperties + end + def event_grid_event + Azure::EventGrid::V2018_01_01::Models::EventGridEvent + end + def subscription_validation_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationEventData + end + def subscription_validation_response + Azure::EventGrid::V2018_01_01::Models::SubscriptionValidationResponse + end + def subscription_deleted_event_data + Azure::EventGrid::V2018_01_01::Models::SubscriptionDeletedEventData + end + def service_bus_active_messages_available_with_no_listeners_event_data + Azure::EventGrid::V2018_01_01::Models::ServiceBusActiveMessagesAvailableWithNoListenersEventData + end + def storage_blob_created_event_data + Azure::EventGrid::V2018_01_01::Models::StorageBlobCreatedEventData + end end end module Mgmt - EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions + TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations + EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_05_01_preview::Topics - TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes module Models - Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping DeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination @@ -190,7 +189,6 @@ module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys RetryPolicy = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl - Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest TopicsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult TopicTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult @@ -204,8 +202,10 @@ module Models HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::HybridConnectionEventSubscriptionDestination EventSubscription = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscription JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping - TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource Topic = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource + OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult EventType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType TopicTypeInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeInfo EventSubscriptionProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionProvisioningState @@ -217,7 +217,7 @@ module Models end class EventGridManagementClass - attr_reader :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :topic_types, :operations, :event_subscriptions, :topics, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -227,10 +227,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @event_subscriptions = @client_0.event_subscriptions + @topic_types = @client_0.topic_types @operations = @client_0.operations + @event_subscriptions = @client_0.event_subscriptions @topics = @client_0.topics - @topic_types = @client_0.topic_types @model_classes = ModelClasses.new end @@ -249,11 +249,8 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - end - def operations_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + def resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource end def event_subscription_filter Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter @@ -288,9 +285,6 @@ def retry_policy def event_subscription_full_url Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl end - def resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource - end def topic_regenerate_key_request Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest end @@ -330,11 +324,17 @@ def event_subscription def json_input_schema_mapping Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping end + def topic + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + end + def operation + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + end def tracked_resource Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource end - def topic - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic + def operations_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult end def event_type Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 21e8886a95..21443d91be 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -14,38 +14,38 @@ module Mgmt ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups module Models + KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType + Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku + CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination - Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource - Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation - ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter EHNamespaceListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult - CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay - TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource - EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace + OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule - Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub + EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup - ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery - SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier + ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType - EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus + ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus + RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation + TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR - RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end class EventHubManagementClass @@ -82,23 +82,23 @@ def method_missing(method, *args) end class ModelClasses - def capture_description - Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription + def key_type + Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType end - def destination - Azure::EventHub::Mgmt::V2017_04_01::Models::Destination + def sku + Azure::EventHub::Mgmt::V2017_04_01::Models::Sku + end + def check_name_availability_result + Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end def resource Azure::EventHub::Mgmt::V2017_04_01::Models::Resource end - def operation - Azure::EventHub::Mgmt::V2017_04_01::Models::Operation - end - def error_response - Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + def capture_description + Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription end - def operation_list_result - Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult + def destination + Azure::EventHub::Mgmt::V2017_04_01::Models::Destination end def event_hub_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult @@ -109,9 +109,6 @@ def access_keys def arm_disaster_recovery_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult end - def sku - Azure::EventHub::Mgmt::V2017_04_01::Models::Sku - end def consumer_group_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult end @@ -124,50 +121,56 @@ def check_name_availability_parameter def ehnamespace_list_result Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult end - def check_name_availability_result - Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def regenerate_access_key_parameters Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end def operation_display Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay end - def tracked_resource - Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource - end - def ehnamespace - Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace + def operation_list_result + Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult end def authorization_rule Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule end - def eventhub - Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub + def ehnamespace + Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace end def consumer_group Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup end - def arm_disaster_recovery - Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery - end - def sku_name - Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName + def eventhub + Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub end def sku_tier Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier end + def arm_disaster_recovery + Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + end def access_rights Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights end - def key_type - Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType + def error_response + Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse + end + def encoding_capture_description + Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + end + def sku_name + Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName end def entity_status Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus end - def encoding_capture_description - Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def role_disaster_recovery + Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + end + def operation + Azure::EventHub::Mgmt::V2017_04_01::Models::Operation + end + def tracked_resource + Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource end def unavailable_reason Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason @@ -175,9 +178,6 @@ def unavailable_reason def provisioning_state_dr Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR end - def role_disaster_recovery - Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery - end end end end diff --git a/azure_sdk/lib/latest/modules/face_profile_module.rb b/azure_sdk/lib/latest/modules/face_profile_module.rb index 4749700ad2..cd2040801f 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,16 +6,15 @@ module Azure::Profiles::Latest module Face - Face = Azure::CognitiveServices::Face::V1_0::Face - PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations + Face = Azure::CognitiveServices::Face::V1_0::Face + PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson module Models + APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest - Error = Azure::CognitiveServices::Face::V1_0::Models::Error SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult @@ -31,38 +30,39 @@ module Models VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult - APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError + FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair - NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + Error = Azure::CognitiveServices::Face::V1_0::Models::Error Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup Person = Azure::CognitiveServices::Face::V1_0::Models::Person - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType - AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel + AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType - FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode AzureRegions = Azure::CognitiveServices::Face::V1_0::Models::AzureRegions + FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end class FaceDataClass - attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes + attr_reader :person_group_operations, :face_list_operations, :face, :person_group_person, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -72,10 +72,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @face = @client_0.face - @person_group_person = @client_0.person_group_person @person_group_operations = @client_0.person_group_operations @face_list_operations = @client_0.face_list_operations + @face = @client_0.face + @person_group_person = @client_0.person_group_person @model_classes = ModelClasses.new end @@ -94,18 +94,15 @@ def method_missing(method, *args) end class ModelClasses + def apierror + Azure::CognitiveServices::Face::V1_0::Models::APIError + end def find_similar_request Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest end - def error - Azure::CognitiveServices::Face::V1_0::Models::Error - end def similar_face Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end - def face_rectangle - Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle - end def group_request Azure::CognitiveServices::Face::V1_0::Models::GroupRequest end @@ -151,8 +148,8 @@ def face_attributes def verify_result Azure::CognitiveServices::Face::V1_0::Models::VerifyResult end - def apierror - Azure::CognitiveServices::Face::V1_0::Models::APIError + def face_rectangle + Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle end def persisted_face Azure::CognitiveServices::Face::V1_0::Models::PersistedFace @@ -172,20 +169,14 @@ def occlusion def noise Azure::CognitiveServices::Face::V1_0::Models::Noise end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - end def hair Azure::CognitiveServices::Face::V1_0::Models::Hair end - def name_and_user_data_contract - Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - end def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def update_person_face_request - Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + def error + Azure::CognitiveServices::Face::V1_0::Models::Error end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur @@ -202,17 +193,14 @@ def person_group def person Azure::CognitiveServices::Face::V1_0::Models::Person end - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender - end def glasses_type Azure::CognitiveServices::Face::V1_0::Models::GlassesType end def hair_color_type Azure::CognitiveServices::Face::V1_0::Models::HairColorType end - def accessory_type - Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def blur_level Azure::CognitiveServices::Face::V1_0::Models::BlurLevel @@ -220,21 +208,33 @@ def blur_level def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel end + def accessory_type + Azure::CognitiveServices::Face::V1_0::Models::AccessoryType + end def noise_level Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel end - def find_similar_match_mode - Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + def name_and_user_data_contract + Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end - def face_attribute_type - Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + def update_person_face_request + Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest + end + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl + end + def find_similar_match_mode + Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode end def azure_regions Azure::CognitiveServices::Face::V1_0::Models::AzureRegions end + def face_attribute_type + Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType + end end end end diff --git a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb index fada59715e..aff87eba3a 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -10,17 +10,36 @@ module GraphRbac Applications = Azure::GraphRbac::V1_6::Applications Groups = Azure::GraphRbac::V1_6::Groups ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals - Users = Azure::GraphRbac::V1_6::Users Domains = Azure::GraphRbac::V1_6::Domains + Users = Azure::GraphRbac::V1_6::Users module Models + UserBase = Azure::GraphRbac::V1_6::Models::UserBase + AADObject = Azure::GraphRbac::V1_6::Models::AADObject + Domain = Azure::GraphRbac::V1_6::Models::Domain + RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters + PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult + SignInName = Azure::GraphRbac::V1_6::Models::SignInName + ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult + GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters + DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject + UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup + Application = Azure::GraphRbac::V1_6::Models::Application + ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters + ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal + UserType = Azure::GraphRbac::V1_6::Models::UserType + ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters + User = Azure::GraphRbac::V1_6::Models::User + UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters + UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters GraphError = Azure::GraphRbac::V1_6::Models::GraphError - GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult - ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult @@ -35,31 +54,12 @@ module Models DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - UserBase = Azure::GraphRbac::V1_6::Models::UserBase - AADObject = Azure::GraphRbac::V1_6::Models::AADObject - Domain = Azure::GraphRbac::V1_6::Models::Domain - RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters - PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - SignInName = Azure::GraphRbac::V1_6::Models::SignInName - ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult - DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject - UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - Application = Azure::GraphRbac::V1_6::Models::Application - ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup - ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal - UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters - UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters - User = Azure::GraphRbac::V1_6::Models::User - UserType = Azure::GraphRbac::V1_6::Models::UserType end class GraphRbacDataClass - attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes + attr_reader :objects, :applications, :groups, :service_principals, :domains, :users, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -73,8 +73,8 @@ def initialize(configurable, base_url=nil, options=nil) @applications = @client_0.applications @groups = @client_0.groups @service_principals = @client_0.service_principals - @users = @client_0.users @domains = @client_0.domains + @users = @client_0.users @model_classes = ModelClasses.new end @@ -93,15 +93,75 @@ def method_missing(method, *args) end class ModelClasses + def user_base + Azure::GraphRbac::V1_6::Models::UserBase + end + def aadobject + Azure::GraphRbac::V1_6::Models::AADObject + end + def domain + Azure::GraphRbac::V1_6::Models::Domain + end + def required_resource_access + Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + end + def get_objects_parameters + Azure::GraphRbac::V1_6::Models::GetObjectsParameters + end + def password_credential_list_result + Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult + end + def sign_in_name + Azure::GraphRbac::V1_6::Models::SignInName + end + def application_add_owner_parameters + Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + end + def user_list_result + Azure::GraphRbac::V1_6::Models::UserListResult + end + def group_create_parameters + Azure::GraphRbac::V1_6::Models::GroupCreateParameters + end + def directory_object + Azure::GraphRbac::V1_6::Models::DirectoryObject + end + def user_get_member_groups_parameters + Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + end + def adgroup + Azure::GraphRbac::V1_6::Models::ADGroup + end + def application + Azure::GraphRbac::V1_6::Models::Application + end + def application_create_parameters + Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters + end + def service_principal + Azure::GraphRbac::V1_6::Models::ServicePrincipal + end + def user_type + Azure::GraphRbac::V1_6::Models::UserType + end + def application_update_parameters + Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters + end + def user + Azure::GraphRbac::V1_6::Models::User + end + def user_create_parameters + Azure::GraphRbac::V1_6::Models::UserCreateParameters + end + def user_update_parameters + Azure::GraphRbac::V1_6::Models::UserUpdateParameters + end def group_add_member_parameters Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters end def graph_error Azure::GraphRbac::V1_6::Models::GraphError end - def group_create_parameters - Azure::GraphRbac::V1_6::Models::GroupCreateParameters - end def key_credential Azure::GraphRbac::V1_6::Models::KeyCredential end @@ -111,9 +171,6 @@ def resource_access def group_list_result Azure::GraphRbac::V1_6::Models::GroupListResult end - def application_create_parameters - Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters - end def group_get_member_groups_parameters Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters end @@ -156,69 +213,12 @@ def password_credential def service_principal_list_result Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult end - def application_update_parameters - Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - end def password_profile Azure::GraphRbac::V1_6::Models::PasswordProfile end def directory_object_list_result Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult end - def user_base - Azure::GraphRbac::V1_6::Models::UserBase - end - def aadobject - Azure::GraphRbac::V1_6::Models::AADObject - end - def domain - Azure::GraphRbac::V1_6::Models::Domain - end - def required_resource_access - Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - end - def get_objects_parameters - Azure::GraphRbac::V1_6::Models::GetObjectsParameters - end - def password_credential_list_result - Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - end - def sign_in_name - Azure::GraphRbac::V1_6::Models::SignInName - end - def application_add_owner_parameters - Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - end - def user_list_result - Azure::GraphRbac::V1_6::Models::UserListResult - end - def directory_object - Azure::GraphRbac::V1_6::Models::DirectoryObject - end - def user_get_member_groups_parameters - Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - end - def application - Azure::GraphRbac::V1_6::Models::Application - end - def adgroup - Azure::GraphRbac::V1_6::Models::ADGroup - end - def service_principal - Azure::GraphRbac::V1_6::Models::ServicePrincipal - end - def user_create_parameters - Azure::GraphRbac::V1_6::Models::UserCreateParameters - end - def user_update_parameters - Azure::GraphRbac::V1_6::Models::UserUpdateParameters - end - def user - Azure::GraphRbac::V1_6::Models::User - end - def user_type - Azure::GraphRbac::V1_6::Models::UserType - end end end end diff --git a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb index 5dbb122fb9..6efb2353e5 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,64 +9,64 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models + Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory - Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption - ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule - Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity - RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages - WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage - StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency + Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor - Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense + Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject end class ImageSearchDataClass @@ -99,6 +99,21 @@ def method_missing(method, *args) end class ModelClasses + def organization + Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + end + def intangible + Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + end + def response + Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + end def related_searches_module Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule end @@ -117,9 +132,6 @@ def recognized_entity_group def trending_images_category Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory end - def query - Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - end def pivot_suggestions Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions end @@ -138,24 +150,12 @@ def images_image_metadata def image_insights_image_caption Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption end - def response_base - Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def trending_images_tile Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile end def images_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule end - def thing - Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - end - def organization - Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization - end def aggregate_rating Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating end @@ -165,30 +165,6 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end - def search_results_answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - end - def images - Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - end - def identifiable - Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - end - def response - Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - end - def answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - end - def creative_work - Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - end def error_response Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse end @@ -204,68 +180,50 @@ def normalized_rectangle def recognized_entity Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end - def recognized_entity_region - Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion - end def image_insights Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights end def trending_images Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages end - def web_page - Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - end - def person - Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - end - def intangible - Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - end - def rating - Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + def recognized_entity_region + Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion end def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end - def structured_value - Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue - end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end + def rating + Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + end def item_availability Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability end - def error_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode - end def image_aspect Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect end def image_color Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor end - def freshness - Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error end def image_content Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + def freshness + Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness + end + def image_size + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize end def image_license Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense end - def safe_search - Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - end - def image_size - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + def person + Azure::CognitiveServices::ImageSearch::V1_0::Models::Person end def image_crop_type Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType @@ -273,6 +231,48 @@ def image_crop_type def image_insight_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + end + def images + Azure::CognitiveServices::ImageSearch::V1_0::Models::Images + end + def response_base + Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + end + def web_page + Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + end + def search_results_answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + end + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end end end end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index c6887fc4ca..bcf679a448 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -17,17 +17,12 @@ module Models CertificateBodyDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateBodyDescription CertificateProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateProperties CertificateListDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateListDescription - Resource = Azure::IotHub::Mgmt::V2017_07_01::Models::Resource CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateWithNonceDescription SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRuleListResult IpFilterRule = Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterRule - OperationDisplay = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusQueueEndpointProperties - Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation RoutingEventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEventHubProperties - OperationListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult RoutingEndpoints = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEndpoints - ErrorDetails = Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails FallbackRouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::FallbackRouteProperties IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubQuotaMetricInfo StorageEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::StorageEndpointProperties @@ -39,27 +34,29 @@ module Models CertificateDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateDescription JobResponseListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::JobResponseListResult SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRule + OperationDisplay = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay IotHubCapacity = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubCapacity - RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties + OperationListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult IotHubSkuDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescription - RouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties + RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupsListResult - MessagingEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties + RouteProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupInfo - CertificateVerificationDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription + MessagingEndpointProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescriptionListResult - EventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + CertificateVerificationDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescriptionListResult - RoutingProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties - OperationInputs = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs + EventHubProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce - IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo + RoutingProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties + Operation = Azure::IotHub::Mgmt::V2017_07_01::Models::Operation CloudToDeviceProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties + IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo + OperationInputs = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs ExportDevicesRequest = Azure::IotHub::Mgmt::V2017_07_01::Models::ExportDevicesRequest RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingStorageContainerProperties ImportDevicesRequest = Azure::IotHub::Mgmt::V2017_07_01::Models::ImportDevicesRequest IotHubDescription = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescription - AccessRights = Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights IpFilterActionType = Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterActionType RoutingSource = Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingSource OperationMonitoringLevel = Azure::IotHub::Mgmt::V2017_07_01::Models::OperationMonitoringLevel @@ -67,9 +64,12 @@ module Models IotHubSku = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSku IotHubSkuTier = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuTier JobType = Azure::IotHub::Mgmt::V2017_07_01::Models::JobType - JobStatus = Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus IotHubScaleType = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubScaleType + JobStatus = Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameUnavailabilityReason + Resource = Azure::IotHub::Mgmt::V2017_07_01::Models::Resource + AccessRights = Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights + ErrorDetails = Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails end class IotHubManagementClass @@ -119,9 +119,6 @@ def certificate_properties def certificate_list_description Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateListDescription end - def resource - Azure::IotHub::Mgmt::V2017_07_01::Models::Resource - end def certificate_with_nonce_description Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateWithNonceDescription end @@ -131,27 +128,15 @@ def shared_access_signature_authorization_rule_list_result def ip_filter_rule Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterRule end - def operation_display - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay - end def routing_service_bus_queue_endpoint_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusQueueEndpointProperties end - def operation - Azure::IotHub::Mgmt::V2017_07_01::Models::Operation - end def routing_event_hub_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEventHubProperties end - def operation_list_result - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult - end def routing_endpoints Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingEndpoints end - def error_details - Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails - end def fallback_route_properties Azure::IotHub::Mgmt::V2017_07_01::Models::FallbackRouteProperties end @@ -185,53 +170,62 @@ def job_response_list_result def shared_access_signature_authorization_rule Azure::IotHub::Mgmt::V2017_07_01::Models::SharedAccessSignatureAuthorizationRule end + def operation_display + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationDisplay + end def iot_hub_capacity Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubCapacity end - def routing_service_bus_topic_endpoint_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties + def operation_list_result + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationListResult end def iot_hub_sku_description Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescription end - def route_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties + def routing_service_bus_topic_endpoint_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingServiceBusTopicEndpointProperties end def event_hub_consumer_groups_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupsListResult end - def messaging_endpoint_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties + def route_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::RouteProperties end def event_hub_consumer_group_info Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubConsumerGroupInfo end - def certificate_verification_description - Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription + def messaging_endpoint_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::MessagingEndpointProperties end def iot_hub_sku_description_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubSkuDescriptionListResult end - def event_hub_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + def certificate_verification_description + Azure::IotHub::Mgmt::V2017_07_01::Models::CertificateVerificationDescription end def iot_hub_description_list_result Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescriptionListResult end + def event_hub_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::EventHubProperties + end + def certificate_properties_with_nonce + Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce + end def routing_properties Azure::IotHub::Mgmt::V2017_07_01::Models::RoutingProperties end - def operation_inputs - Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs + def operation + Azure::IotHub::Mgmt::V2017_07_01::Models::Operation end - def certificate_properties_with_nonce - Azure::IotHub::Mgmt::V2017_07_01::Models::CertificatePropertiesWithNonce + def cloud_to_device_properties + Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties end def iot_hub_name_availability_info Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameAvailabilityInfo end - def cloud_to_device_properties - Azure::IotHub::Mgmt::V2017_07_01::Models::CloudToDeviceProperties + def operation_inputs + Azure::IotHub::Mgmt::V2017_07_01::Models::OperationInputs end def export_devices_request Azure::IotHub::Mgmt::V2017_07_01::Models::ExportDevicesRequest @@ -245,9 +239,6 @@ def import_devices_request def iot_hub_description Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubDescription end - def access_rights - Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights - end def ip_filter_action_type Azure::IotHub::Mgmt::V2017_07_01::Models::IpFilterActionType end @@ -269,15 +260,24 @@ def iot_hub_sku_tier def job_type Azure::IotHub::Mgmt::V2017_07_01::Models::JobType end - def job_status - Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus - end def iot_hub_scale_type Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubScaleType end + def job_status + Azure::IotHub::Mgmt::V2017_07_01::Models::JobStatus + end def iot_hub_name_unavailability_reason Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubNameUnavailabilityReason end + def resource + Azure::IotHub::Mgmt::V2017_07_01::Models::Resource + end + def access_rights + Azure::IotHub::Mgmt::V2017_07_01::Models::AccessRights + end + def error_details + Azure::IotHub::Mgmt::V2017_07_01::Models::ErrorDetails + end end end end diff --git a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb index a73bfb13ba..67093c47ae 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -7,45 +7,45 @@ module Azure::Profiles::Latest module KeyVault module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations + Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models + Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties - ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters - CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification - VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry - Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault - SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName - KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -55,8 +55,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -75,30 +75,27 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + end + def permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end def vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end def vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end - def resource - Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource - end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - def resource_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult - end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end @@ -108,66 +105,69 @@ def vault_check_name_availability_parameters def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end - def check_name_availability_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - end - def sku - Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - end - def operation_display - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end def log_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end - def vault_patch_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters + def check_name_availability_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource end def service_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification end - def access_policy_entry - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry - end - def operation - Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation - end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end - def operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - end def vault Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault end - def sku_name - Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end - def key_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + def vault_patch_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end def secret_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end + def key_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + end + def sku_name + Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end def storage_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end - def create_mode - Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + def operation_display + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay end def reason Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult + end + def create_mode + Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + end def access_policy_update_kind Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind end + def operation + Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation + end + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + end end end end diff --git a/azure_sdk/lib/latest/modules/locks_profile_module.rb b/azure_sdk/lib/latest/modules/locks_profile_module.rb index f18a1cb418..534a89b706 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models - ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult + ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end @@ -46,14 +46,14 @@ def method_missing(method, *args) end class ModelClasses - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + def management_lock_owner + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def management_lock_owner - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject end def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index 67bfdb9885..85e3128c84 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -18,57 +18,58 @@ module Mgmt Maps = Azure::Logic::Mgmt::V2016_06_01::Maps Partners = Azure::Logic::Mgmt::V2016_06_01::Partners Agreements = Azure::Logic::Mgmt::V2016_06_01::Agreements - Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates Sessions = Azure::Logic::Mgmt::V2016_06_01::Sessions + Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates module Models + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation + KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku + SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter - Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2MessageConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings ResourceReference = Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference + Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings WorkflowParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter AS2MdnSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2MdnSettings WorkflowFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter - AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult IntegrationAccountPartnerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerListResult RecurrenceSchedule = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceSchedule - SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource - Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku WorkflowTriggerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult WorkflowTriggerListCallbackUrlQueries = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListCallbackUrlQueries IntegrationAccountAgreementListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult Correlation = Azure::Logic::Mgmt::V2016_06_01::Models::Correlation WorkflowListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult - ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter WorkflowTriggerHistoryListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult AS2ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ValidationSettings WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings - OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + AS2SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings AS2ErrorSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings - WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AS2ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings - ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse AS2OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement - IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AS2AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent WorkflowRunActionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult - X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters X12FramingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings - IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + X12ValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings X12EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters - X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings - KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference X12ProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter X12EnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeOverride @@ -78,7 +79,6 @@ module Models X12MessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier WorkflowTriggerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerFilter X12SchemaReference = Azure::Logic::Mgmt::V2016_06_01::Models::X12SchemaReference - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash X12DelimiterOverrides = Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter X12ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProtocolSettings @@ -98,7 +98,6 @@ module Models EdifactMessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactMessageFilter WorkflowTriggerCallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerCallbackUrl EdifactProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProcessingSettings - Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation EdifactEnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeOverride WorkflowRunActionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionFilter EdifactMessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactMessageIdentifier @@ -106,42 +105,42 @@ module Models EdifactSchemaReference = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactSchemaReference BusinessIdentity = Azure::Logic::Mgmt::V2016_06_01::Models::BusinessIdentity EdifactValidationOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationOverride - OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult EdifactDelimiterOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride IntegrationAccountSku = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku EdifactProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings WorkflowTriggerRecurrence = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerRecurrence EdifactOneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement - IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent - ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent - Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties WorkflowVersion = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion - WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + Workflow = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow WorkflowTriggerHistory = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory - WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + WorkflowTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger WorkflowRun = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun - WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + WorkflowOutputParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter IntegrationAccount = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount - IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + WorkflowRunAction = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction IntegrationAccountMap = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap - IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + IntegrationAccountSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema IntegrationAccountAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement - IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + IntegrationAccountPartner = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession - WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState - WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus + ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency - DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek - KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType @@ -157,10 +156,11 @@ module Models MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType EdifactCharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet EdifactDecimalIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator + ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink end class LogicManagementClass - attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :integration_accounts, :schemas, :maps, :partners, :agreements, :certificates, :sessions, :configurable, :base_url, :options, :model_classes + attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :integration_accounts, :schemas, :maps, :partners, :agreements, :sessions, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -181,8 +181,8 @@ def initialize(configurable, base_url=nil, options=nil) @maps = @client_0.maps @partners = @client_0.partners @agreements = @client_0.agreements - @certificates = @client_0.certificates @sessions = @client_0.sessions + @certificates = @client_0.certificates @model_classes = ModelClasses.new end @@ -201,18 +201,42 @@ def method_missing(method, *args) end class ModelClasses + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + end + def operation_display + Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + end + def operation_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult + end + def error_response + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + end + def operation + Azure::Logic::Mgmt::V2016_06_01::Models::Operation + end + def key_type + Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + end + def sku + Azure::Logic::Mgmt::V2016_06_01::Models::Sku + end + def sub_resource + Azure::Logic::Mgmt::V2016_06_01::Models::SubResource + end def integration_account_partner_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter end - def resource - Azure::Logic::Mgmt::V2016_06_01::Models::Resource - end def as2_message_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2MessageConnectionSettings end def resource_reference Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference end + def resource + Azure::Logic::Mgmt::V2016_06_01::Models::Resource + end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end @@ -225,9 +249,6 @@ def as2_mdn_settings def workflow_filter Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter end - def as2_security_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings - end def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end @@ -240,12 +261,6 @@ def integration_account_partner_list_result def recurrence_schedule Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceSchedule end - def sub_resource - Azure::Logic::Mgmt::V2016_06_01::Models::SubResource - end - def sku - Azure::Logic::Mgmt::V2016_06_01::Models::Sku - end def workflow_trigger_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult end @@ -261,9 +276,6 @@ def correlation def workflow_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult end - def content_link - Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink - end def integration_account_agreement_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter end @@ -279,26 +291,20 @@ def workflow_run_trigger def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end - def operation_display - Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay + def as2_security_settings + Azure::Logic::Mgmt::V2016_06_01::Models::AS2SecuritySettings end def as2_error_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ErrorSettings end - def workflow_run_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult - end def as2_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings end - def error_response - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse - end def as2_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement end - def integration_account_session_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult + def workflow_run_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult end def as2_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AS2AgreementContent @@ -306,8 +312,8 @@ def as2_agreement_content def workflow_run_action_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionListResult end - def x12_validation_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings + def integration_account_session_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end def generate_upgraded_definition_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters @@ -315,8 +321,8 @@ def generate_upgraded_definition_parameters def x12_framing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12FramingSettings end - def integration_account_session_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + def x12_validation_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationSettings end def x12_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings @@ -324,8 +330,8 @@ def x12_envelope_settings def get_callback_url_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end - def x12_acknowledgement_settings - Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + def integration_account_session_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end def integration_account_certificate_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult @@ -339,9 +345,6 @@ def integration_account_schema_filter def x12_security_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings end - def key_vault_key_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference - end def x12_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings end @@ -369,9 +372,6 @@ def workflow_trigger_filter def x12_schema_reference Azure::Logic::Mgmt::V2016_06_01::Models::X12SchemaReference end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash - end def x12_delimiter_overrides Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides end @@ -429,9 +429,6 @@ def workflow_trigger_callback_url def edifact_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProcessingSettings end - def operation - Azure::Logic::Mgmt::V2016_06_01::Models::Operation - end def edifact_envelope_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactEnvelopeOverride end @@ -453,9 +450,6 @@ def business_identity def edifact_validation_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationOverride end - def operation_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult - end def edifact_delimiter_override Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride end @@ -471,95 +465,98 @@ def workflow_trigger_recurrence def edifact_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement end - def integration_account_map_properties_parameters_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema + def x12_acknowledgement_settings + Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings + end + def key_vault_key_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference end def edifact_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent end - def error_properties - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + def integration_account_map_properties_parameters_schema + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema end def agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent end - def workflow - Azure::Logic::Mgmt::V2016_06_01::Models::Workflow + def error_properties + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties end def workflow_version Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersion end - def workflow_trigger - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger + def workflow + Azure::Logic::Mgmt::V2016_06_01::Models::Workflow end def workflow_trigger_history Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistory end - def workflow_output_parameter - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter + def workflow_trigger + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTrigger end def workflow_run Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRun end - def workflow_run_action - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction + def workflow_output_parameter + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowOutputParameter end def integration_account Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount end - def integration_account_schema - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema + def workflow_run_action + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunAction end def integration_account_map Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMap end - def integration_account_partner - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner + def integration_account_schema + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchema end def integration_account_agreement Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement end - def integration_account_certificate - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate + def integration_account_partner + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartner end def integration_account_session Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession end - def workflow_provisioning_state - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState + def integration_account_certificate + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate end def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end - def sku_name - Azure::Logic::Mgmt::V2016_06_01::Models::SkuName - end - def parameter_type - Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + def workflow_provisioning_state + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState end def workflow_trigger_provisioning_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState end - def workflow_status - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus + def parameter_type + Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType end def recurrence_frequency Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency end - def days_of_week - Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + def workflow_status + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus end def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek end - def key_type - Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + def days_of_week + Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + end + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType end def integration_account_sku_name Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName end - def schema_type - Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + def sku_name + Azure::Logic::Mgmt::V2016_06_01::Models::SkuName end def map_type Azure::Logic::Mgmt::V2016_06_01::Models::MapType @@ -606,6 +603,9 @@ def edifact_character_set def edifact_decimal_indicator Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator end + def content_link + Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink + end end end end diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index b38d7f99f0..4d5091f49d 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -10,6 +10,17 @@ module Mgmt WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models + DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel + ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType + AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState ModeValueInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys @@ -31,22 +42,11 @@ module Models GraphParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphParameter InputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPort GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage - StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList ExampleRequest = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ExampleRequest AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph - ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel - ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end class MachineLearningManagementClass @@ -79,6 +79,39 @@ def method_missing(method, *args) end class ModelClasses + def diagnostics_level + Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel + end + def column_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + end + def column_format + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + end + def asset_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + end + def input_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + end + def output_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + end + def parameter_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType + end + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + end + def storage_account + Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + end + def resource + Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + end + def provisioning_state + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState + end def mode_value_info Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModeValueInfo end @@ -142,15 +175,6 @@ def input_port def graph_package Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage end - def storage_account - Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - end - def async_operation_status - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - end - def resource - Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource - end def paginated_web_services_list Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList end @@ -166,30 +190,6 @@ def web_service def web_service_properties_for_graph Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph end - def provisioning_state - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - end - def diagnostics_level - Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel - end - def column_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - end - def column_format - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - end - def asset_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - end - def input_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - end - def output_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - end - def parameter_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType - end end end end diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index cb8773acb8..72d2b8aa56 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,24 +11,24 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2017_09_01::ApplicationDefinitions module Models - Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku - Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan - Identity = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity PlanPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable - ErrorResponse = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationProviderAuthorization ApplicationDefinitionListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinitionListResult - ApplicationListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifact - Resource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource - GenericResource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource - Application = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationPatchable ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition - ProvisioningState = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + Application = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType + Sku = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType + ErrorResponse = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse + ApplicationListResult = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult + Identity = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity + Resource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource + GenericResource = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource + Plan = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan + ProvisioningState = Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState end class ManagedApplicationsManagementClass @@ -62,50 +62,26 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku - end - def plan - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan - end - def identity - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity - end def plan_patchable Azure::ManagedApplications::Mgmt::V2017_09_01::Models::PlanPatchable end - def error_response - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse - end def application_provider_authorization Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationProviderAuthorization end def application_definition_list_result Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinitionListResult end - def application_list_result - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult - end def application_artifact Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifact end - def resource - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource - end - def generic_resource - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource - end - def application - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application - end def application_patchable Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationPatchable end def application_definition Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationDefinition end - def provisioning_state - Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + def application + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Application end def application_lock_level Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationLockLevel @@ -113,9 +89,33 @@ def application_lock_level def application_artifact_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationArtifactType end + def sku + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Sku + end def resource_identity_type Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ResourceIdentityType end + def error_response + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ErrorResponse + end + def application_list_result + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ApplicationListResult + end + def identity + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Identity + end + def resource + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Resource + end + def generic_resource + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::GenericResource + end + def plan + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::Plan + end + def provisioning_state + Azure::ManagedApplications::Mgmt::V2017_09_01::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 14f3182b97..31f9903f39 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities module Models + UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult - UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities end class ManagedServiceIdentityManagementClass @@ -50,24 +50,24 @@ def method_missing(method, *args) end class ModelClasses + def user_assigned_identities + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + end + def operation + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + end def identity Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity end def operation_display Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end - def operation - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - end def user_assigned_identities_list_result Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult end def operation_list_result Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult end - def user_assigned_identities - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities - end end end end diff --git a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb index 80f1528636..dc53046af9 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -7,21 +7,21 @@ module Azure::Profiles::Latest module MarketplaceOrdering module Mgmt - MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations + MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements module Models - OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation - ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource + ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse end class MarketplaceOrderingManagementClass - attr_reader :marketplace_agreements, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :marketplace_agreements, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -31,8 +31,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @marketplace_agreements = @client_0.marketplace_agreements @operations = @client_0.operations + @marketplace_agreements = @client_0.marketplace_agreements @model_classes = ModelClasses.new end @@ -51,27 +51,27 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - end def operation Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end - def error_response_error - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - end def resource Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource end + def error_response_error + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError + end def agreement_terms Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index ea4b20fb36..ef21918de5 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -9,7 +9,6 @@ module MediaServices module Mgmt Operations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Operations Mediaservices = Azure::MediaServices::Mgmt::V2018_03_30_preview::Mediaservices - Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations Assets = Azure::MediaServices::Mgmt::V2018_03_30_preview::Assets ContentKeyPolicies = Azure::MediaServices::Mgmt::V2018_03_30_preview::ContentKeyPolicies Transforms = Azure::MediaServices::Mgmt::V2018_03_30_preview::Transforms @@ -19,12 +18,17 @@ module Mgmt LiveEvents = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveEvents LiveOutputs = Azure::MediaServices::Mgmt::V2018_03_30_preview::LiveOutputs StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_03_30_preview::StreamingEndpoints + Locations = Azure::MediaServices::Mgmt::V2018_03_30_preview::Locations module Models - Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + OperationDisplay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay + Operation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation + Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput Overlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay NoEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::NoEncryption - Operation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation CommonEncryptionCbcs = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCbcs EntityNameAvailabilityCheckOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntityNameAvailabilityCheckOutput CommonEncryptionCenc = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCenc @@ -32,27 +36,21 @@ module Models EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnvelopeEncryption ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyCollection Preset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset - ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError - Codec = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection - JobError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError + Codec = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection + JobError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError JobErrorDetail = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail - Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEndpoint AssetContainerSas = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerSas - OperationDisplay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration - Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location ListContainerSasInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput - StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount ContentKeyPolicyPlayReadyContentKeyLocation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentKeyLocation CbcsDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CbcsDrmConfiguration IPRange = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPRange ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyPlayRight LiveEventInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventInput ContentKeyPolicyPlayReadyLicense = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicense - Provider = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyWidevineConfiguration StreamingPolicyCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyCollection ContentKeyPolicyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyConfiguration @@ -66,12 +64,10 @@ module Models TransformCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransformCollection Rectangle = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rectangle LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputListResult - Filters = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties Layer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Layer - ODataError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError StreamingLocatorContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput + ODataError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError StreamingLocatorUserDefinedContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey IPAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPAccessControl AssetStorageEncryptionKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey @@ -87,7 +83,6 @@ module Models StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointAccessControl ContentKeyPolicyOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOption AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl - OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey AssetCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetCollection LiveEventListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult @@ -105,11 +100,10 @@ module Models LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl EnabledProtocols = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnabledProtocols JobInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput - TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource MediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaService - ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource Asset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset + OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOpenRestriction @@ -130,7 +124,6 @@ module Models AudioOverlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay CopyVideo = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyVideo Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video - Image = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image ImageFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat JpgFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgFormat PngFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat @@ -143,7 +136,6 @@ module Models MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat Mp4Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format PngLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer - PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoAnalyzerPreset @@ -155,13 +147,11 @@ module Models JobInputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputAsset JobInputHttp = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp JobOutputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset - Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job StreamingPolicy = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy StreamingLocator = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator LiveOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutput LiveEvent = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint - StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption @@ -183,7 +173,6 @@ module Models JobErrorCode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCode JobErrorCategory = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory JobRetry = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry - JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState TrackPropertyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKeyType @@ -195,10 +184,21 @@ module Models LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState + ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource + TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource + PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource + StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount + Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location + Image = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image + Provider = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider + JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + Filters = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters end class MediaServicesManagementClass - attr_reader :operations, :mediaservices, :locations, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :mediaservices, :assets, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :locations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -210,7 +210,6 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @operations = @client_0.operations @mediaservices = @client_0.mediaservices - @locations = @client_0.locations @assets = @client_0.assets @content_key_policies = @client_0.content_key_policies @transforms = @client_0.transforms @@ -220,6 +219,7 @@ def initialize(configurable, base_url=nil, options=nil) @live_events = @client_0.live_events @live_outputs = @client_0.live_outputs @streaming_endpoints = @client_0.streaming_endpoints + @locations = @client_0.locations @model_classes = ModelClasses.new end @@ -238,8 +238,23 @@ def method_missing(method, *args) end class ModelClasses - def format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + def storage_account_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + end + def operation_display + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay + end + def operation + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation + end + def job + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + end + def api_error + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + end + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput end def overlay Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay @@ -247,9 +262,6 @@ def overlay def no_encryption Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::NoEncryption end - def operation - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation - end def common_encryption_cbcs Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CommonEncryptionCbcs end @@ -271,48 +283,33 @@ def content_key_policy_collection def preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset end - def api_error - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + def media_service_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection end def codec Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec end - def media_service_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection + def subscription_media_service_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection end def job_error Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError end - def subscription_media_service_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection - end def job_error_detail Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail end - def resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource - end def live_event_endpoint Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEndpoint end def asset_container_sas Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerSas end - def operation_display - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay - end def cenc_drm_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration end - def location - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location - end def list_container_sas_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput end - def storage_account - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount - end def content_key_policy_play_ready_content_key_location Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentKeyLocation end @@ -331,9 +328,6 @@ def live_event_input def content_key_policy_play_ready_license Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicense end - def provider - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider - end def streaming_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyWidevineConfiguration end @@ -373,23 +367,17 @@ def rectangle def live_output_list_result Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputListResult end - def filters - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters - end def content_key_policy_properties Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties end def layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Layer end - def odata_error - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError - end def streaming_locator_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput + def odata_error + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError end def streaming_locator_user_defined_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey @@ -436,9 +424,6 @@ def content_key_policy_option def akamai_access_control Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl end - def operation_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection - end def akamai_signature_header_authentication_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey end @@ -490,21 +475,18 @@ def enabled_protocols def job_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput end - def tracked_resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource - end def media_service Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService end def subscription_media_service Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaService end - def proxy_resource - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource - end def asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset end + def operation_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection + end def content_key_policy_play_ready_content_encryption_key_from_header Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end @@ -565,9 +547,6 @@ def copy_video def video Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video end - def image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image - end def image_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat end @@ -604,9 +583,6 @@ def mp4_format def png_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer end - def png_image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage - end def built_in_standard_encoder_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset end @@ -640,9 +616,6 @@ def job_input_http def job_output_asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset end - def job - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job - end def streaming_policy Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy end @@ -658,9 +631,6 @@ def live_event def streaming_endpoint Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint end - def storage_account_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType - end def asset_storage_encryption_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat end @@ -724,9 +694,6 @@ def job_error_category def job_retry Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry end - def job_state - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState - end def track_property_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType end @@ -760,6 +727,39 @@ def stream_options_flag def streaming_endpoint_resource_state Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState end + def proxy_resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource + end + def tracked_resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource + end + def png_image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + end + def resource + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource + end + def storage_account + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount + end + def format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + end + def location + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location + end + def image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image + end + def provider + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Provider + end + def job_state + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + end + def filters + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters + end end end end diff --git a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb index dcb4b034a1..e7e41a152c 100644 --- a/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mobileengagement_profile_module.rb @@ -16,23 +16,25 @@ module Mgmt ImportTasks = Azure::MobileEngagement::Mgmt::V2014_12_01::ImportTasks module Models + ProvisioningStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates + Filter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter + ExportFormat = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat + Resource = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource CampaignState = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState ApiErrorError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError - ApiError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError ExportTaskParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter AppListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppListResult DeviceTagsParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsParameters AppCollectionListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::AppCollectionListResult DeviceTagsResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult + ApiError = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError SupportedPlatformsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult ExportOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportOptions CampaignTestSavedParameters = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTestSavedParameters DateRangeExportTaskParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter - Filter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter - DeviceMeta = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta NotificationOptions = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions CampaignsListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult - PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + DeviceMeta = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta CampaignStatisticsResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult CampaignLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignLocalization PollQuestionChoiceLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionChoiceLocalization @@ -48,7 +50,6 @@ module Models FeedbackByCampaignParameter = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::FeedbackByCampaignParameter DeviceInfo = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceInfo ImportTaskListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult - Resource = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource DeviceLocation = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation ExportTaskResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskResult Device = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Device @@ -91,7 +92,6 @@ module Models CampaignListResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignListResult CampaignResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignResult ImportTaskResult = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult - ProvisioningStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates PushModes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes CampaignTypes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignTypes DeliveryTimes = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeliveryTimes @@ -102,9 +102,9 @@ module Models CampaignType = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignType ExportState = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportState ExportType = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType - ExportFormat = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat JobStates = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates CampaignKinds = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds + PollQuestionLocalization = Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization end class MobileEngagementManagementClass @@ -143,15 +143,24 @@ def method_missing(method, *args) end class ModelClasses + def provisioning_states + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates + end + def filter + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter + end + def export_format + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat + end + def resource + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource + end def campaign_state Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState end def api_error_error Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiErrorError end - def api_error - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError - end def export_task_parameter Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportTaskParameter end @@ -167,6 +176,9 @@ def app_collection_list_result def device_tags_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceTagsResult end + def api_error + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ApiError + end def supported_platforms_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::SupportedPlatformsListResult end @@ -179,20 +191,14 @@ def campaign_test_saved_parameters def date_range_export_task_parameter Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DateRangeExportTaskParameter end - def filter - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Filter - end - def device_meta - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta - end def notification_options Azure::MobileEngagement::Mgmt::V2014_12_01::Models::NotificationOptions end def campaigns_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignsListResult end - def poll_question_localization - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + def device_meta + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceMeta end def campaign_statistics_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStatisticsResult @@ -239,9 +245,6 @@ def device_info def import_task_list_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskListResult end - def resource - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::Resource - end def device_location Azure::MobileEngagement::Mgmt::V2014_12_01::Models::DeviceLocation end @@ -368,9 +371,6 @@ def campaign_result def import_task_result Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ImportTaskResult end - def provisioning_states - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ProvisioningStates - end def push_modes Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PushModes end @@ -401,15 +401,15 @@ def export_state def export_type Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportType end - def export_format - Azure::MobileEngagement::Mgmt::V2014_12_01::Models::ExportFormat - end def job_states Azure::MobileEngagement::Mgmt::V2014_12_01::Models::JobStates end def campaign_kinds Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignKinds end + def poll_question_localization + Azure::MobileEngagement::Mgmt::V2014_12_01::Models::PollQuestionLocalization + end end end end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index 5be608eeea..7432d9b6de 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -31,19 +31,23 @@ module Models AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence - OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow - Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType - ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType + OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult + ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency + AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition + ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch - Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition @@ -52,18 +56,21 @@ module Models IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource - LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource + LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition - LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction - AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource - LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource - ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator - TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver + ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody + ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList + ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList + ActionGroupResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource + ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + ReceiverStatus = Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus EnableRequest = Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest EmailReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::EmailReceiver ActionGroupPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupPatchBody @@ -76,21 +83,14 @@ module Models ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup ItsmReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::ItsmReceiver ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList - SmsReceiver = Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver - ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody - ActionGroupList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList - ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList - ActionGroupResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource - ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - ReceiverStatus = Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus + DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy - MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource + MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse @@ -98,9 +98,9 @@ module Models TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation LocalizableString = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::LocalizableString CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse - ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity ResultType = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType + ErrorResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse end class MonitorManagementClass @@ -210,18 +210,9 @@ def metric_trigger def recurrence Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence end - def operation_display - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay - end def time_window Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow end - def operation - Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - end - def operation_list_result - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult - end def autoscale_setting_resource Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource end @@ -234,21 +225,42 @@ def time_aggregation_type def comparison_operation_type Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType end - def scale_direction - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + def operation_display + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay end def scale_type Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType end + def operation_list_result + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult + end + def scale_direction + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection + end + def operation + Azure::Monitor::Mgmt::V2015_04_01::Models::Operation + end def recurrence_frequency Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency end + def alert_rule_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + end + def log_profile_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + end + def location_threshold_rule_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition + end + def condition_operator + Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + end + def time_aggregation_operator + Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + end def alert_rule_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch end - def incident - Azure::Monitor::Mgmt::V2016_03_01::Models::Incident - end def alert_rule_resource_collection Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection end @@ -273,8 +285,8 @@ def log_profile_collection def rule_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource end - def log_profile_resource_patch - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + def incident + Azure::Monitor::Mgmt::V2016_03_01::Models::Incident end def rule_metric_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource @@ -282,12 +294,12 @@ def rule_metric_data_source def rule_management_event_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource end + def log_profile_resource_patch + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch + end def threshold_rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition end - def location_threshold_rule_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition - end def management_event_rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition end @@ -297,17 +309,26 @@ def rule_email_action def rule_webhook_action Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction end - def alert_rule_resource - Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + def sms_receiver + Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver end - def log_profile_resource - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + def activity_log_alert_patch_body + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody end - def condition_operator - Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + def action_group_list + Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList end - def time_aggregation_operator - Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + def activity_log_alert_list + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList + end + def action_group_resource + Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource + end + def activity_log_alert_resource + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + end + def receiver_status + Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus end def enable_request Azure::Monitor::Mgmt::V2017_04_01::Models::EnableRequest @@ -345,33 +366,12 @@ def itsm_receiver def activity_log_alert_action_list Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList end - def sms_receiver - Azure::Monitor::Mgmt::V2017_04_01::Models::SmsReceiver - end - def activity_log_alert_patch_body - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody - end - def action_group_list - Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupList - end - def activity_log_alert_list - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList - end - def action_group_resource - Azure::Monitor::Mgmt::V2017_04_01::Models::ActionGroupResource - end - def activity_log_alert_resource - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - end - def receiver_status - Azure::Monitor::Mgmt::V2017_04_01::Models::ReceiverStatus + def diagnostic_settings_resource + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource end def retention_policy Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy end - def metric_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings - end def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end @@ -387,8 +387,8 @@ def diagnostic_settings_resource_collection def diagnostic_settings_category_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end - def diagnostic_settings_resource - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource + def metric_settings + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end def category_type Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType @@ -411,15 +411,15 @@ def localizable_string def calculate_baseline_response Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse end - def error_response - Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse - end def sensitivity Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity end def result_type Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ResultType end + def error_response + Azure::Monitor::Mgmt::V2017_11_01_preview::Models::ErrorResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index 3a9cdce91c..3f63e32cb9 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -7,124 +7,98 @@ module Azure::Profiles::Latest module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2018_01_01::ApplicationGateways + NetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaces + NetworkSecurityGroups = Azure::Network::Mgmt::V2018_01_01::NetworkSecurityGroups + SecurityRules = Azure::Network::Mgmt::V2018_01_01::SecurityRules + PublicIPAddresses = Azure::Network::Mgmt::V2018_01_01::PublicIPAddresses + RouteTables = Azure::Network::Mgmt::V2018_01_01::RouteTables + Routes = Azure::Network::Mgmt::V2018_01_01::Routes + Usages = Azure::Network::Mgmt::V2018_01_01::Usages + VirtualNetworks = Azure::Network::Mgmt::V2018_01_01::VirtualNetworks + Subnets = Azure::Network::Mgmt::V2018_01_01::Subnets + VirtualNetworkGateways = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGateways + VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGatewayConnections + LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_01_01::ApplicationSecurityGroups AvailableEndpointServices = Azure::Network::Mgmt::V2018_01_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2018_01_01::LoadBalancerBackendAddressPools LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2018_01_01::LoadBalancerFrontendIPConfigurations InboundNatRules = Azure::Network::Mgmt::V2018_01_01::InboundNatRules LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2018_01_01::LoadBalancerLoadBalancingRules LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2018_01_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2018_01_01::NetworkInterfaceLoadBalancers - NetworkSecurityGroups = Azure::Network::Mgmt::V2018_01_01::NetworkSecurityGroups - SecurityRules = Azure::Network::Mgmt::V2018_01_01::SecurityRules DefaultSecurityRules = Azure::Network::Mgmt::V2018_01_01::DefaultSecurityRules NetworkWatchers = Azure::Network::Mgmt::V2018_01_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2018_01_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_01_01::ConnectionMonitors - Operations = Azure::Network::Mgmt::V2018_01_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2018_01_01::PublicIPAddresses RouteFilters = Azure::Network::Mgmt::V2018_01_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2018_01_01::RouteFilterRules - RouteTables = Azure::Network::Mgmt::V2018_01_01::RouteTables - Routes = Azure::Network::Mgmt::V2018_01_01::Routes BgpServiceCommunities = Azure::Network::Mgmt::V2018_01_01::BgpServiceCommunities - Usages = Azure::Network::Mgmt::V2018_01_01::Usages - VirtualNetworks = Azure::Network::Mgmt::V2018_01_01::VirtualNetworks - Subnets = Azure::Network::Mgmt::V2018_01_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkPeerings - VirtualNetworkGateways = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGateways - VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_01_01::VirtualNetworkGatewayConnections - LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways + Operations = Azure::Network::Mgmt::V2018_01_01::Operations + ApplicationGateways = Azure::Network::Mgmt::V2018_01_01::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_01_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_01_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2018_01_01::LoadBalancers module Models - TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + Origin = Azure::Network::Mgmt::V2018_01_01::Models::Origin + TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference - LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress - NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining - ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer - Error = Azure::Network::Mgmt::V2018_01_01::Models::Error ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool - AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration - EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + Error = Azure::Network::Mgmt::V2018_01_01::Models::Error VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult - EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute + EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions - SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation @@ -132,49 +106,37 @@ module Models PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties - Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem @@ -182,37 +144,121 @@ module Models AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealth ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult + ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup + ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability + ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate + ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions + RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + EndpointServiceResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult + NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + RouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter + PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule + VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + BgpServiceCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity + ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + Access = Azure::Network::Mgmt::V2018_01_01::Models::Access + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + LoadBalancerSkuName = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName + EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + EffectiveRouteSource = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource + Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction + AssociationType = Azure::Network::Mgmt::V2018_01_01::Models::AssociationType + PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + NextHopType = Azure::Network::Mgmt::V2018_01_01::Models::NextHopType + PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError + PcStatus = Azure::Network::Mgmt::V2018_01_01::Models::PcStatus + ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + IssueType = Azure::Network::Mgmt::V2018_01_01::Models::IssueType + EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + Severity = Azure::Network::Mgmt::V2018_01_01::Models::Severity + VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState + ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + BgpPeerState = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku - OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku - Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability + AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule - ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup SecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule NetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterface NetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup @@ -220,123 +266,77 @@ module Models RouteTable = Azure::Network::Mgmt::V2018_01_01::Models::RouteTable PublicIPAddress = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddress IPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration - ResourceNavigationLink = Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink Subnet = Azure::Network::Mgmt::V2018_01_01::Models::Subnet NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfiguration ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddressPool ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration - ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule - ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap + ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe ApplicationGateway = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions - ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy - EndpointServiceResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering - RouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter - ExpressRouteCircuit = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider - FrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration + ExpressRouteCircuit = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit LoadBalancingRule = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2018_01_01::Models::Probe + FrontendIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration InboundNatPool = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool - OutboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule + Probe = Azure::Network::Mgmt::V2018_01_01::Models::Probe LoadBalancer = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer - NetworkWatcher = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule - PatchRouteFilter = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter - BgpServiceCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity - VirtualNetworkPeering = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering - VirtualNetwork = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork + OutboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration - VpnClientRootCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate + VirtualNetwork = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate - VirtualNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway + VpnClientRootCertificate = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate LocalNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + VirtualNetworkGateway = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection - VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity TransportProtocol = Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol - IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod - IPVersion = Azure::Network::Mgmt::V2018_01_01::Models::IPVersion SecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol + IPAllocationMethod = Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod SecurityRuleAccess = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + IPVersion = Azure::Network::Mgmt::V2018_01_01::Models::IPVersion RouteNextHopType = Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType - PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + SecurityRuleDirection = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier - ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol - ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType - ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - Access = Azure::Network::Mgmt::V2018_01_01::Models::Access + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus + ApplicationGatewayTier = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringState ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuTier ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSkuFamily ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName LoadDistribution = Azure::Network::Mgmt::V2018_01_01::Models::LoadDistribution ProbeProtocol = Azure::Network::Mgmt::V2018_01_01::Models::ProbeProtocol NetworkOperationStatus = Azure::Network::Mgmt::V2018_01_01::Models::NetworkOperationStatus - EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol - EffectiveRouteSource = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState - ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState - AssociationType = Azure::Network::Mgmt::V2018_01_01::Models::AssociationType - Direction = Azure::Network::Mgmt::V2018_01_01::Models::Direction - Protocol = Azure::Network::Mgmt::V2018_01_01::Models::Protocol - NextHopType = Azure::Network::Mgmt::V2018_01_01::Models::NextHopType - PcProtocol = Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol - PcStatus = Azure::Network::Mgmt::V2018_01_01::Models::PcStatus - PcError = Azure::Network::Mgmt::V2018_01_01::Models::PcError - Origin = Azure::Network::Mgmt::V2018_01_01::Models::Origin - Severity = Azure::Network::Mgmt::V2018_01_01::Models::Severity - IssueType = Azure::Network::Mgmt::V2018_01_01::Models::IssueType - ConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus - ConnectionState = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState - EvaluationState = Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2018_01_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol - BgpPeerState = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_01_01::Models::ProcessorArchitecture - AuthenticationMethod = Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod - VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType + VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus + AuthenticationMethod = Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod IpsecEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity - IkeEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + Protocol = Azure::Network::Mgmt::V2018_01_01::Models::Protocol IkeIntegrity = Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity - DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + ProvisioningState = Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState PfsGroup = Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup + IkeEncryption = Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + DhGroup = Azure::Network::Mgmt::V2018_01_01::Models::DhGroup end class NetworkManagementClass - attr_reader :application_gateways, :application_security_groups, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes + attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_security_groups, :available_endpoint_services, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interface_ipconfigurations, :network_interface_load_balancers, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :route_filter_rules, :bgp_service_communities, :virtual_network_peerings, :operations, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -346,43 +346,43 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways + @network_interfaces = @client_0.network_interfaces + @network_security_groups = @client_0.network_security_groups + @security_rules = @client_0.security_rules + @public_ipaddresses = @client_0.public_ipaddresses + @route_tables = @client_0.route_tables + @routes = @client_0.routes + @usages = @client_0.usages + @virtual_networks = @client_0.virtual_networks + @subnets = @client_0.subnets + @virtual_network_gateways = @client_0.virtual_network_gateways + @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections + @local_network_gateways = @client_0.local_network_gateways @application_security_groups = @client_0.application_security_groups @available_endpoint_services = @client_0.available_endpoint_services - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations @inbound_nat_rules = @client_0.inbound_nat_rules @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces @load_balancer_probes = @client_0.load_balancer_probes - @network_interfaces = @client_0.network_interfaces @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations @network_interface_load_balancers = @client_0.network_interface_load_balancers - @network_security_groups = @client_0.network_security_groups - @security_rules = @client_0.security_rules @default_security_rules = @client_0.default_security_rules @network_watchers = @client_0.network_watchers @packet_captures = @client_0.packet_captures @connection_monitors = @client_0.connection_monitors - @operations = @client_0.operations - @public_ipaddresses = @client_0.public_ipaddresses @route_filters = @client_0.route_filters @route_filter_rules = @client_0.route_filter_rules - @route_tables = @client_0.route_tables - @routes = @client_0.routes @bgp_service_communities = @client_0.bgp_service_communities - @usages = @client_0.usages - @virtual_networks = @client_0.virtual_networks - @subnets = @client_0.subnets @virtual_network_peerings = @client_0.virtual_network_peerings - @virtual_network_gateways = @client_0.virtual_network_gateways - @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections - @local_network_gateways = @client_0.local_network_gateways + @operations = @client_0.operations + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -401,14 +401,8 @@ def method_missing(method, *args) end class ModelClasses - def topology_association - Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def operation_display + Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult @@ -416,8 +410,14 @@ def operation_list_result def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end - def network_interface_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + def origin + Azure::Network::Mgmt::V2018_01_01::Models::Origin + end + def topology_association + Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification @@ -425,12 +425,6 @@ def operation_properties_format_service_specification def virtual_network_connection_gateway_reference Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end - def load_balancer_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey - end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end @@ -446,9 +440,6 @@ def ip_tag def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult - end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end @@ -458,39 +449,18 @@ def tunnel_connection_health def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress - end - def network_interface_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - end def application_gateway_connection_draining Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end - def error_details - Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - end def application_gateway_backend_health_server Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end - def error - Azure::Network::Mgmt::V2018_01_01::Models::Error - end def application_gateway_backend_health_pool Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end - def azure_async_operation_result - Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku - end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters - end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end @@ -500,11 +470,8 @@ def bgp_peer_status def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration - end - def effective_network_security_rule - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule + def error + Azure::Network::Mgmt::V2018_01_01::Models::Error end def virtual_network_list_usage_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult @@ -521,8 +488,8 @@ def effective_network_security_group_list_result def ipaddress_availability_result Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end - def effective_route - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute + def effective_network_security_rule + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end def application_gateway_firewall_disabled_rule_group Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup @@ -530,30 +497,15 @@ def application_gateway_firewall_disabled_rule_group def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions - end - def security_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + def effective_route + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end def application_gateway_firewall_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end - def network_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - end def virtual_network_peering_list_result Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult - end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult - end def application_gateway_available_ssl_predefined_policies Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies end @@ -569,57 +521,33 @@ def application_security_group_list_result def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult - end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def network_watcher_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig - end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity - end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult - end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties - end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable - end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable - end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end @@ -629,15 +557,9 @@ def express_route_circuit_routes_table_summary def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult - end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult - end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end @@ -659,15 +581,9 @@ def vpn_device_script_parameters def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings - end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end @@ -680,6 +596,9 @@ def packet_capture_list_result def bgp_peer_status_list_result Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end @@ -695,9 +614,6 @@ def application_gateway_ssl_policy def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings - end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end @@ -707,15 +623,9 @@ def application_gateway_probe_health_response_match def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult - end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult - end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end @@ -725,9 +635,6 @@ def application_gateway_available_waf_rule_sets_result def traffic_analytics_configuration_properties Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties end - def resource - Azure::Network::Mgmt::V2018_01_01::Models::Resource - end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end @@ -737,33 +644,18 @@ def endpoint_services_list_result def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName - end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end - def connectivity_destination - Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult - end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult - end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered - end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end @@ -779,15 +671,9 @@ def virtual_network_gateway_list_connections_result def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey - end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult - end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end @@ -809,9 +695,6 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult - end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end @@ -821,15 +704,9 @@ def bgp_service_community_list_result def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult - end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult - end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList end @@ -845,63 +722,324 @@ def application_gateway_backend_health def connection_monitor_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination end + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + end def application_gateway_web_application_firewall_configuration Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration end - def connection_monitor_parameters - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult - end - def connection_monitor - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor + def connection_monitor + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end def express_route_circuits_routes_table_summary_list_result Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end + def connection_monitor_parameters + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters + end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult - end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end + def application_security_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup + end + def connectivity_destination + Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination + end + def availability + Azure::Network::Mgmt::V2018_01_01::Models::Availability + end + def application_gateway_authentication_certificate + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate + end + def resource_navigation_link + Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink + end + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet + end + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration + end + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy + end + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions + end + def route_filter_rule + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + end + def endpoint_service_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult + end + def network_watcher + Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher + end + def route_filter + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter + end + def patch_route_filter + Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter + end + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule + end + def virtual_network_peering + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + end + def bgp_service_community + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + end + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName + end + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity + end + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol + end + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth + end + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + end + def application_gateway_ssl_policy_type + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType + end + def application_gateway_redirect_type + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType + end + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + end + def access + Azure::Network::Mgmt::V2018_01_01::Models::Access + end + def application_gateway_firewall_mode + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + end + def effective_security_rule_protocol + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol + end + def load_balancer_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName + end + def effective_route_state + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState + end + def effective_route_source + Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource + end + def direction + Azure::Network::Mgmt::V2018_01_01::Models::Direction + end + def association_type + Azure::Network::Mgmt::V2018_01_01::Models::AssociationType + end + def pc_protocol + Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol + end + def next_hop_type + Azure::Network::Mgmt::V2018_01_01::Models::NextHopType + end + def pc_error + Azure::Network::Mgmt::V2018_01_01::Models::PcError + end + def pc_status + Azure::Network::Mgmt::V2018_01_01::Models::PcStatus + end + def connection_status + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus + end + def issue_type + Azure::Network::Mgmt::V2018_01_01::Models::IssueType + end + def evaluation_state + Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState + end + def severity + Azure::Network::Mgmt::V2018_01_01::Models::Severity + end + def vpn_client_protocol + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol + end + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState + end + def connection_state + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState + end + def bgp_peer_state + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState + end + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + end + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + end + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + end + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName + end + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage + end + def network_interface_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings + end + def network_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult + end + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + end + def resource + Azure::Network::Mgmt::V2018_01_01::Models::Resource + end + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + end + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + end + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + end + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + end + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + end + def security_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult + end + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + end + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + end + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + end + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + end + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + end + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + end + def network_interface_list_result + Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult + end + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + end + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + end def express_route_circuit_sku Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end - def operation_display - Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + end + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + end + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + end + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + end + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + end + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + end + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult + end + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + end + def load_balancer_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end def virtual_network_gateway_sku Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end - def availability - Azure::Network::Mgmt::V2018_01_01::Models::Availability + def azure_async_operation_result + Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult + end + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + end + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + end + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + end + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + end + def error_details + Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails + end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration + end + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration + end + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def backend_address_pool Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool end + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + end def inbound_nat_rule Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule end - def application_security_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup - end def security_rule Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule end @@ -923,9 +1061,6 @@ def public_ipaddress def ipconfiguration Azure::Network::Mgmt::V2018_01_01::Models::IPConfiguration end - def resource_navigation_link - Azure::Network::Mgmt::V2018_01_01::Models::ResourceNavigationLink - end def subnet Azure::Network::Mgmt::V2018_01_01::Models::Subnet end @@ -938,200 +1073,122 @@ def application_gateway_backend_address_pool def application_gateway_backend_http_settings Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHttpSettings end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_authentication_certificate - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAuthenticationCertificate - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFrontendPort end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener - end def application_gateway_path_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayPathRule end - def application_gateway_probe - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayHttpListener end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectConfiguration - end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap + def application_gateway_probe + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbe end def application_gateway Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleSet - end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslOptions - end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPredefinedPolicy - end - def endpoint_service_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServiceResult - end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization - end - def route_filter_rule - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule + def application_gateway_url_path_map + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayUrlPathMap end def express_route_circuit_peering Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering end - def route_filter - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter - end - def express_route_circuit - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit + def express_route_circuit_authorization + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization end def express_route_service_provider Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProvider end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration + def express_route_circuit + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit end def load_balancing_rule Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2018_01_01::Models::Probe + def frontend_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::FrontendIPConfiguration end def inbound_nat_pool Azure::Network::Mgmt::V2018_01_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule + def probe + Azure::Network::Mgmt::V2018_01_01::Models::Probe end def load_balancer Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher - end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule - end - def patch_route_filter - Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter - end - def bgp_service_community - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunity + def outbound_nat_rule + Azure::Network::Mgmt::V2018_01_01::Models::OutboundNatRule end - def virtual_network_peering - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayIPConfiguration + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientRevokedCertificate + def local_network_gateway + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway end def virtual_network_gateway Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName end def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListEntity - end def transport_protocol Azure::Network::Mgmt::V2018_01_01::Models::TransportProtocol end - def ipallocation_method - Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod - end - def ipversion - Azure::Network::Mgmt::V2018_01_01::Models::IPVersion - end def security_rule_protocol Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleProtocol end + def ipallocation_method + Azure::Network::Mgmt::V2018_01_01::Models::IPAllocationMethod + end def security_rule_access Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAccess end - def security_rule_direction - Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection + def ipversion + Azure::Network::Mgmt::V2018_01_01::Models::IPVersion end def route_next_hop_type Azure::Network::Mgmt::V2018_01_01::Models::RouteNextHopType end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSkuName - end - def application_gateway_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol + def security_rule_direction + Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleDirection end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServerHealth - end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySkuName - end - def application_gateway_tier - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier - end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslProtocol - end - def application_gateway_ssl_policy_type - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyType - end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicyName + def application_gateway_protocol + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProtocol end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRequestRoutingRuleType end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayRedirectType - end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayOperationalState - end - def application_gateway_firewall_mode - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallMode + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end def authorization_use_status Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationUseStatus end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - end - def access - Azure::Network::Mgmt::V2018_01_01::Models::Access + def application_gateway_tier + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayTier end def express_route_circuit_peering_type Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringType @@ -1148,9 +1205,6 @@ def express_route_circuit_sku_family def service_provider_provisioning_state Azure::Network::Mgmt::V2018_01_01::Models::ServiceProviderProvisioningState end - def load_balancer_sku_name - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSkuName - end def load_distribution Azure::Network::Mgmt::V2018_01_01::Models::LoadDistribution end @@ -1160,60 +1214,6 @@ def probe_protocol def network_operation_status Azure::Network::Mgmt::V2018_01_01::Models::NetworkOperationStatus end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveSecurityRuleProtocol - end - def effective_route_source - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteSource - end - def effective_route_state - Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteState - end - def provisioning_state - Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState - end - def association_type - Azure::Network::Mgmt::V2018_01_01::Models::AssociationType - end - def direction - Azure::Network::Mgmt::V2018_01_01::Models::Direction - end - def protocol - Azure::Network::Mgmt::V2018_01_01::Models::Protocol - end - def next_hop_type - Azure::Network::Mgmt::V2018_01_01::Models::NextHopType - end - def pc_protocol - Azure::Network::Mgmt::V2018_01_01::Models::PcProtocol - end - def pc_status - Azure::Network::Mgmt::V2018_01_01::Models::PcStatus - end - def pc_error - Azure::Network::Mgmt::V2018_01_01::Models::PcError - end - def origin - Azure::Network::Mgmt::V2018_01_01::Models::Origin - end - def severity - Azure::Network::Mgmt::V2018_01_01::Models::Severity - end - def issue_type - Azure::Network::Mgmt::V2018_01_01::Models::IssueType - end - def connection_status - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStatus - end - def connection_state - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionState - end - def evaluation_state - Azure::Network::Mgmt::V2018_01_01::Models::EvaluationState - end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringState - end def virtual_network_gateway_type Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayType end @@ -1226,23 +1226,17 @@ def virtual_network_gateway_sku_name def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySkuTier end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientProtocol - end - def bgp_peer_state - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerState - end def processor_architecture Azure::Network::Mgmt::V2018_01_01::Models::ProcessorArchitecture end - def authentication_method - Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionStatus end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionType + def authentication_method + Azure::Network::Mgmt::V2018_01_01::Models::AuthenticationMethod end def ipsec_encryption Azure::Network::Mgmt::V2018_01_01::Models::IpsecEncryption @@ -1250,18 +1244,24 @@ def ipsec_encryption def ipsec_integrity Azure::Network::Mgmt::V2018_01_01::Models::IpsecIntegrity end - def ike_encryption - Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + def protocol + Azure::Network::Mgmt::V2018_01_01::Models::Protocol end def ike_integrity Azure::Network::Mgmt::V2018_01_01::Models::IkeIntegrity end - def dh_group - Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + def provisioning_state + Azure::Network::Mgmt::V2018_01_01::Models::ProvisioningState end def pfs_group Azure::Network::Mgmt::V2018_01_01::Models::PfsGroup end + def ike_encryption + Azure::Network::Mgmt::V2018_01_01::Models::IkeEncryption + end + def dh_group + Azure::Network::Mgmt::V2018_01_01::Models::DhGroup + end end end end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 655bfad2cf..9585607879 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,30 +9,30 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models - ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle - SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic - Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork - Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat + ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject end class NewsSearchDataClass @@ -65,78 +65,78 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + def organization + Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization end - def error - Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject end - def query - Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + def response + Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end def news_article Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end - def search_results_answer - Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer - end def news Azure::CognitiveServices::NewsSearch::V1_0::Models::News end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end def news_topic Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end - def article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + def query + Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + end + def response_base + Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + end + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end + def search_results_answer + Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end def identifiable Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::NewsSearch::V1_0::Models::Response - end def answer Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def creative_work Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork end - def organization - Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - end - def error_response - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - end def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - end def safe_search Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch end def text_format Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end + def error_response + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + end + def article + Azure::CognitiveServices::NewsSearch::V1_0::Models::Article + end + def freshness + Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + end + def error + Azure::CognitiveServices::NewsSearch::V1_0::Models::Error + end + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end end end end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index d481e842fd..d74f445e9e 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -8,26 +8,10 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations - Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs + Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces module Models - ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters @@ -38,18 +22,34 @@ module Models NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource + Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse + SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource + Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName - NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end class NotificationHubsManagementClass - attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :notification_hubs, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -60,8 +60,8 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -80,54 +80,6 @@ def method_missing(method, *args) end class ModelClasses - def resource_list_keys - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys - end - def policykey_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - end - def operation - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - end - def apns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - end - def error_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - end - def wns_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential - end - def check_availability_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters - end - def gcm_credential - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - end - def operation_display - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - end - def operation_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - end - def sku - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - end - def shared_access_authorization_rule_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - end - def sub_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - end - def notification_hub_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult - end - def shared_access_authorization_rule_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource - end def shared_access_authorization_rule_properties Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties end @@ -158,6 +110,9 @@ def namespace_resource def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end + def sku + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku + end def notification_hub_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end @@ -170,18 +125,63 @@ def notification_hub_resource def debug_send_response Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse end + def sub_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + end + def namespace_type + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + end def pns_credentials_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource end + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource + end def sku_name Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName end - def namespace_type - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult end def access_rights Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + end + def operation + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + end + def resource_list_keys + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys + end + def policykey_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource + end + def apns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential + end + def wns_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + end + def check_availability_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters + end + def gcm_credential + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential + end + def shared_access_authorization_rule_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters + end + def notification_hub_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult + end + def shared_access_authorization_rule_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult + end end end end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 5f7eec328a..7232eea931 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,19 +9,20 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches - LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices - DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations + LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices + DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources module Models + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary - StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch @@ -31,42 +32,41 @@ module Models SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata - WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku + Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay - UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult + MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack - Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys - Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult - ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService - DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :workspaces, :operations, :linked_services, :data_sources, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -84,10 +84,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @linked_services = @client_1.linked_services - @data_sources = @client_1.data_sources @workspaces = @client_1.workspaces @operations = @client_1.operations + @linked_services = @client_1.linked_services + @data_sources = @client_1.data_sources @model_classes = ModelClasses.new end @@ -108,6 +108,12 @@ def method_missing(method, *args) end class ModelClasses + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end + def storage_account + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -126,9 +132,6 @@ def search_parameters def core_summary Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end - def storage_account - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount - end def search_metadata_schema Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema end @@ -156,9 +159,6 @@ def search_error def workspace_purge_body_filters Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end def workspace_purge_body Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody end @@ -168,33 +168,42 @@ def workspace_purge_response def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata end - def workspace_purge_status_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - end def storage_insight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end def search_sort_enum Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum end - def storage_insight_state - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + def workspace_purge_status_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end - def metric_name - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + end + def sku_name_enum + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + end + def sku + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku + end + def resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource end def operation_display Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay end - def usage_metric - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric - end def operation_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult end + def metric_name + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + end + def usage_metric + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric + end def workspace_list_usages_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult end @@ -213,42 +222,33 @@ def workspace_list_management_groups_result def intelligence_pack Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack end - def sku - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - end - def operation - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation - end def shared_keys Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys end - def resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource - end def data_source_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult end - def proxy_resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - end def workspace_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult end def linked_service Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService end - def data_source - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + def operation + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + end + def proxy_resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end def workspace Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end + def data_source + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + end def data_source_kind Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind end - def sku_name_enum - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum - end def entity_status Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 19d680f1f2..8ca73cb485 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -8,25 +8,25 @@ module Azure::Profiles::Latest module Policy module Mgmt PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions - PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments PolicySetDefinitions = Azure::Policy::Mgmt::V2017_06_01_preview::PolicySetDefinitions + PolicyAssignments = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyAssignments module Models PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode - ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType PolicyAssignment = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult + PolicyDefinitionReference = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition PolicySku = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku + ErrorResponse = Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult - PolicyType = Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType end class PolicyManagementClass - attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_definitions, :policy_set_definitions, :policy_assignments, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @policy_assignments = @client_1.policy_assignments @policy_set_definitions = @client_1.policy_set_definitions + @policy_assignments = @client_1.policy_assignments @model_classes = ModelClasses.new end @@ -74,30 +74,30 @@ def policy_definition_list_result def policy_mode Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode end - def error_response - Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse - end - def policy_definition_reference - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + def policy_type + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType end def policy_assignment Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignment end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult + end + def policy_definition_reference + Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyDefinitionReference + end def policy_set_definition Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinition end def policy_sku Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySku end + def error_response + Azure::Policy::Mgmt::V2017_06_01_preview::Models::ErrorResponse + end def policy_set_definition_list_result Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicySetDefinitionListResult end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyAssignmentListResult - end - def policy_type - Azure::Policy::Mgmt::V2017_06_01_preview::Models::PolicyType - end end end end diff --git a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb index 49e79b35b4..5c6665bd8c 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -7,11 +7,17 @@ module Azure::Profiles::Latest module PolicyInsights module Mgmt + Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates - Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations module Models + QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults @@ -19,19 +25,13 @@ module Models QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent - Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end class PolicyInsightsManagementClass - attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :policy_events, :policy_states, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,9 +41,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @policy_events = @client_0.policy_events @policy_states = @client_0.policy_states - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -62,6 +62,24 @@ def method_missing(method, *args) end class ModelClasses + def query_failure_error + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + end + def query_options + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + end + def summary_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + end + def policy_states_resource + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end + def operation + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation + end def policy_definition_summary Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary end @@ -83,33 +101,15 @@ def summarize_results def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - end def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end - def operation - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - end def policy_state Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState end def operations_list_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults end - def query_failure_error - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - end - def query_options - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions - end - def summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - end - def policy_states_resource - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource - end end end end diff --git a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb index 215c4dbc2c..8053e14052 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -7,33 +7,33 @@ module Azure::Profiles::Latest module PowerBiEmbedded module Mgmt - WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces + WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections module Models - Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey - Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest - Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display + Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest - AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku + Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse - WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName - CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end class PowerBiEmbeddedManagementClass - attr_reader :workspace_collections, :workspaces, :configurable, :base_url, :options, :model_classes + attr_reader :workspaces, :workspace_collections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @workspace_collections = @client_0.workspace_collections @workspaces = @client_0.workspaces + @workspace_collections = @client_0.workspace_collections @model_classes = ModelClasses.new end @@ -63,15 +63,12 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + def check_name_reason + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end def operation_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - end def workspace_collection_access_keys Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys end @@ -81,35 +78,41 @@ def workspace_collection def workspace_collection_access_key Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey end + def create_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + end + def operation + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation + end def workspace Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace end - def create_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest + def update_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest end def display Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display end - def update_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest + def check_name_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end def azure_sku Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku end - def check_name_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest + def check_name_response + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse end def workspace_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList end - def check_name_response - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse + def migrate_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest end def workspace_collection_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList end - def migrate_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end def error_detail Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail @@ -117,9 +120,6 @@ def error_detail def access_key_name Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName end - def check_name_reason - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb index e4a5a707d8..c628fb3d92 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,19 +7,35 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults - Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations - Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages module Models + ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails + NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo + ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails + ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails + PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest - Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse @@ -27,7 +43,6 @@ module Models VaultList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultList ReplicationUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsage ClientDiscoveryDisplay = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay - Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary @@ -35,25 +50,10 @@ module Models ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList - VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails - NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo - ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource - PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault - VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource - AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName - VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType - UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit end class RecoveryServicesManagementClass - attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usages, :vault_certificates, :registered_identities, :replication_usages, :vaults, :vault_extended_info_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -63,13 +63,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations + @usages = @client_0.usages @vault_certificates = @client_0.vault_certificates @registered_identities = @client_0.registered_identities @replication_usages = @client_0.replication_usages @vaults = @client_0.vaults - @operations = @client_0.operations @vault_extended_info_operations = @client_0.vault_extended_info_operations - @usages = @client_0.usages @model_classes = ModelClasses.new end @@ -88,6 +88,57 @@ def method_missing(method, *args) end class ModelClasses + def resource_certificate_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails + end + def name_info + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo + end + def resource_certificate_and_aad_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails + end + def resource_certificate_and_acs_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails + end + def patch_tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + end + def patch_vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault + end + def vault_extended_info_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + end + def auth_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType + end + def tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + end + def vault_upgrade_state + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + end + def sku + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + end + def usages_unit + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + end + def trigger_type + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + end + def vault_properties + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + end + def resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + end + def sku_name + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + end + def vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault + end def client_discovery_value_for_single_api Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi end @@ -97,9 +148,6 @@ def client_discovery_response def certificate_request Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest end - def resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource - end def client_discovery_for_properties Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties end @@ -121,9 +169,6 @@ def replication_usage def client_discovery_display Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay end - def sku - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku - end def client_discovery_for_service_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification end @@ -145,51 +190,6 @@ def upgrade_details def replication_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList end - def vault_properties - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - end - def resource_certificate_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails - end - def name_info - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo - end - def resource_certificate_and_aad_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - end - def resource_certificate_and_acs_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - end - def tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource - end - def patch_tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - end - def vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - end - def patch_vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault - end - def vault_extended_info_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource - end - def auth_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - end - def sku_name - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName - end - def vault_upgrade_state - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState - end - def trigger_type - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType - end - def usages_unit - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index 03a2f822ae..3fea13abaa 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -33,78 +33,24 @@ module Mgmt BackupProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupProtectionContainers SecurityPINs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::SecurityPINs BackupResourceStorageConfigs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupResourceStorageConfigs + Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport BackupJobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupJobs JobDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::JobDetails ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults - Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries module Models - ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay - ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification + ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryResponse = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification - BMSContainerQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject - BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject - KeyAndSecretDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails - WorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem - KEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails - TokenInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation - GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject - GenericContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo - TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo - EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails - RecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint - ProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer - SQLDataDirectory = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory - ProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer - OperationStatusExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo - InquiryValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation - WorkloadInquiryDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails - InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo - DistributedNodesInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo - AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo - InstantItemRecoveryTarget = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget - PreBackupValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation - ContainerIdentityInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo - WorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem - PointInTimeRange = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange - ClientScriptForConnect = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect - RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs - BMSWorkloadItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject - AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo - OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus - BMSRPQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject - OperationStatusError = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError - TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo - MabContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo - SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping - BMSRefreshContainersQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject - RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation - BackupEngineExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo - BackupEngineBase = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase - BEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails - MABContainerHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails - DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo - ILRRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest - BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest - BMSBackupEnginesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject - BackupResourceConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig - BMSBackupEngineQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject - BackupResourceVaultConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig - AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer - AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine - AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest - AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem - AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest AzureIaaSClassicComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem @@ -142,6 +88,7 @@ module Models GenericRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint IaasVMBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest IaaSVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus IaasVMILRRegistrationRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest IaaSVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem IaasVMRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint @@ -149,174 +96,227 @@ module Models ILRRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequestResource MabContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer OperationStatusJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo - OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo - ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList - RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList + RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource WorkloadItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource - WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList WorkloadProtectableItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource - WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList AzureFileShareType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType - RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList CopyOptions = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::CopyOptions + RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType RestoreRequestType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestType InquiryStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryType - BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType RestorePointType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType OverwriteOptions = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions - StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType StorageTypeState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState - EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType + EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState RestorePointQueryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType WorkloadItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemType RecoveryPointTierType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType RecoveryPointTierStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus - BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues - DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo - ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail - SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy - MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo - AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo - Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource - AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails - AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails - AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo - MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo - NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo - ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent - BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList - PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse - BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest - BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject - AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse - Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat - OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration - ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList - DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule - AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails - DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo - ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy - AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo - ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo - AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo - RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject - MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule - AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo - FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest - SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy - WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat - ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject - WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo - Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job - OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse - JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem - AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType + StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + BMSContainerQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject + BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject + KeyAndSecretDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails + WorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem + KEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails + TokenInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation + GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject + GenericContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo + TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo + EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails + RecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint + ProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer + SQLDataDirectory = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory + ProtectableContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer + OperationStatusExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo + InquiryValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation + WorkloadInquiryDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails + InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo + DistributedNodesInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo + AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo + InstantItemRecoveryTarget = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget + PreBackupValidation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation + ContainerIdentityInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo + WorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem + PointInTimeRange = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange + ClientScriptForConnect = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect + RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs + BMSWorkloadItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject + AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo + BMSRPQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject + OperationStatusError = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError + TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo + MabContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo + SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping + BMSRefreshContainersQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject + RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation + BackupEngineExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo + BackupEngineBase = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase + BEKDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails + MABContainerHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails + DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo + ILRRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest + BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest + RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest + BMSBackupEnginesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject + BackupResourceConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig + BMSBackupEngineQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject + BackupResourceVaultConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig + AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer + AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine + AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest + AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem + AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint + Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSVMProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy - AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy - AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob - AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek + HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy + JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem - AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem - ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo GenericProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem GenericProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy - JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList LogSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy LongTermRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy + RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy LongTermSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem - MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource ProtectionPolicyResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource - ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList SimpleRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy SimpleSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy + HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode ProtectionState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState HealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction ProtectedItemState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus LastBackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus - UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType + Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType + WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType ProtectionStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type RetentionDurationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType - BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType - DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek RetentionScheduleFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat WeekOfMonth = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth MonthOfYear = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear - MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType - WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType - HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode - ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus - HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType - end - - class RecoveryServicesBackupManagementClass - attr_reader :operations, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :jobs, :backup_policies, :backup_protected_items, :backup_usage_summaries, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - @operations = @client_0.operations - - @client_1 = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) - if(@client_1.respond_to?(:subscription_id)) + NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit + Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy + DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + end + + class RecoveryServicesBackupManagementClass + attr_reader :operations, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :jobs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id + end + add_telemetry(@client_0) + @operations = @client_0.operations + + @client_1 = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) + if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) @@ -351,13 +351,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @jobs = @client_2.jobs @protection_intent_operations = @client_2.protection_intent_operations @backup_status = @client_2.backup_status @feature_support = @client_2.feature_support @backup_jobs = @client_2.backup_jobs @job_details = @client_2.job_details @export_jobs_operation_results = @client_2.export_jobs_operation_results - @jobs = @client_2.jobs @backup_policies = @client_2.backup_policies @backup_protected_items = @client_2.backup_protected_items @backup_usage_summaries = @client_2.backup_usage_summaries @@ -383,296 +383,137 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_for_properties - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties - end def client_discovery_display Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay end - def client_discovery_value_for_single_api - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi - end def client_discovery_for_service_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification end + def client_discovery_for_properties + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties + end def client_discovery_response Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse end def client_discovery_for_log_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification end - def bmscontainer_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject + def client_discovery_value_for_single_api + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end - def bmspoquery_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject + def azure_file_share_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest end - def key_and_secret_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails + def azure_iaa_sclassic_compute_vmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer end - def workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem + def azure_iaa_sclassic_compute_vmprotectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem end - def kekdetails - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails + def azure_iaa_scompute_vmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer end - def token_information - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation + def azure_iaa_scompute_vmprotectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem end - def get_protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject + def azure_sqlagworkload_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer end - def generic_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo + def azure_sql_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer end - def target_afsrestore_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo + def azure_storage_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer end - def encryption_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails + def azure_storage_protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer end - def recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint + def azure_vmapp_container_protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer end - def protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer + def azure_workload_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer end - def sqldata_directory - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory + def azure_vmapp_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer end - def protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer + def azure_vm_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem end - def operation_status_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo + def azure_vm_workload_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem end - def inquiry_validation - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation + def azure_vm_workload_sqlavailability_group_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem end - def workload_inquiry_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails + def azure_vm_workload_sqldatabase_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem end - def inquiry_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo + def azure_vm_workload_sqldatabase_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem end - def distributed_nodes_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo + def azure_vm_workload_sqlinstance_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem end - def azure_workload_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo + def azure_vm_workload_sqlinstance_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem end - def instant_item_recovery_target - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget + def azure_workload_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest end - def pre_backup_validation - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation + def azure_workload_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint end - def container_identity_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo + def azure_workload_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRestoreRequest end - def workload_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem + def azure_workload_sqlrecovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint end - def point_in_time_range - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange + def azure_workload_sqlpoint_in_time_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint end - def client_script_for_connect - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect + def azure_workload_sqlrestore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRestoreRequest end - def restore_file_specs - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs + def azure_workload_sqlpoint_in_time_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest end - def bmsworkload_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject + def backup_engine_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource end - def azure_workload_sqlrecovery_point_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo + def backup_engine_base_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList end - def operation_status - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus + def backup_request_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource end - def bmsrpquery_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject + def backup_resource_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource end - def operation_status_error - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError + def backup_resource_vault_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource end - def target_restore_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo + def dpm_backup_engine + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine end - def mab_container_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo + def dpm_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer end - def sqldata_directory_mapping - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping + def generic_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer end - def bmsrefresh_containers_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject + def generic_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint end - def recovery_point_tier_information - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation + def iaas_vmbackup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest end - def backup_engine_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo + def iaa_svmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer end - def backup_engine_base - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase - end - def bekdetails - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails - end - def mabcontainer_health_details - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails - end - def dpmcontainer_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo - end - def ilrrequest - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest - end - def backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - end - def restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest - end - def bmsbackup_engines_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject - end - def backup_resource_config - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig - end - def bmsbackup_engine_query_object - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject - end - def backup_resource_vault_config - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig - end - def azure_backup_server_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer - end - def azure_backup_server_engine - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine - end - def azure_file_share_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest - end - def azure_file_share_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem - end - def azure_file_share_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint - end - def azure_file_share_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRestoreRequest - end - def azure_iaa_sclassic_compute_vmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer - end - def azure_iaa_sclassic_compute_vmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem - end - def azure_iaa_scompute_vmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer - end - def azure_iaa_scompute_vmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem - end - def azure_sqlagworkload_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer - end - def azure_sql_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer - end - def azure_storage_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageContainer - end - def azure_storage_protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureStorageProtectableContainer - end - def azure_vmapp_container_protectable_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectableContainer - end - def azure_workload_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer - end - def azure_vmapp_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer - end - def azure_vm_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem - end - def azure_vm_workload_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem - end - def azure_vm_workload_sqlavailability_group_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem - end - def azure_vm_workload_sqldatabase_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem - end - def azure_vm_workload_sqldatabase_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem - end - def azure_vm_workload_sqlinstance_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem - end - def azure_vm_workload_sqlinstance_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem - end - def azure_workload_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest - end - def azure_workload_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint - end - def azure_workload_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRestoreRequest - end - def azure_workload_sqlrecovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint - end - def azure_workload_sqlpoint_in_time_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint - end - def azure_workload_sqlrestore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRestoreRequest - end - def azure_workload_sqlpoint_in_time_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest - end - def backup_engine_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource - end - def backup_engine_base_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList - end - def backup_request_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource - end - def backup_resource_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource - end - def backup_resource_vault_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource - end - def dpm_backup_engine - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine - end - def dpm_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer - end - def generic_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer - end - def generic_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint - end - def iaas_vmbackup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest - end - def iaa_svmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + def operation_status + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus end def iaas_vmilrregistration_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest @@ -695,54 +536,54 @@ def mab_container def operation_status_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo end - def operation_status_jobs_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo - end def operation_status_provision_ilrextended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo end - def protectable_container_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + def operation_status_jobs_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo end def protectable_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end + def protectable_container_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + end def protection_container_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource end def protection_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end - def recovery_point_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource - end def recovery_point_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList end + def recovery_point_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource + end def restore_request_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource end def workload_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource end - def workload_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList - end def workload_protectable_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource end - def workload_protectable_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList + def workload_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList end def azure_file_share_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType end - def recovery_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + def workload_protectable_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList end def copy_options Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::CopyOptions end + def recovery_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryType + end def restore_request_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestType end @@ -752,27 +593,24 @@ def inquiry_status def sqldata_directory_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryType end - def backup_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType - end def restore_point_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType end def overwrite_options Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OverwriteOptions end - def storage_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + def backup_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType end def storage_type_state Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState end - def enhanced_security_state - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState - end def container_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType end + def enhanced_security_state + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState + end def restore_point_query_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType end @@ -785,185 +623,185 @@ def recovery_point_tier_type def recovery_point_tier_status Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus end - def backup_item_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType - end def operation_status_values Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues end - def dpm_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - end - def dpm_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + def backup_item_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType end - def error_detail - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + def storage_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end - def schedule_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + def bmscontainer_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSContainerQueryObject end - def mab_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + def bmspoquery_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject end - def azure_workload_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + def key_and_secret_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KeyAndSecretDetails end - def resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + def workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItem end - def azure_workload_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + def kekdetails + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::KEKDetails end - def azure_iaa_svmhealth_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + def token_information + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TokenInformation end - def azure_workload_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + def get_protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject end - def azure_iaa_svmjob_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + def generic_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainerExtendedInfo end - def mab_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + def target_afsrestore_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetAFSRestoreInfo end - def azure_iaa_svmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + def encryption_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EncryptionDetails end - def name_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + def recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPoint end - def protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + def protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainer end - def backup_management_usage - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + def sqldata_directory + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory end - def azure_sql_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + def protectable_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainer end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def operation_status_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo end - def pre_validate_enable_backup_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + def inquiry_validation + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryValidation end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + def workload_inquiry_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadInquiryDetails end - def azure_storage_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + def inquiry_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo end - def backup_status_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + def distributed_nodes_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DistributedNodesInfo end - def pre_validate_enable_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + def azure_workload_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo end - def bmsbackup_summaries_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + def instant_item_recovery_target + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InstantItemRecoveryTarget end - def azure_vmresource_feature_support_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + def pre_backup_validation + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PreBackupValidation end - def day - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + def container_identity_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo end - def settings - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + def workload_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItem end - def daily_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + def point_in_time_range + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::PointInTimeRange end - def operation_result_info_base - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + def client_script_for_connect + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ClientScriptForConnect end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def restore_file_specs + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreFileSpecs end - def resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + def bmsworkload_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSWorkloadItemQueryObject end - def daily_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + def azure_workload_sqlrecovery_point_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo end - def azure_iaa_svmjob_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + def bmsrpquery_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRPQueryObject end - def dpm_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + def operation_status_error + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError end - def protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + def target_restore_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::TargetRestoreInfo end - def azure_fileshare_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + def mab_container_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainerExtendedInfo end - def protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + def sqldata_directory_mapping + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectoryMapping end - def mab_file_folder_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + def bmsrefresh_containers_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSRefreshContainersQueryObject end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def recovery_point_tier_information + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation end - def mab_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + def backup_engine_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineExtendedInfo end - def azure_vm_workload_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + def backup_engine_base + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBase end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def bekdetails + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BEKDetails end - def retention_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + def mabcontainer_health_details + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MABContainerHealthDetails end - def yearly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + def dpmcontainer_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def ilrrequest + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest end - def monthly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + def backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest end - def azure_storage_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + def restore_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequest end - def feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + def bmsbackup_engines_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEnginesQueryObject end - def sub_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy + def backup_resource_config + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig end - def weekly_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + def bmsbackup_engine_query_object + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSBackupEngineQueryObject end - def protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + def backup_resource_vault_config + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfig end - def weekly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + def azure_backup_server_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer end - def azure_iaa_svmerror_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + def azure_backup_server_engine + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine end - def job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + def azure_file_share_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest end - def operation_worker_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + def azure_file_share_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem end - def job_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + def azure_file_share_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint end - def azure_fileshare_protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + def type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type end - def azure_file_share_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy + def job_operation_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + end + def mab_server_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + end + def azure_iaa_svmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem end def azure_iaa_sclassic_compute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem @@ -971,17 +809,11 @@ def azure_iaa_sclassic_compute_vmprotected_item def azure_iaa_scompute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - end - def azure_iaa_svmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem - end def azure_iaa_svmprotection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy end - def azure_resource_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + def validation_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus end def azure_sql_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem @@ -989,137 +821,104 @@ def azure_sql_protected_item def azure_sql_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy end - def azure_storage_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + def day_of_week + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek end - def azure_vmresource_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + def health_state + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState end def azure_vm_workload_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy end + def job_supported_action + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + end def azure_vm_workload_sqldatabase_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem end - def azure_workload_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - end - def dpm_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + def data_source_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType end def dpmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem end - def export_jobs_operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo - end def generic_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem end def generic_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy end - def job_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList - end def log_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy end def long_term_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy end + def retention_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + end def long_term_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy end def mab_file_folder_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem end - def mab_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob - end def mab_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + def job_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus end - def operation_result_info_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + def job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job end def protected_item_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource end - def protected_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - end - def protection_intent_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource - end def protection_policy_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource end - def protection_policy_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - end def simple_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy end def simple_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy end + def http_status_code + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + end def protection_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState end def health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - end def protected_item_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus - end def last_backup_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus end def protected_item_health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus end - def usages_unit - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - end - def data_source_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType - end - def protection_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - end - def fabric_name - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - end - def type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + def resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource end - def retention_duration_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType + def error_detail + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail end def backup_management_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType end - def job_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + def workload_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType end - def job_operation_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType + def protection_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus end - def day_of_week - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek + def retention_duration_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType end def retention_schedule_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat @@ -1130,23 +929,224 @@ def week_of_month def month_of_year Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear end - def mab_server_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + def schedule_run_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType end - def workload_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType + def name_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo end - def http_status_code - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + def usages_unit + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit end - def validation_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + def settings + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings end - def health_state - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState + def sub_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy end - def schedule_run_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType + def dpm_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + end + def dpm_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + end + def resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + end + def mab_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo + end + def azure_workload_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo + end + def azure_workload_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo + end + def azure_iaa_svmjob_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + end + def mab_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails + end + def protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + end + def backup_management_usage + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + end + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + end + def pre_validate_enable_backup_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + end + def azure_iaa_svmhealth_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + end + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + end + def backup_status_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + end + def pre_validate_enable_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + end + def bmsbackup_summaries_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + end + def azure_vmresource_feature_support_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + end + def azure_sql_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + end + def azure_storage_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails + end + def azure_iaa_svmjob_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + end + def operation_result_info_base + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase + end + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + end + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + end + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + end + def daily_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + end + def daily_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + end + def day + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + end + def mab_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo + end + def azure_vm_workload_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + end + def azure_storage_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + end + def mab_file_folder_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + end + def schedule_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + end + def azure_iaa_svmerror_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo + end + def operation_worker_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse + end + def dpm_error_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo + end + def protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + end + def weekly_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + end + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + end + def job_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject + end + def azure_workload_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + end + def yearly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + end + def export_jobs_operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + end + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + end + def weekly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + end + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + end + def feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest + end + def azure_fileshare_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo + end + def azure_vmresource_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + end + def protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem + end + def dpm_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + end + def operation_result_info_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource + end + def azure_resource_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + end + def azure_storage_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + end + def protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject + end + def azure_workload_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + end + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + end + def monthly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + end + def job_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + end + def azure_iaa_svmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + end + def mab_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + end + def operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + end + def fabric_name + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName + end + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + end + def protection_intent_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource + end + def protection_policy_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + end + def azure_fileshare_protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + end + def azure_file_share_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index 98d1e3110c..3e9279e62f 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,7 +7,9 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt + Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Operations ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationVaultHealth + RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::RecoveryPoints ReplicationProtectedItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectedItems ReplicationNetworkMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationNetworkMappings ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationFabrics @@ -15,13 +17,11 @@ module Mgmt ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassificationMappings ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationStorageClassifications ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryServicesProviders - RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::RecoveryPoints ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationRecoveryPlans ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainers ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectionContainerMappings ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationProtectableItems ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationPolicies - Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Operations ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationNetworks ReplicationLogicalNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationLogicalNetworks ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationJobs @@ -29,6 +29,100 @@ module Mgmt ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::ReplicationAlertSettings module Models + HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails + HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails + HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + A2AEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails + InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails + InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails + ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails + InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput + HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput + InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + A2AFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput + HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput + InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + A2AReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput + HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput + FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails + VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails + ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails + VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails + RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails + RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails + ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails + FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails + HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + A2AContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput + A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput + InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails + HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails + RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails + A2APolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails + HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput + HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput + VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput + A2APolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput + RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails + RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails + RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput + RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput + ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation + AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput + RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType + LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections + FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel + SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason + HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory + RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus + RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation + HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption + InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType + RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event + PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection + RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails + JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity StorageClassificationProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties CreateRecoveryPlanInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput RecoveryPlanActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails @@ -42,7 +136,6 @@ module Models RunAsAccount = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount EventCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection RecoveryPlanCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection - EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails CreateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties FabricProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties MasterTargetServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer @@ -58,7 +151,6 @@ module Models RecoveryPlanPlannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput JobErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails RecoveryPlanUnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties - JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails RecoveryPlanUnplannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput ARMExceptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails RecoveryPlanTestFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties @@ -153,7 +245,6 @@ module Models StorageClassificationMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties OperationsDiscoveryCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection FailoverReplicationProtectedItemDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails - PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection StorageClassificationMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection UpdatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties StorageMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties @@ -183,7 +274,6 @@ module Models ReplicationProtectedItemCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection CreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput ProtectedItemsQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter - Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display HealthErrorSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary CreatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties ResourceHealthSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary @@ -196,168 +286,78 @@ module Models ConfigureAlertRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties DiskVolumeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput - Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource - JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display A2AVmManagedDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet - A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings - InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput + EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails InMageDiskSignatureExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions - EventQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter + InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties - AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails + EventQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint - ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask - RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties A2AProtectedManagedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails - PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties + ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event - Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping - Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network + Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric + ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem - ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer - RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan - RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint + Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification - StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan VCenter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter VaultHealthDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings - VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings AzureToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput VmmToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput - VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput VmmToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput - AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails - VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails + VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails - VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails - HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails + AzureFabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails + VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails HyperVReplicaReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails - HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails - InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails + VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails + HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails A2AReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails - HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput - SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput + HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails + InMageAzureV2ReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails InMageAzureV2EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput InMageEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput - A2AEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput - HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + HyperVReplicaAzureEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput + SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput InMageAzureV2UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput - HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails - HyperVReplica2012EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + A2AEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput + HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput HyperVReplica2012R2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails - HyperVReplicaAzureEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails - A2AEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails - InMageAzureV2EventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails - JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails - HyperVVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails - VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails - ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails - InMageAzureV2RecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails - InMageDisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput - HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput - HyperVReplicaAzureFailbackProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput - InMageAzureV2FailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput - InMageFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput - A2AFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput - HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput - InMageAzureV2ReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput - InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput - A2AReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput - HyperVReplicaAzureApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput - InMageAzureV2ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput - A2AApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput - JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails - VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails - FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails - ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails - ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails - VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails - ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails - AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails - InlineWorkflowTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails - RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails - RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails - AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails - TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails - FailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails - ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails - SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails - A2AContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput - A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput - HyperVReplicaAzurePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails - HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails - HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails - HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails - InMageBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails - InMageAzureV2PolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails - InMagePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails - A2APolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails - RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails - VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails - HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput - HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput - HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput - InMageAzureV2PolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput - InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput - A2APolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput - VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput - RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails - RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails - RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails - RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput - RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput - RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput - RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput - RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput - AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput - VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput - RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType - ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation - PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections - FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel - SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations - IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType - LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType - DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason - HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory - Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity - RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus - SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus - RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation - HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType - DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus - AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption - InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType - RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType - A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :replication_vault_health, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_recovery_services_providers, :recovery_points, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_policies, :operations, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :replication_vault_health, :recovery_points, :replication_protected_items, :replication_network_mappings, :replication_fabrics, :replicationv_centers, :replication_storage_classification_mappings, :replication_storage_classifications, :replication_recovery_services_providers, :replication_recovery_plans, :replication_protection_containers, :replication_protection_container_mappings, :replication_protectable_items, :replication_policies, :replication_networks, :replication_logical_networks, :replication_jobs, :replication_events, :replication_alert_settings, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -367,7 +367,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @replication_vault_health = @client_0.replication_vault_health + @recovery_points = @client_0.recovery_points @replication_protected_items = @client_0.replication_protected_items @replication_network_mappings = @client_0.replication_network_mappings @replication_fabrics = @client_0.replication_fabrics @@ -375,13 +377,11 @@ def initialize(configurable, base_url=nil, options=nil) @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings @replication_storage_classifications = @client_0.replication_storage_classifications @replication_recovery_services_providers = @client_0.replication_recovery_services_providers - @recovery_points = @client_0.recovery_points @replication_recovery_plans = @client_0.replication_recovery_plans @replication_protection_containers = @client_0.replication_protection_containers @replication_protection_container_mappings = @client_0.replication_protection_container_mappings @replication_protectable_items = @client_0.replication_protectable_items @replication_policies = @client_0.replication_policies - @operations = @client_0.operations @replication_networks = @client_0.replication_networks @replication_logical_networks = @client_0.replication_logical_networks @replication_jobs = @client_0.replication_jobs @@ -405,980 +405,980 @@ def method_missing(method, *args) end class ModelClasses - def storage_classification_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties + def hyper_vreplica_azure_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails end - def create_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput + def hyper_vreplica_base_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails end - def recovery_plan_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails + def hyper_vreplica2012_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails end - def alert_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertCollection + def job_status_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails end - def recovery_plan_action - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAction + def hyper_vvirtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails end - def configure_alert_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequest + def a2_aevent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails end - def recovery_plan_group - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroup + def in_mage_azure_v2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails end - def event_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventSpecificDetails + def in_mage_azure_v2_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails end - def recovery_plan_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProperties + def in_mage_disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput end - def event_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProperties + def vmware_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails end - def run_as_account - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount + def replication_group_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails end - def event_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection + def in_mage_azure_v2_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput end - def recovery_plan_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection + def in_mage_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput end - def encryption_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails + def hyper_vreplica_azure_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput end - def create_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties + def hyper_vreplica_azure_failback_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput end - def fabric_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties + def in_mage_azure_v2_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput end - def master_target_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer + def in_mage_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput end - def fabric_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCollection + def a2_afailover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput end - def update_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInputProperties + def hyper_vreplica_azure_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput end - def fabric_creation_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInputProperties + def in_mage_azure_v2_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput end - def update_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInput + def a2_aapply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput end - def failover_process_server_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequestProperties + def a2_areprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput end - def recovery_plan_provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProviderSpecificFailoverInput + def hyper_vreplica_azure_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput end - def task_type_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TaskTypeDetails + def fabric_replication_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails end - def recovery_plan_planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInputProperties + def manual_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails end - def service_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ServiceError + def job_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails end - def recovery_plan_planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput + def virtual_machine_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails end - def job_error_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails + def consistency_check_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails end - def recovery_plan_unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties + def automation_runbook_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails end - def job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails + def script_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails end - def recovery_plan_unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails end - def armexception_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails + def recovery_plan_shutdown_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails end - def recovery_plan_test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties + def asr_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails end - def arminner_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMInnerError + def inline_workflow_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails end - def recovery_plan_test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInput + def recovery_plan_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails end - def in_mage_azure_v2_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ProtectedDiskDetails + def export_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails end - def recovery_plan_test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInputProperties + def switch_protection_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails end - def job_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobQueryParameter + def test_failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails end - def recovery_plan_test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInput + def failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails end - def resume_job_params - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParams + def hyper_vreplica_azure_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails end - def provider_specific_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificRecoveryPointDetails + def hyper_vreplica_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails end - def osdisk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDiskDetails + def a2_acontainer_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput end - def recovery_point_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointProperties + def a2_aswitch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput end - def network_mapping_fabric_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingFabricSpecificSettings + def in_mage_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails end - def data_store - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataStore + def in_mage_azure_v2_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails end - def in_mage_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageProtectedDiskDetails + def hyper_vreplica_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails end - def recovery_point_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointCollection + def hyper_vreplica_blue_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails end - def create_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInputProperties + def rcm_azure_migration_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails end - def identity_information - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityInformation + def vmware_cbt_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails end - def fabric_specific_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificUpdateNetworkMappingInput + def in_mage_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails end - def recovery_services_provider_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderProperties + def a2_apolicy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails end - def update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInput + def hyper_vreplica_blue_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput end - def retention_volume - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RetentionVolume + def in_mage_azure_v2_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput end - def network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkProperties + def hyper_vreplica_azure_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput end - def recovery_services_provider_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderCollection + def hyper_vreplica_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput end - def network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkCollection + def vmware_cbt_policy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput end - def replication_provider_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificSettings + def recovery_plan_script_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails end - def operations_discovery - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscovery + def in_mage_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput end - def replication_protected_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemProperties + def a2_apolicy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput end - def policy_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificDetails + def recovery_plan_hyper_vreplica_azure_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end - def process_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProcessServer + def recovery_plan_hyper_vreplica_azure_failback_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput end - def initial_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InitialReplicationDetails + def recovery_plan_automation_runbook_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails end - def enable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionProviderSpecificInput + def recovery_plan_manual_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails end - def policy_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificInput + def recovery_plan_a2_afailover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput end - def enable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInputProperties + def job + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job end - def create_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInput + def recovery_plan_in_mage_azure_v2_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput end - def enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInput + def recovery_plan_in_mage_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput end - def update_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInput + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation end - def vmnic_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicInputDetails + def azure_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput end - def protectable_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemProperties + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput end - def update_replication_protected_item_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemProviderInput + def recovery_plan_group_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType end - def protectable_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemCollection + def license_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType end - def update_replication_protected_item_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInputProperties + def possible_operations_directions + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections end - def protection_container_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProperties + def failover_deployment_model + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel end - def update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInput + def source_site_operations + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations end - def protection_container_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingCollection + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus end - def disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionProviderSpecificInput + def disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason end - def create_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInputProperties + def health_error_category + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory end - def disable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInputProperties + def recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType end - def replication_provider_container_unmapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderContainerUnmappingInput + def data_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus end - def disable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInput + def set_multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus end - def remove_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInput + def recovery_plan_action_location + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation end - def provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificFailoverInput + def hyper_vreplica_azure_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType end - def protection_container_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerProperties + def a2_arp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType end - def planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInputProperties + def alternate_location_recovery_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption end - def protection_container_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerCollection + def in_mage_v2_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType end - def planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInput + def rp_in_mage_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType end - def create_protection_container_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInputProperties + def identity_provider_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType end - def unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInputProperties + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event end - def discover_protectable_item_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequestProperties + def policy_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection end - def unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInput + def role_assignment + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment end - def switch_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionProviderSpecificInput + def job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobDetails end - def test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInputProperties + def job_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection end - def switch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInput + def severity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity end - def test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInput + def storage_classification_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationProperties end - def recovery_plan_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProtectedItem + def create_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInput end - def test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInputProperties + def recovery_plan_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionDetails end - def event_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProviderSpecificDetails + def alert_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertCollection end - def test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInput + def recovery_plan_action + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAction end - def osdetails - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDetails + def configure_alert_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequest end - def reverse_replication_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationProviderSpecificInput + def recovery_plan_group + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroup end - def fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificDetails + def event_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventSpecificDetails end - def reverse_replication_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInputProperties + def recovery_plan_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProperties end - def fabric_specific_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreationInput + def event_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProperties end - def reverse_replication_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInput + def run_as_account + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RunAsAccount end - def failover_process_server_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequest + def event_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventCollection end - def update_mobility_service_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequestProperties + def recovery_plan_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanCollection end - def provider_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderError + def create_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateRecoveryPlanInputProperties end - def update_mobility_service_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequest + def fabric_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricProperties end - def job_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobProperties + def master_target_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MasterTargetServer end - def apply_recovery_point_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointProviderSpecificInput + def fabric_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCollection end - def armexception - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMException + def update_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInputProperties end - def apply_recovery_point_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInputProperties + def fabric_creation_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInputProperties end - def resume_job_params_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParamsProperties + def update_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateRecoveryPlanInput end - def apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInput + def failover_process_server_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequestProperties end - def logical_network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkCollection + def recovery_plan_provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProviderSpecificFailoverInput end - def alert_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertProperties + def task_type_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TaskTypeDetails end - def fabric_specific_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreateNetworkMappingInput + def recovery_plan_planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInputProperties end - def update_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInputProperties + def service_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ServiceError end - def storage_classification_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationCollection + def recovery_plan_planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanPlannedFailoverInput end - def disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskDetails + def job_error_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobErrorDetails end - def storage_classification_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties + def recovery_plan_unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInputProperties end - def operations_discovery_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection + def recovery_plan_unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanUnplannedFailoverInput end - def failover_replication_protected_item_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails + def armexception_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMExceptionDetails end - def policy_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyCollection + def recovery_plan_test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInputProperties end - def storage_classification_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection + def arminner_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMInnerError end - def update_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties + def recovery_plan_test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverInput end - def storage_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties + def in_mage_azure_v2_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ProtectedDiskDetails end - def vmnic_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicDetails + def recovery_plan_test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInputProperties end - def storage_classification_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingInput + def job_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobQueryParameter end - def in_mage_agent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAgentDetails + def recovery_plan_test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanTestFailoverCleanupInput end - def vcenter_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterProperties + def resume_job_params + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParams end - def create_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInput + def provider_specific_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificRecoveryPointDetails end - def inconsistent_vm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InconsistentVmDetails + def osdisk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDiskDetails end - def protection_container_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerFabricSpecificDetails + def recovery_point_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointProperties end - def vcenter_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterCollection + def network_mapping_fabric_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingFabricSpecificSettings end - def replication_provider_specific_container_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerCreationInput + def data_store + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataStore end - def add_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequestProperties + def in_mage_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageProtectedDiskDetails end - def discover_protectable_item_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequest + def recovery_point_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointCollection end - def add_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequest + def create_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInputProperties end - def current_scenario_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CurrentScenarioDetails + def identity_information + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityInformation end - def update_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequestProperties + def fabric_specific_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificUpdateNetworkMappingInput end - def health_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthError + def recovery_services_provider_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderProperties end - def update_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequest + def update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInput end - def azure_vm_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureVmDiskDetails + def retention_volume + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RetentionVolume end - def renew_certificate_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInputProperties + def network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkProperties end - def group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::GroupTaskDetails + def recovery_services_provider_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProviderCollection end - def renew_certificate_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInput + def network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkCollection end - def method_call_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MethodCallStatus + def replication_provider_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificSettings end - def network_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingCollection + def operations_discovery + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscovery end - def logical_network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkProperties + def replication_protected_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemProperties end - def replication_protected_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection + def policy_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificDetails end - def create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput + def process_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProcessServer end - def protected_items_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter + def initial_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InitialReplicationDetails end - def display - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display + def enable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionProviderSpecificInput end - def health_error_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary + def policy_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProviderSpecificInput end - def create_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties + def enable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInputProperties end - def resource_health_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary + def create_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInput end - def protection_container_mapping_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProviderSpecificDetails + def enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EnableProtectionInput end - def vault_health_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthProperties + def update_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInput end - def remove_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInputProperties + def vmnic_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicInputDetails end - def job_entity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobEntity + def protectable_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemProperties end - def create_protection_container_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInput + def update_replication_protected_item_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemProviderInput end - def in_mage_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskDetails + def protectable_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItemCollection end - def configure_alert_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties + def update_replication_protected_item_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInputProperties end - def disk_volume_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails + def protection_container_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProperties end - def fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput + def update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateReplicationProtectedItemInput end - def resource - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource + def protection_container_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingCollection end - def job_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobCollection + def disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionProviderSpecificInput end - def a2_avm_managed_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails + def create_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInputProperties end - def subnet - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet + def disable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInputProperties end - def a2_avm_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails + def replication_provider_container_unmapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderContainerUnmappingInput end - def configuration_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings + def disable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionInput end - def in_mage_disk_exclusion_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput + def remove_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInput end - def a2_aprotected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails + def provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderSpecificFailoverInput end - def in_mage_disk_signature_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions + def protection_container_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerProperties end - def event_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter + def planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInputProperties end - def in_mage_volume_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions + def protection_container_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerCollection end - def network_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties + def planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PlannedFailoverInput end - def azure_to_azure_vm_synced_config_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails + def create_protection_container_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInputProperties end - def replication_provider_specific_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput + def unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInputProperties end - def input_endpoint - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint + def discover_protectable_item_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequestProperties end - def asrtask - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask + def unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UnplannedFailoverInput end - def role_assignment - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RoleAssignment + def switch_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionProviderSpecificInput end - def switch_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties + def test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInputProperties end - def a2_aprotected_managed_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails + def switch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInput end - def policy_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties + def test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverInput end - def mobility_service_update - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate + def recovery_plan_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanProtectedItem end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert + def test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInputProperties end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Event + def event_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventProviderSpecificDetails end - def fabric - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric + def test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverCleanupInput end - def job - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Job + def osdetails + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OSDetails end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork + def reverse_replication_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationProviderSpecificInput end - def network_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping + def fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificDetails end - def network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network + def reverse_replication_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInputProperties end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy + def fabric_specific_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreationInput end - def protectable_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem + def reverse_replication_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReverseReplicationInput end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping + def failover_process_server_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverProcessServerRequest end - def protection_container - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer + def update_mobility_service_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequestProperties end - def recovery_plan - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan + def provider_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProviderError end - def recovery_point - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint + def update_mobility_service_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateMobilityServiceRequest end - def recovery_services_provider - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider + def job_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobProperties end - def replication_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem + def apply_recovery_point_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointProviderSpecificInput end - def storage_classification - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification + def armexception + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ARMException end - def storage_classification_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping + def apply_recovery_point_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInputProperties end - def vcenter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter + def resume_job_params_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResumeJobParamsProperties end - def vault_health_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails + def apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ApplyRecoveryPointInput end - def azure_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings + def logical_network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkCollection end - def vmm_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings + def alert_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlertProperties end - def vmm_to_vmm_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings + def fabric_specific_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricSpecificCreateNetworkMappingInput end - def azure_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput + def update_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateNetworkMappingInputProperties end - def vmm_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput + def storage_classification_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationCollection end - def vmm_to_vmm_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput + def disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskDetails end - def azure_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput + def storage_classification_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingProperties end - def vmm_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput + def operations_discovery_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::OperationsDiscoveryCollection end - def vmm_to_vmm_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput + def failover_replication_protected_item_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverReplicationProtectedItemDetails end - def azure_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails + def storage_classification_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingCollection end - def vmm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails + def update_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdatePolicyInputProperties end - def hyper_vsite_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails + def storage_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageMappingInputProperties end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails + def vmnic_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMNicDetails end - def vmware_v2_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails + def storage_classification_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMappingInput end - def hyper_vreplica_base_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails + def in_mage_agent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAgentDetails end - def hyper_vreplica_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails + def vcenter_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterProperties end - def hyper_vreplica_blue_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails + def create_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerMappingInput end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails + def inconsistent_vm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InconsistentVmDetails end - def in_mage_azure_v2_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails + def protection_container_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerFabricSpecificDetails end - def in_mage_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails + def vcenter_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenterCollection end - def a2_areplication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails + def replication_provider_specific_container_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerCreationInput end - def hyper_vreplica_azure_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput + def add_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequestProperties end - def san_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput + def discover_protectable_item_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiscoverProtectableItemRequest end - def in_mage_azure_v2_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput + def add_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AddVCenterRequest end - def in_mage_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput + def current_scenario_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CurrentScenarioDetails end - def a2_aenable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput + def update_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequestProperties end - def hyper_vreplica_azure_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + def health_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthError end - def in_mage_azure_v2_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput + def update_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::UpdateVCenterRequest end - def a2_aupdate_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput + def azure_vm_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureVmDiskDetails end - def hyper_vreplica_base_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseEventDetails + def renew_certificate_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInputProperties end - def hyper_vreplica2012_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012EventDetails + def group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::GroupTaskDetails end - def hyper_vreplica2012_r2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails + def renew_certificate_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RenewCertificateInput end - def hyper_vreplica_azure_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEventDetails + def method_call_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MethodCallStatus end - def a2_aevent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEventDetails + def network_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingCollection end - def in_mage_azure_v2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EventDetails + def logical_network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetworkProperties end - def job_status_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobStatusEventDetails + def replication_protected_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemCollection end - def hyper_vvirtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVVirtualMachineDetails + def create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateNetworkMappingInput end - def vmware_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareVirtualMachineDetails + def protected_items_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectedItemsQueryParameter end - def replication_group_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationGroupDetails + def health_error_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorSummary end - def in_mage_azure_v2_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2RecoveryPointDetails + def create_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreatePolicyInputProperties end - def in_mage_disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDisableProtectionProviderSpecificInput + def resource_health_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ResourceHealthSummary end - def hyper_vreplica_azure_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailoverProviderInput + def protection_container_mapping_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMappingProviderSpecificDetails end - def hyper_vreplica_azure_failback_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureFailbackProviderInput + def vault_health_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthProperties end - def in_mage_azure_v2_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2FailoverProviderInput + def remove_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RemoveProtectionContainerMappingInputProperties end - def in_mage_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageFailoverProviderInput + def job_entity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobEntity end - def a2_afailover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AFailoverProviderInput + def create_protection_container_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::CreateProtectionContainerInput end - def hyper_vreplica_azure_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReprotectInput + def in_mage_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskDetails end - def in_mage_azure_v2_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReprotectInput + def configure_alert_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigureAlertRequestProperties end - def in_mage_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReprotectInput + def disk_volume_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DiskVolumeDetails end - def a2_areprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReprotectInput + def fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricCreationInput end - def hyper_vreplica_azure_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureApplyRecoveryPointInput + def display + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Display end - def in_mage_azure_v2_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ApplyRecoveryPointInput + def a2_avm_managed_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmManagedDiskInputDetails end - def a2_aapply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AApplyRecoveryPointInput + def subnet + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Subnet end - def job_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::JobTaskDetails + def configuration_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConfigurationSettings end - def virtual_machine_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VirtualMachineTaskDetails + def encryption_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EncryptionDetails end - def fabric_replication_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FabricReplicationGroupTaskDetails + def a2_aprotected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedDiskDetails end - def manual_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ManualActionTaskDetails + def resource + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Resource end - def script_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ScriptActionTaskDetails + def a2_avm_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AVmDiskInputDetails end - def vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmNicUpdatesTaskDetails + def in_mage_disk_signature_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskSignatureExclusionOptions end - def consistency_check_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ConsistencyCheckTaskDetails + def in_mage_disk_exclusion_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageDiskExclusionInput end - def automation_runbook_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AutomationRunbookTaskDetails + def in_mage_volume_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageVolumeExclusionOptions end - def inline_workflow_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InlineWorkflowTaskDetails + def network_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMappingProperties end - def recovery_plan_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupTaskDetails + def event_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::EventQueryParameter end - def recovery_plan_shutdown_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanShutdownGroupTaskDetails + def replication_provider_specific_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProviderSpecificContainerMappingInput end - def asr_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AsrJobDetails + def input_endpoint + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InputEndpoint end - def test_failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::TestFailoverJobDetails + def azure_to_azure_vm_synced_config_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureVmSyncedConfigDetails end - def failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverJobDetails + def switch_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionInputProperties end - def export_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ExportJobDetails + def a2_aprotected_managed_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AProtectedManagedDiskDetails end - def switch_protection_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SwitchProtectionJobDetails + def asrtask + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ASRTask end - def a2_acontainer_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AContainerCreationInput + def mobility_service_update + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MobilityServiceUpdate end - def a2_aswitch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ASwitchProtectionInput + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Alert end - def hyper_vreplica_azure_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyDetails + def policy_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PolicyProperties end - def hyper_vreplica_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBasePolicyDetails + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LogicalNetwork end - def hyper_vreplica_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyDetails + def network_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::NetworkMapping end - def hyper_vreplica_blue_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyDetails + def fabric + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Fabric end - def in_mage_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageBasePolicyDetails + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainerMapping end - def in_mage_azure_v2_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyDetails + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Policy end - def in_mage_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyDetails + def protectable_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectableItem end - def a2_apolicy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyDetails + def protection_container + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ProtectionContainer end - def rcm_azure_migration_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RcmAzureMigrationPolicyDetails + def network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Network end - def vmware_cbt_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmwareCbtPolicyDetails + def recovery_services_provider + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryServicesProvider end - def hyper_vreplica_azure_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzurePolicyInput + def replication_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItem end - def hyper_vreplica_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaPolicyInput + def storage_classification + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassification end - def hyper_vreplica_blue_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBluePolicyInput + def recovery_plan + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlan end - def in_mage_azure_v2_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2PolicyInput + def vcenter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VCenter end - def in_mage_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMagePolicyInput + def vault_health_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VaultHealthDetails end - def a2_apolicy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2APolicyCreationInput + def azure_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureNetworkMappingSettings end - def vmware_cbt_policy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareCbtPolicyCreationInput + def storage_classification_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::StorageClassificationMapping end - def recovery_plan_script_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanScriptActionDetails + def vmm_to_vmm_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmNetworkMappingSettings end - def recovery_plan_automation_runbook_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanAutomationRunbookActionDetails + def azure_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureCreateNetworkMappingInput end - def recovery_plan_manual_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanManualActionDetails + def vmm_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureCreateNetworkMappingInput end - def recovery_plan_hyper_vreplica_azure_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + def recovery_point + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPoint end - def recovery_plan_hyper_vreplica_azure_failback_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + def azure_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureToAzureUpdateNetworkMappingInput end - def recovery_plan_in_mage_azure_v2_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageAzureV2FailoverInput + def vmm_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureUpdateNetworkMappingInput end - def recovery_plan_in_mage_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanInMageFailoverInput + def vmm_to_vmm_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmUpdateNetworkMappingInput end - def recovery_plan_a2_afailover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanA2AFailoverInput + def vmm_to_vmm_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToVmmCreateNetworkMappingInput end - def azure_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricCreationInput + def vmm_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmToAzureNetworkMappingSettings end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricCreationInput + def hyper_vsite_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVSiteDetails end - def recovery_plan_group_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanGroupType + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareDetails end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::ReplicationProtectedItemOperation + def azure_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AzureFabricSpecificDetails end - def possible_operations_directions - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::PossibleOperationsDirections + def vmm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VmmDetails end - def failover_deployment_model - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::FailoverDeploymentModel + def hyper_vreplica_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaReplicationDetails end - def source_site_operations - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SourceSiteOperations + def hyper_vreplica_blue_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBlueReplicationDetails end - def identity_provider_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::IdentityProviderType + def vmware_v2_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::VMwareV2FabricSpecificDetails end - def license_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::LicenseType + def hyper_vreplica_base_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaBaseReplicationDetails end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DisableProtectionReason + def in_mage_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageReplicationDetails end - def health_error_category - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HealthErrorCategory + def a2_areplication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AReplicationDetails end - def severity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::Severity + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureReplicationDetails end - def recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPointType + def in_mage_azure_v2_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2ReplicationDetails end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::MultiVmSyncStatus + def in_mage_azure_v2_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2EnableProtectionInput end - def set_multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SetMultiVmSyncStatus + def in_mage_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageEnableProtectionInput end - def recovery_plan_action_location - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RecoveryPlanActionLocation + def hyper_vreplica_azure_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureEnableProtectionInput end - def hyper_vreplica_azure_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureRpRecoveryPointType + def san_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::SanEnableProtectionInput end - def data_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::DataSyncStatus + def in_mage_azure_v2_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput end - def alternate_location_recovery_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::AlternateLocationRecoveryOption + def a2_aupdate_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AUpdateReplicationProtectedItemInput end - def in_mage_v2_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::InMageV2RpRecoveryPointType + def a2_aenable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2AEnableProtectionInput end - def rp_in_mage_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::RpInMageRecoveryPointType + def hyper_vreplica_azure_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end - def a2_arp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::A2ARpRecoveryPointType + def hyper_vreplica2012_r2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10::Models::HyperVReplica2012R2EventDetails end end end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index a287ce44e2..5a253a676d 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,49 +7,49 @@ module Azure::Profiles::Latest module Redis module Mgmt + LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer Operations = Azure::Redis::Mgmt::V2017_10_01::Operations Redis = Azure::Redis::Mgmt::V2017_10_01::Redis FirewallRules = Azure::Redis::Mgmt::V2017_10_01::FirewallRules PatchSchedules = Azure::Redis::Mgmt::V2017_10_01::PatchSchedules - LinkedServer = Azure::Redis::Mgmt::V2017_10_01::LinkedServer module Models - RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult Sku = Azure::Redis::Mgmt::V2017_10_01::Models::Sku + RedisListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleListResult RedisAccessKeys = Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys - OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay - Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource - OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters RedisUpdateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisUpdateParameters RedisRebootParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisRebootParameters RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRuleCreateParameters ExportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ExportRDBParameters ImportRDBParameters = Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters - Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation + Resource = Azure::Redis::Mgmt::V2017_10_01::Models::Resource ScheduleEntry = Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry RedisCreateParameters = Azure::Redis::Mgmt::V2017_10_01::Models::RedisCreateParameters RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList - RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisForceRebootResponse = Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse - ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource - TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource RedisFirewallRule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule + RedisLinkedServer = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer RedisResource = Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource RedisPatchSchedule = Azure::Redis::Mgmt::V2017_10_01::Models::RedisPatchSchedule RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties - SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName SkuFamily = Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily - RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType + OperationDisplay = Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay + SkuName = Azure::Redis::Mgmt::V2017_10_01::Models::SkuName + OperationListResult = Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult RebootType = Azure::Redis::Mgmt::V2017_10_01::Models::RebootType - DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek ReplicationRole = Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole + RedisKeyType = Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType + ProxyResource = Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource + TrackedResource = Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource + Operation = Azure::Redis::Mgmt::V2017_10_01::Models::Operation + DayOfWeek = Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek end class RedisManagementClass - attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :linked_server, :operations, :redis, :firewall_rules, :patch_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,11 +59,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @linked_server = @client_0.linked_server @operations = @client_0.operations @redis = @client_0.redis @firewall_rules = @client_0.firewall_rules @patch_schedules = @client_0.patch_schedules - @linked_server = @client_0.linked_server @model_classes = ModelClasses.new end @@ -82,12 +82,12 @@ def method_missing(method, *args) end class ModelClasses - def redis_list_result - Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult - end def sku Azure::Redis::Mgmt::V2017_10_01::Models::Sku end + def redis_list_result + Azure::Redis::Mgmt::V2017_10_01::Models::RedisListResult + end def redis_regenerate_key_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisRegenerateKeyParameters end @@ -97,15 +97,6 @@ def redis_firewall_rule_list_result def redis_access_keys Azure::Redis::Mgmt::V2017_10_01::Models::RedisAccessKeys end - def operation_display - Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay - end - def resource - Azure::Redis::Mgmt::V2017_10_01::Models::Resource - end - def operation_list_result - Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult - end def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerCreateParameters end @@ -124,8 +115,8 @@ def export_rdbparameters def import_rdbparameters Azure::Redis::Mgmt::V2017_10_01::Models::ImportRDBParameters end - def operation - Azure::Redis::Mgmt::V2017_10_01::Models::Operation + def resource + Azure::Redis::Mgmt::V2017_10_01::Models::Resource end def schedule_entry Azure::Redis::Mgmt::V2017_10_01::Models::ScheduleEntry @@ -136,21 +127,15 @@ def redis_create_parameters def redis_linked_server_with_properties_list Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithPropertiesList end - def redis_linked_server - Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer - end def redis_force_reboot_response Azure::Redis::Mgmt::V2017_10_01::Models::RedisForceRebootResponse end - def proxy_resource - Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource - end - def tracked_resource - Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource - end def redis_firewall_rule Azure::Redis::Mgmt::V2017_10_01::Models::RedisFirewallRule end + def redis_linked_server + Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServer + end def redis_resource Azure::Redis::Mgmt::V2017_10_01::Models::RedisResource end @@ -160,24 +145,39 @@ def redis_patch_schedule def redis_linked_server_with_properties Azure::Redis::Mgmt::V2017_10_01::Models::RedisLinkedServerWithProperties end + def sku_family + Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily + end + def operation_display + Azure::Redis::Mgmt::V2017_10_01::Models::OperationDisplay + end def sku_name Azure::Redis::Mgmt::V2017_10_01::Models::SkuName end - def sku_family - Azure::Redis::Mgmt::V2017_10_01::Models::SkuFamily + def operation_list_result + Azure::Redis::Mgmt::V2017_10_01::Models::OperationListResult + end + def reboot_type + Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + end + def replication_role + Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole end def redis_key_type Azure::Redis::Mgmt::V2017_10_01::Models::RedisKeyType end - def reboot_type - Azure::Redis::Mgmt::V2017_10_01::Models::RebootType + def proxy_resource + Azure::Redis::Mgmt::V2017_10_01::Models::ProxyResource + end + def tracked_resource + Azure::Redis::Mgmt::V2017_10_01::Models::TrackedResource + end + def operation + Azure::Redis::Mgmt::V2017_10_01::Models::Operation end def day_of_week Azure::Redis::Mgmt::V2017_10_01::Models::DayOfWeek end - def replication_role - Azure::Redis::Mgmt::V2017_10_01::Models::ReplicationRole - end end end end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 56d9ce6dd2..817d982098 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -8,42 +8,42 @@ module Azure::Profiles::Latest module Relay module Mgmt Operations = Azure::Relay::Mgmt::V2017_04_01::Operations - Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces module Models RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay - Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku - AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection - WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters - AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype - SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource + SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier + AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource end class RelayManagementClass - attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :hybrid_connections, :wcfrelays, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -54,9 +54,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -78,84 +78,84 @@ class ModelClasses def relay_namespace_list_result Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult end - def operation_display - Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay - end - def resource - Azure::Relay::Mgmt::V2017_04_01::Models::Resource - end def check_name_availability Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability end def hybrid_connection_list_result Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def error_response - Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - end - def operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end - def authorization_rule_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def sku Azure::Relay::Mgmt::V2017_04_01::Models::Sku end - def access_keys - Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation - end - def regenerate_access_key_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end - def tracked_resource - Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end def hybrid_connection Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection end - def wcf_relay - Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay - end def relay_namespace Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace end def relay_update_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end - def authorization_rule - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule - end def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def sku_tier - Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier - end def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def access_rights - Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + def wcf_relay + Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay end def key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::Relay::Mgmt::V2017_04_01::Models::Resource + end + def sku_tier + Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier + end + def access_keys + Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + end + def authorization_rule_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + end + def regenerate_access_key_parameters + Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + end + def operation_display + Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + end + def authorization_rule + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + end + def access_rights + Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + end def unavailable_reason Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason end + def error_response + Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse + end + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation + end + def tracked_resource + Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource + end end end end diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index 1ad0e88d9d..14de015b89 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,65 +7,65 @@ module Azure::Profiles::Latest module Resources module Mgmt + Tags = Azure::Resources::Mgmt::V2017_05_10::Tags + DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2017_05_10::Resources Deployments = Azure::Resources::Mgmt::V2017_05_10::Deployments Providers = Azure::Resources::Mgmt::V2017_05_10::Providers - Resources = Azure::Resources::Mgmt::V2017_05_10::Resources ResourceGroups = Azure::Resources::Mgmt::V2017_05_10::ResourceGroups - Tags = Azure::Resources::Mgmt::V2017_05_10::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2017_05_10::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku + Plan = Azure::Resources::Mgmt::V2017_05_10::Models::Plan + Dependency = Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2017_05_10::Models::Identity - GenericResourceFilter = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter ResourceGroupFilter = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupFilter - ParametersLink = Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink + TemplateLink = Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink + DebugSetting = Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting ResourceListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceListResult - DeploymentProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties + Deployment = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupProperties - DeploymentExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails ResourceGroup = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroup - AliasPathType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType - ResourceGroupPatchable = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable - ProviderResourceType = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType + AliasType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasType ResourceGroupListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupListResult - BasicDependency = Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency + Provider = Azure::Resources::Mgmt::V2017_05_10::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2017_05_10::Models::ResourcesMoveInfo - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2017_05_10::Models::ExportTemplateRequest - DeploymentExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + DeploymentValidateResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2017_05_10::Models::TagCount - ProviderListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + DeploymentListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2017_05_10::Models::TagValue - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter TagDetails = Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails - DebugSetting = Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting + ParametersLink = Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult - ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails - TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource - Provider = Azure::Resources::Mgmt::V2017_05_10::Models::Provider + DeploymentExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + Sku = Azure::Resources::Mgmt::V2017_05_10::Models::Sku + ProviderResourceType = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2017_05_10::Models::HttpMessage - DeploymentValidateResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended DeploymentOperationProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties - Plan = Azure::Resources::Mgmt::V2017_05_10::Models::Plan - DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation - Deployment = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment + ProviderListResult = Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + TargetResource = Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + DeploymentProperties = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties DeploymentOperationsListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationsListResult - Dependency = Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + BasicDependency = Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties - TemplateLink = Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink - Resource = Azure::Resources::Mgmt::V2017_05_10::Models::Resource - DeploymentListResult = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult - SubResource = Azure::Resources::Mgmt::V2017_05_10::Models::SubResource - AliasType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasType + GenericResourceFilter = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter + DeploymentExtended = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + AliasPathType = Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType ResourceGroupExportResult = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupExportResult - GenericResource = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + Resource = Azure::Resources::Mgmt::V2017_05_10::Models::Resource + ResourceGroupPatchable = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable DeploymentMode = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentMode + GenericResource = Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + SubResource = Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + DeploymentOperation = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation ResourceIdentityType = Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @tags = @client_0.tags + @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers - @resources = @client_0.resources @resource_groups = @client_0.resource_groups - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -99,144 +99,144 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2017_05_10::Models::Sku + def plan + Azure::Resources::Mgmt::V2017_05_10::Models::Plan + end + def dependency + Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + end + def deployment_extended_filter + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter end def identity Azure::Resources::Mgmt::V2017_05_10::Models::Identity end - def generic_resource_filter - Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter - end def resource_group_filter Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupFilter end - def parameters_link - Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink + def template_link + Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink + end + def debug_setting + Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting end def resource_list_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceListResult end - def deployment_properties - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties + def deployment + Azure::Resources::Mgmt::V2017_05_10::Models::Deployment end def resource_group_properties Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupProperties end - def deployment_export_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult + def resource_management_error_with_details + Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails end def resource_group Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroup end - def alias_path_type - Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType - end - def resource_group_patchable - Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable - end - def provider_resource_type - Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType + def alias_type + Azure::Resources::Mgmt::V2017_05_10::Models::AliasType end def resource_group_list_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupListResult end - def basic_dependency - Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency + def provider + Azure::Resources::Mgmt::V2017_05_10::Models::Provider end def resources_move_info Azure::Resources::Mgmt::V2017_05_10::Models::ResourcesMoveInfo end - def deployment_properties_extended - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended - end def export_template_request Azure::Resources::Mgmt::V2017_05_10::Models::ExportTemplateRequest end - def deployment_extended - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended + def deployment_validate_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult end def tag_count Azure::Resources::Mgmt::V2017_05_10::Models::TagCount end - def provider_list_result - Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult + def deployment_list_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult end def tag_value Azure::Resources::Mgmt::V2017_05_10::Models::TagValue end - def deployment_extended_filter - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtendedFilter - end def tag_details Azure::Resources::Mgmt::V2017_05_10::Models::TagDetails end - def debug_setting - Azure::Resources::Mgmt::V2017_05_10::Models::DebugSetting + def parameters_link + Azure::Resources::Mgmt::V2017_05_10::Models::ParametersLink end def tags_list_result Azure::Resources::Mgmt::V2017_05_10::Models::TagsListResult end - def resource_management_error_with_details - Azure::Resources::Mgmt::V2017_05_10::Models::ResourceManagementErrorWithDetails + def deployment_export_result + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult end - def target_resource - Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource + def sku + Azure::Resources::Mgmt::V2017_05_10::Models::Sku end - def provider - Azure::Resources::Mgmt::V2017_05_10::Models::Provider + def provider_resource_type + Azure::Resources::Mgmt::V2017_05_10::Models::ProviderResourceType end def http_message Azure::Resources::Mgmt::V2017_05_10::Models::HttpMessage end - def deployment_validate_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult + def deployment_properties_extended + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentPropertiesExtended end def deployment_operation_properties Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationProperties end - def plan - Azure::Resources::Mgmt::V2017_05_10::Models::Plan + def provider_list_result + Azure::Resources::Mgmt::V2017_05_10::Models::ProviderListResult end - def deployment_operation - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + def target_resource + Azure::Resources::Mgmt::V2017_05_10::Models::TargetResource end - def deployment - Azure::Resources::Mgmt::V2017_05_10::Models::Deployment + def deployment_properties + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentProperties end def deployment_operations_list_result Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperationsListResult end - def dependency - Azure::Resources::Mgmt::V2017_05_10::Models::Dependency + def basic_dependency + Azure::Resources::Mgmt::V2017_05_10::Models::BasicDependency end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2017_05_10::Models::ResourceProviderOperationDisplayProperties end - def template_link - Azure::Resources::Mgmt::V2017_05_10::Models::TemplateLink - end - def resource - Azure::Resources::Mgmt::V2017_05_10::Models::Resource - end - def deployment_list_result - Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult + def generic_resource_filter + Azure::Resources::Mgmt::V2017_05_10::Models::GenericResourceFilter end - def sub_resource - Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + def deployment_extended + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended end - def alias_type - Azure::Resources::Mgmt::V2017_05_10::Models::AliasType + def alias_path_type + Azure::Resources::Mgmt::V2017_05_10::Models::AliasPathType end def resource_group_export_result Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupExportResult end - def generic_resource - Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + def resource + Azure::Resources::Mgmt::V2017_05_10::Models::Resource + end + def resource_group_patchable + Azure::Resources::Mgmt::V2017_05_10::Models::ResourceGroupPatchable end def deployment_mode Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentMode end + def generic_resource + Azure::Resources::Mgmt::V2017_05_10::Models::GenericResource + end + def sub_resource + Azure::Resources::Mgmt::V2017_05_10::Models::SubResource + end + def deployment_operation + Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentOperation + end def resource_identity_type Azure::Resources::Mgmt::V2017_05_10::Models::ResourceIdentityType end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 1255806b33..7013a444bc 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -7,27 +7,27 @@ module Azure::Profiles::Latest module ResourcesManagement module Mgmt + Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations ManagementGroups = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::ManagementGroupSubscriptions - Operations = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Operations module Models - ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult - ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails - ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo OperationDisplay = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay - ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails OperationListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult - ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo - ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse + ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult + ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo ManagementGroup = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup + ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo + ErrorResponse = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse + ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo CreateGroupRequest = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest Operation = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation + ErrorDetails = Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails end class ResourcesManagementManagementClass - attr_reader :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :management_groups, :management_group_subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,35 +58,32 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay + end + def operation_list_result + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult + end def management_group_list_result Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupListResult end - def error_details - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails - end def parent_group_info Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ParentGroupInfo end - def operation_display - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationDisplay + def management_group + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup end def management_group_details Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupDetails end - def operation_list_result - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::OperationListResult - end - def management_group_child_info - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo + def management_group_info + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo end def error_response Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorResponse end - def management_group - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroup - end - def management_group_info - Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupInfo + def management_group_child_info + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ManagementGroupChildInfo end def create_group_request Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::CreateGroupRequest @@ -94,6 +91,9 @@ def create_group_request def operation Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::Operation end + def error_details + Azure::ResourcesManagement::Mgmt::V2017_11_01_preview::Models::ErrorDetails + end end end end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index 50290bce4b..2609e2fc04 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -7,29 +7,15 @@ module Azure::Profiles::Latest module Scheduler module Mgmt - JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs + JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models - JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus - JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition - JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition - HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage - JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties - JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence @@ -39,26 +25,40 @@ module Models JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage + JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication - SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType - RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName + RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType + RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence + JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota + JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition + JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition + HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication + StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage + JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties end class SchedulerManagementClass - attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :jobs, :job_collections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -68,8 +68,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @job_collections = @client_0.job_collections @jobs = @client_0.jobs + @job_collections = @client_0.job_collections @model_classes = ModelClasses.new end @@ -88,48 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def job_recurrence - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - end - def sku - Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - end - def job_status - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus - end - def job_collection_quota - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - end - def job_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - end - def job_collection_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition - end - def job_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition - end - def http_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end - def storage_queue_message - Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage - end - def job_history_definition_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties - end - def http_request - Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - end - def retry_policy - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - end - def service_bus_brokered_message_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties - end def job_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction end @@ -142,8 +100,8 @@ def job_history_definition def job_collection_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties end - def job_history_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + def job_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties end def job_error_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction @@ -172,45 +130,36 @@ def service_bus_authentication def service_bus_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage end + def job_history_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult + end def service_bus_topic_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage end def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - end def oauth_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication end - def sku_definition - Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition - end def job_collection_state Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState end - def recurrence_frequency - Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - end def job_action_type Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType end - def retry_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - end - def day_of_week - Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + def sku_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def job_state - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState - end def job_history_action_name Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName end + def retry_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType + end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus end @@ -220,6 +169,57 @@ def service_bus_authentication_type def service_bus_transport_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType end + def recurrence_frequency + Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + end + def job_status + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + end + def day_of_week + Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + end + def sku + Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku + end + def job_state + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + end + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication + end + def job_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + end + def retry_policy + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + end + def job_recurrence + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence + end + def job_collection_quota + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota + end + def job_collection_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition + end + def job_definition + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition + end + def http_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication + end + def storage_queue_message + Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage + end + def job_history_definition_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties + end + def http_request + Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest + end + def service_bus_brokered_message_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties + end end end end diff --git a/azure_sdk/lib/latest/modules/search_profile_module.rb b/azure_sdk/lib/latest/modules/search_profile_module.rb index adb8056d46..4d20388c69 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -14,22 +14,22 @@ module Mgmt module Models CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource - AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay + OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku - Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation + AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey - OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus - ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource + SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName + ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState end class SearchManagementClass @@ -68,32 +68,29 @@ class ModelClasses def check_name_availability_input Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput end - def resource - Azure::Search::Mgmt::V2015_08_19::Models::Resource - end - def admin_key_result - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - end - def search_management_request_options - Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions - end def check_name_availability_output Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput end def operation_display Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay end + def operation_list_result + Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + end def sku Azure::Search::Mgmt::V2015_08_19::Models::Sku end - def operation - Azure::Search::Mgmt::V2015_08_19::Models::Operation + def admin_key_result + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + end + def search_management_request_options + Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end def query_key Azure::Search::Mgmt::V2015_08_19::Models::QueryKey end - def operation_list_result - Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + def operation + Azure::Search::Mgmt::V2015_08_19::Models::Operation end def search_service Azure::Search::Mgmt::V2015_08_19::Models::SearchService @@ -101,21 +98,24 @@ def search_service def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName - end def hosting_mode Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end - def provisioning_state - Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState - end def admin_key_kind Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind end + def resource + Azure::Search::Mgmt::V2015_08_19::Models::Resource + end + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + end + def provisioning_state + Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState + end end end end diff --git a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb index 43a981c52e..08c77a49e2 100644 --- a/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servermanagement_profile_module.rb @@ -7,14 +7,13 @@ module Azure::Profiles::Latest module ServerManagement module Mgmt - Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway - Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node Session = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Session + Node = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Node + Gateway = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Gateway PowerShell = Azure::ServerManagement::Mgmt::V2016_07_01_preview::PowerShell module Models - Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version - Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode EncryptionJwkResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource GatewayStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayStatus GatewayResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResources @@ -25,28 +24,29 @@ module Models PowerShellCommandResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandResults PowerShellTabCompletionResults = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionResults SessionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters - Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error GatewayProfile = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile - PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + Resource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource NodeParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters PowerShellCommandParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters - PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + PowerShellSessionResources = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources PromptMessageResponse = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse GatewayResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayResource NodeResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeResource SessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionResource PowerShellSessionResource = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource + PowerShellTabCompletionParameters = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters PowerShellCommandStatus = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus - UpgradeMode = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode RetentionPeriod = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod CredentialDataFormat = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::CredentialDataFormat PromptFieldType = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldType GatewayExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayExpandOption PowerShellExpandOption = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption + Version = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version + Error = Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error end class ServerManagementManagementClass - attr_reader :gateway, :node, :session, :power_shell, :configurable, :base_url, :options, :model_classes + attr_reader :session, :node, :gateway, :power_shell, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -56,9 +56,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @gateway = @client_0.gateway - @node = @client_0.node @session = @client_0.session + @node = @client_0.node + @gateway = @client_0.gateway @power_shell = @client_0.power_shell @model_classes = ModelClasses.new @@ -78,11 +78,8 @@ def method_missing(method, *args) end class ModelClasses - def version - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version - end - def resource - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource + def upgrade_mode + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode end def encryption_jwk_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::EncryptionJwkResource @@ -114,14 +111,11 @@ def power_shell_tab_completion_results def session_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::SessionParameters end - def error - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error - end def gateway_profile Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::GatewayProfile end - def power_shell_session_resources - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources + def resource + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Resource end def node_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::NodeParameters @@ -129,8 +123,8 @@ def node_parameters def power_shell_command_parameters Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandParameters end - def power_shell_tab_completion_parameters - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + def power_shell_session_resources + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResources end def prompt_message_response Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptMessageResponse @@ -147,12 +141,12 @@ def session_resource def power_shell_session_resource Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellSessionResource end + def power_shell_tab_completion_parameters + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellTabCompletionParameters + end def power_shell_command_status Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellCommandStatus end - def upgrade_mode - Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::UpgradeMode - end def retention_period Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::RetentionPeriod end @@ -168,6 +162,12 @@ def gateway_expand_option def power_shell_expand_option Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PowerShellExpandOption end + def version + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Version + end + def error + Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::Error + end end end end diff --git a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb index b33c7aa2eb..b191be3c3b 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -8,47 +8,34 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations - Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces - DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics - Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations + Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics + DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions + Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions module Models - CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult + ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult - Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult + TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties - CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties - CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult - OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails - ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse - EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult - Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter - AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter - TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue @@ -56,23 +43,36 @@ module Models SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction + CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub - ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination + EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus - UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end class ServiceBusManagementClass - attr_reader :operations, :namespaces, :disaster_recovery_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :queues, :rules, :premium_messaging_regions_operations, :namespaces, :topics, :disaster_recovery_configs, :event_hubs, :regions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,15 +83,15 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations - @namespaces = @client_0.namespaces - @disaster_recovery_configs = @client_0.disaster_recovery_configs @queues = @client_0.queues - @topics = @client_0.topics - @subscriptions = @client_0.subscriptions @rules = @client_0.rules - @regions = @client_0.regions @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations + @namespaces = @client_0.namespaces + @topics = @client_0.topics + @disaster_recovery_configs = @client_0.disaster_recovery_configs @event_hubs = @client_0.event_hubs + @regions = @client_0.regions + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -110,18 +110,24 @@ def method_missing(method, *args) end class ModelClasses - def check_name_availability_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + end + def operation_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult + end + def error_response + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse end def sbqueue_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult end - def resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - end def premium_messaging_regions_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult end + def tracked_resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource + end def sbsku Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end @@ -134,72 +140,27 @@ def sbnamespace_list_result def premium_messaging_regions_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties end - def capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription - end def sbsubscription_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult end def authorization_rule_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties end - def check_name_availability - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - end - def regenerate_access_key_parameters - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end def rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end - def destination - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination - end - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - end - def arm_disaster_recovery_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult - end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation - end def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end - def operation_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - end def message_count_details Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end - def error_response - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse - end - def event_hub_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult - end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter end - def access_keys - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - end def correlation_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end - def tracked_resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace - end def sbnamespace_update_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters end @@ -221,14 +182,47 @@ def rule def sql_rule_action Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction end + def check_name_availability + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + end def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def eventhub - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end - def arm_disaster_recovery - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + def resource_namespace_patch + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + end + def filter_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + end + def key_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end + def check_name_availability_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource + end + def capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + end + def destination + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination + end + def event_hub_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + end + def access_keys + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys + end + def arm_disaster_recovery_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult end def sku_name Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName @@ -236,24 +230,30 @@ def sku_name def sku_tier Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier end + def regenerate_access_key_parameters + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + end + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + end + def eventhub + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + end + def arm_disaster_recovery + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + end def access_rights Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights end - def key_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType - end def entity_status Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus end - def unavailable_reason - Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - end - def filter_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType - end def encoding_capture_description Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end + def unavailable_reason + Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason + end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index f4fb87b171..0cc2847c46 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -7,41 +7,15 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt - Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters - ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions Operations = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Operations - ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType + Clusters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Clusters Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version - Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service + Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + ClusterVersions = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ClusterVersions module Models - ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - ErrorModel = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel - ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - OperationListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult - ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - OperationResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult - ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription - ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy - ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy - ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters - ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter - ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult - ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription - ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult - PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig - RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy - Resource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource - ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy - AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay - ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy - CertificateDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClientCertificateCommonName ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList @@ -72,11 +46,37 @@ module Models StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties Cluster = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster + CertificateDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription + OperationListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult + ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + OperationResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult + Resource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource ProvisioningState = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState + ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase + ErrorModel = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel + ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem + ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription + ServiceCorrelationDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription + ServicePlacementPolicyDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription + ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy + ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy + ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters + ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter + ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult + ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription + ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult + PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription + DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig + RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy + ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy + AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay + ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy end class ServiceFabricManagementClass - attr_reader :clusters, :cluster_versions, :operations, :application_type, :version, :application, :service, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :clusters, :version, :application_type, :service, :application, :cluster_versions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -86,13 +86,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @clusters = @client_0.clusters - @cluster_versions = @client_0.cluster_versions @operations = @client_0.operations - @application_type = @client_0.application_type + @clusters = @client_0.clusters @version = @client_0.version - @application = @client_0.application + @application_type = @client_0.application_type @service = @client_0.service + @application = @client_0.application + @cluster_versions = @client_0.cluster_versions @model_classes = ModelClasses.new end @@ -111,84 +111,6 @@ def method_missing(method, *args) end class ModelClasses - def service_properties_base - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase - end - def error_model - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel - end - def service_type_health_policy_map_item - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem - end - def operation_list_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult - end - def application_metric_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription - end - def operation_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult - end - def service_correlation_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription - end - def service_placement_policy_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription - end - def service_type_delta_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy - end - def application_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy - end - def cluster_update_parameters - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters - end - def application_parameter - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter - end - def cluster_code_versions_list_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult - end - def service_load_metric_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription - end - def cluster_code_versions_result - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult - end - def partition_scheme_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - end - def proxy_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - end - def diagnostics_storage_account_config - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig - end - def rolling_upgrade_monitoring_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy - end - def resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource - end - def cluster_upgrade_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy - end - def available_operation_display - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay - end - def cluster_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy - end - def azure_active_directory - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory - end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy - end - def certificate_description - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription - end def application_type_resource_list Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList end @@ -279,9 +201,87 @@ def stateful_service_update_properties def cluster Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Cluster end + def certificate_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::CertificateDescription + end + def operation_list_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationListResult + end + def proxy_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + end + def operation_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::OperationResult + end + def resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::Resource + end def provisioning_state Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProvisioningState end + def service_properties_base + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase + end + def error_model + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ErrorModel + end + def service_type_health_policy_map_item + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem + end + def application_metric_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription + end + def service_correlation_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceCorrelationDescription + end + def service_placement_policy_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePlacementPolicyDescription + end + def service_type_delta_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeDeltaHealthPolicy + end + def application_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationHealthPolicy + end + def cluster_update_parameters + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpdateParameters + end + def application_parameter + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter + end + def cluster_code_versions_list_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsListResult + end + def service_load_metric_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription + end + def cluster_code_versions_result + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterCodeVersionsResult + end + def partition_scheme_description + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription + end + def diagnostics_storage_account_config + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::DiagnosticsStorageAccountConfig + end + def rolling_upgrade_monitoring_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy + end + def cluster_upgrade_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterUpgradePolicy + end + def available_operation_display + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AvailableOperationDisplay + end + def cluster_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ClusterHealthPolicy + end + def azure_active_directory + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::AzureActiveDirectory + end + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicy + end end end end diff --git a/azure_sdk/lib/latest/modules/signalr_profile_module.rb b/azure_sdk/lib/latest/modules/signalr_profile_module.rb index 1537bc1ec8..3670d1ac77 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -11,27 +11,27 @@ module Mgmt SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR module Models - ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay - ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList - Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters + Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters + ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability + SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties - SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters - RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource - SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters - SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier - ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState - KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys end class SignalrManagementClass @@ -65,68 +65,68 @@ def method_missing(method, *args) end class ModelClasses - def resource_sku - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + def signal_rcreate_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters + end + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + end + def provisioning_state + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end + def signal_rsku_tier + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end def operation_display Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay end - def service_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + def key_type + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType end - def signal_rresource_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList + def operation_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + end + def resource_sku + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku + end + def regenerate_key_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters end def operation Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation end - def operation_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + def metric_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + end + def signal_rresource_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters end + def service_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + end def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end + def signal_rcreate_or_update_properties + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties + end def resource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource end def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end - def signal_rcreate_or_update_properties - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - end - def metric_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification - end - def signal_rkeys - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys - end def name_availability_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters end - def regenerate_key_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - end - def signal_rresource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource - end - def signal_rcreate_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters - end - def signal_rsku_tier - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier - end - def provisioning_state - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState - end - def key_type - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + def signal_rkeys + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys end end end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index 270c7da4d9..04fd32a58c 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,20 +8,20 @@ module Azure::Profiles::Latest module SpellCheck module Models - SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer - ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode + SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode + SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end class SpellCheckDataClass @@ -53,48 +53,48 @@ def method_missing(method, *args) end class ModelClasses - def spelling_token_suggestion - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion - end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end - def spelling_flagged_token - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - end - def error - Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - end - def spell_check - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - end def identifiable Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - end def answer Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer end - def error_response - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - end - def error_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType - end def error_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode end + def spelling_token_suggestion + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + end + def spelling_flagged_token + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + end + def error_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + end + def error_response + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse + end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end def mode Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end + def spell_check + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck + end + def response + Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + end + def response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end + def error + Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + end end end end diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index d423ce40d6..71a735b637 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -10,7 +10,6 @@ module Mgmt BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases - Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies DataMaskingPolicies = Azure::SQL::Mgmt::V2014_04_01::DataMaskingPolicies @@ -28,78 +27,60 @@ module Mgmt ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators ServerCommunicationLinks = Azure::SQL::Mgmt::V2014_04_01::ServerCommunicationLinks ServiceObjectives = Azure::SQL::Mgmt::V2014_04_01::ServiceObjectives - ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities ElasticPoolDatabaseActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolDatabaseActivities - ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors + ElasticPoolActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolActivities TransparentDataEncryptions = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptions - TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities + ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors ServerTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerTableAuditingPolicies - DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies + TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities DatabaseConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseConnectionPolicies - ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages - DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors + ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + Capabilities = Azure::SQL::Mgmt::V2014_04_01::Capabilities + Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers + Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions - ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors - DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations + DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups - FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances - Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys - Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers - SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents + DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups - SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers + SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages + SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies + Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies ServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerBlobAuditingPolicies - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseOperations - Databases = Azure::SQL::Mgmt::V2017_03_01_preview::Databases DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions JobSteps = Azure::SQL::Mgmt::V2017_03_01_preview::JobSteps - JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups - BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases - RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations + JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies module Models - MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult LocationCapabilities = Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities CheckNameAvailabilityResponse = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityResponse RecommendedElasticPoolListMetricsResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPoolListMetricsResult @@ -115,7 +96,6 @@ module Models ExportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult - MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability @@ -137,79 +117,96 @@ module Models DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability - TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult + TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase - RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy - ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex - DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy - DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule - DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration - ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor ElasticPoolUpdate = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate - GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + ElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest + GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink - ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective + DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity - DatabaseConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy - BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState CapabilityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState + CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits PerformanceLevelUnit = Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit - CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason - ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType - DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction - RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale + RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState - DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState DataMaskingFunction = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction DisasterRecoveryConfigurationStatus = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus DisasterRecoveryConfigurationAutoFailover = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover - DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole ElasticPoolState = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolState ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType QueryAggregationFunction = Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction QueryExecutionType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType - QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion - ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay - Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult + QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + DatabaseUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + TransparentDataEncryptionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + DatabaseUsage = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + ExtensionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult + ServerUsageListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult + ServerCommunicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + ServerUsage = Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + DisasterRecoveryConfigurationListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult + MaxSizeCapability = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + ServerAdministratorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + EditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + ElasticPoolPerDatabaseMaxDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + ElasticPoolListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + ReplicationLinkListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo - OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList @@ -226,154 +223,157 @@ module Models RecommendedActionStateInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionStateInfo SyncGroupLogProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogProperties RecommendedActionErrorInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo + OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult - RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo - ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName + SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult - SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult + ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties - SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult + Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate - SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties - RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction - Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor + SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning + SyncAgentLinkedDatabaseListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult + SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction + SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup - ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance - ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server - SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent - SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase - SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup + Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase + Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server SubscriptionUsage = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage - VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus + ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey + VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom - RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState + AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable - AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason - ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType - ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy - ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy + RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole - IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState - SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode + ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType + ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate - ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate - VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition - JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult - CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition - JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate - JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult - Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku - JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy DatabaseOperation = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation - TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource - Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential - JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep - JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias - ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning ManagementOperationState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState - CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode - SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy CatalogCollationType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType - JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + DatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle - ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState - JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + DatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType - ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + CreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode - RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + ProxyResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + Database = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + DatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + TrackedResource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + Sku = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual - AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + Resource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + SampleName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState - LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState - VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + JobAgentUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + JobTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + ServerDnsAliasAcquisition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + JobAgentListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + AutomaticTuningServerOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + CompleteDatabaseRestoreDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :capabilities, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_operations, :databases, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :elastic_pools, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_database_activities, :elastic_pool_activities, :transparent_data_encryptions, :service_tier_advisors, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :capabilities, :servers, :operations, :database_recommended_actions, :database_advisors, :encryption_protectors, :failover_groups, :managed_instances, :server_advisors, :server_keys, :database_automatic_tuning_operations, :sync_groups, :sync_agents, :subscription_usages, :sync_members, :virtual_network_rules, :firewall_rules, :database_blob_auditing_policies, :jobs, :backup_long_term_retention_policies, :databases, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_operations, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :restore_points, :job_executions, :job_step_executions, :job_steps, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :server_automatic_tuning_operations, :job_target_executions, :server_dns_aliases, :server_security_alert_policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -386,7 +386,6 @@ def initialize(configurable, base_url=nil, options=nil) @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults @recoverable_databases = @client_0.recoverable_databases @restorable_dropped_databases = @client_0.restorable_dropped_databases - @capabilities = @client_0.capabilities @server_connection_policies = @client_0.server_connection_policies @database_threat_detection_policies = @client_0.database_threat_detection_policies @data_masking_policies = @client_0.data_masking_policies @@ -404,67 +403,68 @@ def initialize(configurable, base_url=nil, options=nil) @server_azure_adadministrators = @client_0.server_azure_adadministrators @server_communication_links = @client_0.server_communication_links @service_objectives = @client_0.service_objectives - @elastic_pool_activities = @client_0.elastic_pool_activities @elastic_pool_database_activities = @client_0.elastic_pool_database_activities - @service_tier_advisors = @client_0.service_tier_advisors + @elastic_pool_activities = @client_0.elastic_pool_activities @transparent_data_encryptions = @client_0.transparent_data_encryptions - @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities + @service_tier_advisors = @client_0.service_tier_advisors @server_table_auditing_policies = @client_0.server_table_auditing_policies - @database_table_auditing_policies = @client_0.database_table_auditing_policies + @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @database_connection_policies = @client_0.database_connection_policies - @server_usages = @client_0.server_usages + @database_table_auditing_policies = @client_0.database_table_auditing_policies @database_usages = @client_0.database_usages + @server_usages = @client_0.server_usages + @capabilities = @client_0.capabilities @client_1 = Azure::SQL::Mgmt::V2015_05_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @database_advisors = @client_1.database_advisors + @servers = @client_1.servers + @operations = @client_1.operations @database_recommended_actions = @client_1.database_recommended_actions - @server_advisors = @client_1.server_advisors - @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations + @database_advisors = @client_1.database_advisors @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups - @firewall_rules = @client_1.firewall_rules @managed_instances = @client_1.managed_instances - @operations = @client_1.operations + @server_advisors = @client_1.server_advisors @server_keys = @client_1.server_keys - @servers = @client_1.servers - @sync_agents = @client_1.sync_agents + @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @sync_groups = @client_1.sync_groups - @sync_members = @client_1.sync_members + @sync_agents = @client_1.sync_agents @subscription_usages = @client_1.subscription_usages + @sync_members = @client_1.sync_members @virtual_network_rules = @client_1.virtual_network_rules + @firewall_rules = @client_1.firewall_rules @client_2 = Azure::SQL::Mgmt::V2017_03_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies + @jobs = @client_2.jobs + @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies + @databases = @client_2.databases @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @server_blob_auditing_policies = @client_2.server_blob_auditing_policies - @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_operations = @client_2.database_operations - @databases = @client_2.databases @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines @database_vulnerability_assessments = @client_2.database_vulnerability_assessments @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials + @restore_points = @client_2.restore_points @job_executions = @client_2.job_executions - @jobs = @client_2.jobs @job_step_executions = @client_2.job_step_executions @job_steps = @client_2.job_steps - @job_target_executions = @client_2.job_target_executions @job_target_groups = @client_2.job_target_groups @job_versions = @client_2.job_versions @long_term_retention_backups = @client_2.long_term_retention_backups - @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @managed_databases = @client_2.managed_databases - @restore_points = @client_2.restore_points @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations + @job_target_executions = @client_2.job_target_executions @server_dns_aliases = @client_2.server_dns_aliases @server_security_alert_policies = @client_2.server_security_alert_policies @@ -489,63 +489,6 @@ def method_missing(method, *args) end class ModelClasses - def metric_value - Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue - end - def service_objective_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult - end - def data_masking_rule_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult - end - def query_text - Azure::SQL::Mgmt::V2014_04_01::Models::QueryText - end - def database_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult - end - def transparent_data_encryption_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult - end - def database_usage - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage - end - def extension_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult - end - def server_usage_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult - end - def server_communication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult - end - def server_usage - Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage - end - def disaster_recovery_configuration_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult - end - def max_size_capability - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability - end - def server_administrator_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult - end - def edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability - end - def elastic_pool_per_database_max_dtu_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability - end - def elastic_pool_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult - end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability - end - def replication_link_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult - end def location_capabilities Azure::SQL::Mgmt::V2014_04_01::Models::LocationCapabilities end @@ -591,9 +534,6 @@ def query_text_list_result def backup_long_term_retention_vault_list_result Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult end - def metric_name - Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - end def restorable_dropped_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end @@ -657,56 +597,50 @@ def top_queries def elastic_pool_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability end - def top_queries_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult - end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end + def top_queries_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + end def backup_long_term_retention_vault Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault end def recoverable_database Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase end - def restorable_dropped_database - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult end def server_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy end - def service_tier_advisor - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor - end def transparent_data_encryption Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption end def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end - def database_security_alert_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy + def restorable_dropped_database + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase end def data_masking_policy Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy end - def data_masking_rule - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule - end - def disaster_recovery_configuration - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + def database_security_alert_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end - def elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + def service_tier_advisor + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor end def elastic_pool_update Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolUpdate end - def geo_backup_policy - Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + def elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPool + end + def data_masking_rule + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule end def import_export_response Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse @@ -714,6 +648,12 @@ def import_export_response def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end + def geo_backup_policy + Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy + end + def disaster_recovery_configuration + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + end def recommended_elastic_pool Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool end @@ -726,11 +666,14 @@ def server_azure_adadministrator def server_communication_link Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink end + def elastic_pool_activity + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + end def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective end - def elastic_pool_activity - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity + def database_connection_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy end def elastic_pool_database_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity @@ -738,20 +681,20 @@ def elastic_pool_database_activity def transparent_data_encryption_activity Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity end - def database_connection_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseConnectionPolicy - end def database_table_auditing_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy end def server_table_auditing_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy end + def capability_status + Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + end def backup_long_term_retention_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState end - def capability_status - Azure::SQL::Mgmt::V2014_04_01::Models::CapabilityStatus + def check_name_availability_reason + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason end def max_size_units Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits @@ -759,26 +702,20 @@ def max_size_units def performance_level_unit Azure::SQL::Mgmt::V2014_04_01::Models::PerformanceLevelUnit end - def check_name_availability_reason - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason + def service_objective_name + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName end def server_connection_type Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType end - def database_edition - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - end - def service_objective_name - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName - end def transparent_data_encryption_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus end def recommended_index_action Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction end - def recommended_index_state - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + def database_edition + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition end def recommended_index_type Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType @@ -786,6 +723,9 @@ def recommended_index_type def read_scale Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale end + def recommended_index_state + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + end def security_alert_policy_email_account_admins Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins end @@ -795,9 +735,6 @@ def security_alert_policy_use_server_default def data_masking_state Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState end - def data_masking_rule_state - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState - end def data_masking_function Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction end @@ -807,8 +744,8 @@ def disaster_recovery_configuration_status def disaster_recovery_configuration_auto_failover Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover end - def disaster_recovery_configuration_failover_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + def data_masking_rule_state + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState end def disaster_recovery_configuration_role Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole @@ -819,8 +756,8 @@ def elastic_pool_state def elastic_pool_edition Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition end - def geo_backup_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + def disaster_recovery_configuration_failover_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy end def storage_key_type Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType @@ -831,8 +768,8 @@ def authentication_type def unit_type Azure::SQL::Mgmt::V2014_04_01::Models::UnitType end - def primary_aggregation_type - Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + def geo_backup_policy_state + Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState end def unit_definition_type Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType @@ -843,39 +780,93 @@ def query_aggregation_function def query_execution_type Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType end - def query_observed_metric_type - Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + def primary_aggregation_type + Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType end def query_metric_unit Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit end - def replication_role - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole - end def replication_state Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState end def server_version Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion end - def server_state - Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + def query_observed_metric_type + Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType end def transparent_data_encryption_activity_status Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def server_state + Azure::SQL::Mgmt::V2014_04_01::Models::ServerState end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + def replication_role + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + end + def metric_name + Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + end + def metric_value + Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + end + def service_objective_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult + end + def data_masking_rule_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult + end + def query_text + Azure::SQL::Mgmt::V2014_04_01::Models::QueryText + end + def database_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsageListResult + end + def transparent_data_encryption_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionListResult + end + def database_usage + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseUsage + end + def extension_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ExtensionListResult + end + def server_usage_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsageListResult + end + def server_communication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLinkListResult + end + def server_usage + Azure::SQL::Mgmt::V2014_04_01::Models::ServerUsage + end + def disaster_recovery_configuration_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationListResult + end + def max_size_capability + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeCapability + end + def server_administrator_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServerAdministratorListResult + end + def edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::EditionCapability + end + def elastic_pool_per_database_max_dtu_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMaxDtuCapability + end + def elastic_pool_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolListResult + end + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEditionCapability + end + def replication_link_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLinkListResult end def recommended_action_implementation_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult - end def recommended_action_impact_record Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord end @@ -924,47 +915,38 @@ def sync_group_log_properties def recommended_action_error_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionErrorInfo end + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + end def failover_group_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult end - def recommended_action_metric_info - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult end def sync_full_schema_properties_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def firewall_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - end - def server_key_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult + def recommended_action_metric_info + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo end def virtual_network_rule_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end - def sync_group_log_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + def server_key_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end - def server_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - end - def resource_with_writable_name - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName + def sync_group_log_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end def subscription_usage_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult end - def sync_group_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult - end - def sync_agent_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult + def resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName end def failover_group_read_write_endpoint Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint @@ -972,83 +954,89 @@ def failover_group_read_write_endpoint def sync_agent_key_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end - def sync_full_schema_properties - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + def sync_agent_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult end def sync_member_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult end + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + end def failover_group_update Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate end - def sync_agent_linked_database_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult - end def automatic_tuning_options Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions end def sync_database_id_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties end - def recommended_action - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction - end - def advisor - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor + def sync_group_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult end def database_automatic_tuning Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning end + def sync_agent_linked_database_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabaseListResult + end + def sync_full_schema_properties + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties + end + def proxy_resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName + end + def recommended_action + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction + end + def sync_agent + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent + end def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector end def failover_group Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup end - def proxy_resource_with_writable_name - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - end - def firewall_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + def server_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate end def managed_instance Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance end - def server_key - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - end - def server - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + def advisor + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor end - def sync_agent - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent + def sync_member + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember end def sync_agent_linked_database Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase end - def sync_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup - end - def sync_member - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + def server + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server end def subscription_usage Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage end - def virtual_network_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - end - def advisor_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus + def sync_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup end def auto_execute_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus end + def server_key + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey + end + def virtual_network_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + end def auto_execute_status_inherited_from Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom end - def recommended_action_current_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState + def advisor_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus end def recommended_action_initiated_by Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy @@ -1059,38 +1047,32 @@ def implementation_method def is_retryable Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable end - def automatic_tuning_mode - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode - end def automatic_tuning_disabled_reason Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end - def server_key_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + def recommended_action_current_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState end - def read_write_endpoint_failover_policy - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + def failover_group_replication_role + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole + end + def automatic_tuning_mode + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode end def read_only_endpoint_failover_policy Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadOnlyEndpointFailoverPolicy end - def failover_group_replication_role - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole + def sync_group_log_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType end def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - end - def sync_agent_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState - end - def sync_member_db_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + def server_key_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType end - def sync_group_log_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType + def sync_member_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState end def sync_conflict_resolution_policy Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy @@ -1098,134 +1080,44 @@ def sync_conflict_resolution_policy def sync_group_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState end + def sync_agent_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + end + def sync_member_db_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType + end + def read_write_endpoint_failover_policy + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ReadWriteEndpointFailoverPolicy + end def sync_direction Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection end - def sync_member_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState - end def virtual_network_rule_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def job_agent_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def managed_database_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin end - def resource_move_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult end - def job_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy end - def restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + def extended_server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy end - def job_step_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy end - def create_database_restore_point_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition - end - def server_dns_alias_acquisition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition - end - def job_version_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult - end - def job_agent_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult - end - def automatic_tuning_server_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions - end - def resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource - end - def database_update - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate - end - def job_step_execution_options - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions - end - def job_target_group_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult - end - def job_credential_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - end - def server_dns_alias_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult - end - def job_execution_target - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget - end - def long_term_retention_backup_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult - end - def managed_database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult - end - def sku - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku - end - def job_execution_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - end - def import_export_database_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end - def complete_database_restore_definition - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition - end - def database_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult - end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - end - def database_operation_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult - end - def job_step_action - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction - end - def database_vulnerability_assessment_rule_baseline_item - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem - end - def job_step_output - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput - end - def proxy_resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource - end - def extended_database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy - end - def extended_server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy - end - def server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy - end - def database_operation - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation - end - def tracked_resource - Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource - end - def database - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + def database_operation + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperation end def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult @@ -1236,6 +1128,9 @@ def database_vulnerability_assessment_rule_baseline def database_vulnerability_assessment Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessment end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end def data_warehouse_user_activities Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities end @@ -1245,74 +1140,59 @@ def job_agent def job_credential Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential end - def job_execution - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - end - def job - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + def database_operation_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseOperationListResult end def job_step Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep end - def job_target_group - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution end def job_version Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion end - def long_term_retention_backup - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + def job_target_group + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup end def managed_database Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase end - def restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - end - def server_automatic_tuning - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup end def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end - def server_security_alert_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + def server_automatic_tuning + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning end def management_operation_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagementOperationState end - def create_mode - Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode - end - def sample_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName - end - def database_status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy end def catalog_collation_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::CatalogCollationType end - def job_agent_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState + def database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseStatus end def job_execution_lifecycle Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle end - def provisioning_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + def database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseListResult + end + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType end def job_target_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType end - def job_schedule_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + def job_agent_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState end def job_step_action_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType @@ -1326,35 +1206,155 @@ def job_step_output_type def job_target_group_membership_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType end - def managed_database_status - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + def create_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateMode end def managed_database_create_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode end - def restore_point_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType - end def automatic_tuning_server_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode end + def managed_database_status + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus + end + def long_term_retention_database_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + end + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end + def automatic_tuning_server_reason + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + end + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + end + def proxy_resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProxyResource + end + def database + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Database + end + def database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseUpdate + end + def tracked_resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::TrackedResource + end + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + end + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + end + def sku + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Sku + end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + end def automatic_tuning_option_mode_desired Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired end def automatic_tuning_option_mode_actual Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual end - def automatic_tuning_server_reason - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason + def resource + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Resource + end + def sample_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SampleName end def security_alert_policy_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState end - def long_term_retention_database_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState + def restore_point_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType end - def vulnerability_assessment_policy_baseline_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + end + def provisioning_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState + end + def job_agent_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentUpdate + end + def managed_database_update + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate + end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ResourceMoveDefinition + end + def job_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTarget + end + def job_step_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult + end + def create_database_restore_point_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition + end + def server_dns_alias_acquisition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasAcquisition + end + def job_version_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult + end + def job_agent_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentListResult + end + def automatic_tuning_server_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerOptions + end + def job_step_execution_options + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions + end + def job_target_group_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult + end + def job_credential_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult + end + def server_dns_alias_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult + end + def job_execution_target + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget + end + def long_term_retention_backup_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult + end + def managed_database_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult + end + def job_execution_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult + end + def import_export_database_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition + end + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + end + def complete_database_restore_definition + Azure::SQL::Mgmt::V2017_03_01_preview::Models::CompleteDatabaseRestoreDefinition + end + def job_step_action + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction + end + def database_vulnerability_assessment_rule_baseline_item + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem + end + def job_step_output + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput end end end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index fbc28071f2..8059b055b6 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -9,92 +9,92 @@ module Storage module Mgmt Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus - StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts - Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers + Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages + StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts module Models + SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes + HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol + SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource + PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess + LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission + LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState + LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration + ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState + ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions + ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services + Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation + Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult + EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult - Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters - ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters - OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName - SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage - Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult + Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount + SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier + StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind + AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier + AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState + UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit + Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action + SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters - EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse KeyVaultProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties ServiceSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters - VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule ListServiceSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet - EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule - StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter StorageSkuListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters LegalHold = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold - OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay LegalHoldProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction - Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource TagProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty - Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty - CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties - StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies - ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource - TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource AzureEntityResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource BlobContainer = Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode - SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName - SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource - Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action - State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction - AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState - AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus - KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission - UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit - Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services - SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes - Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions - HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol - SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource - PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess - LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus - LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState - LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration - ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState - ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType end class StorageManagementClass - attr_reader :operations, :skus, :storage_accounts, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :skus, :blob_containers, :usages, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -106,9 +106,9 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @operations = @client_0.operations @skus = @client_0.skus - @storage_accounts = @client_0.storage_accounts - @usages = @client_0.usages @blob_containers = @client_0.blob_containers + @usages = @client_0.usages + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -127,38 +127,116 @@ def method_missing(method, *args) end class ModelClasses + def signed_resource_types + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes + end + def http_protocol + Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol + end + def signed_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource + end + def public_access + Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess + end + def lease_status + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus + end + def key_permission + Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission + end + def lease_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState + end + def lease_duration + Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration + end + def immutability_policy_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState + end + def immutability_policy_update_type + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType + end + def permissions + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions + end + def service_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + end + def state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::State + end + def operation_display + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay + end + def reason + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason + end + def operation_list_result + Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + end + def proxy_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource + end + def services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services + end + def operation + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation + end + def identity + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity + end + def tracked_resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource + end + def virtual_network_rule + Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule + end + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters + end + def storage_account_key + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey + end + def sku + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + end def storage_account_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult end + def encryption_service + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService + end def storage_account_list_keys_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult end - def dimension - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension + def encryption + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption end def storage_account_regenerate_key_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters end - def service_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + def endpoints + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints end def storage_account_update_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters end - def operation_list_result - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult + def custom_domain + Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain + end + def dimension + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension end def usage_name Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName end - def skucapability - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability - end def usage Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage end - def sku - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku + def encryption_services + Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices end def usage_list_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult @@ -166,12 +244,48 @@ def usage_list_result def check_name_availability_result Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end + def resource + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource + end + def metric_specification + Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification + end + def storage_account + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount + end + def sku_name + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName + end + def sku_tier + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier + end + def storage_account_create_parameters + Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters + end + def kind + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind + end + def access_tier + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier + end + def account_status + Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus + end + def provisioning_state + Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState + end + def usage_unit + Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit + end + def action + Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action + end + def skucapability + Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability + end def account_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters end - def encryption_service - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService - end def list_account_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse end @@ -181,39 +295,15 @@ def key_vault_properties def service_sas_parameters Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters end - def virtual_network_rule - Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule - end def list_service_sas_response Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse end def network_rule_set Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet end - def encryption_services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices - end - def encryption - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption - end - def endpoints - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints - end def iprule Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule end - def storage_account_key - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey - end - def identity - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity - end - def metric_specification - Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification - end - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters - end def management_policies_rules_set_parameter Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter end @@ -223,51 +313,27 @@ def storage_sku_list_result def list_container_items Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems end - def storage_account_create_parameters - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters - end def legal_hold Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold end - def operation_display - Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end def legal_hold_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties end def restriction Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction end - def resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource - end def tag_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty end - def operation - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation - end def update_history_property Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty end - def custom_domain - Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain - end def immutability_policy_properties Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties end - def storage_account - Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount - end def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end - def proxy_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource - end - def tracked_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource - end def azure_entity_resource Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource end @@ -283,81 +349,15 @@ def list_container_item def reason_code Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode end - def sku_name - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName - end - def sku_tier - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier - end - def kind - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind - end - def reason - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason - end def key_source Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource end - def action - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action - end - def state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::State - end def bypass Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass end def default_action Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction end - def access_tier - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier - end - def provisioning_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState - end - def account_status - Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus - end - def key_permission - Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission - end - def usage_unit - Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit - end - def services - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services - end - def signed_resource_types - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes - end - def permissions - Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions - end - def http_protocol - Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol - end - def signed_resource - Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource - end - def public_access - Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess - end - def lease_status - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus - end - def lease_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState - end - def lease_duration - Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration - end - def immutability_policy_state - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState - end - def immutability_policy_update_type - Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType - end end end end diff --git a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb index 4eea5339b1..107fb87a73 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,24 +7,91 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt + HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations + Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes + VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers + Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups + StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials + Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs + Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices + BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances - Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings - BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules - Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups - HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups - Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs - VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers - Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes - StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials module Models + BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest + HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup + ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest + ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo + NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings + Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager + StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential + TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope + Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates + AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType + BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType + VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType + AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus + BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType + ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus + ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction + DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device TargetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult FailoverTarget = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget AccessControlRecordList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList @@ -48,7 +115,6 @@ module Models ScheduleRecurrence = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleRecurrence SymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SymmetricEncryptedSecret NicIPv6 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time AcsConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration StorageAccountCredentialList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredentialList AlertErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertErrorDetails @@ -64,130 +130,64 @@ module Models NetworkSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettingsPatch NetworkInterfaceData0Settings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings HardwareComponentGroupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList - Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource JobErrorItem = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem DeviceDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails - JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time RemoteManagementSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch - JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DevicePatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch WebproxySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings + JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings - JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter JobList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList AvailableProviderOperationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList - Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + JobFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter BackupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList - ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest BackupScheduleList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList ManagerIntrinsicSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings - BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + ListFailoverTargetsRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + Key = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key ManagerSku = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku - CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + BandwidthSettingList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList NetworkAdapterList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList CloudApplianceConfigurationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList - NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters SecuritySettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch ManagerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList - DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + CloneRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData - BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension - SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList - VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList MetricNameFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings AlertFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics - DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule + MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName NicIPv4 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord + DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert - AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy - BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration - ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest - ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest - Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job - Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager - ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo - NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings - StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings - Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume - VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer - AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope - AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus - AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType - VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek - ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind - ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus end class StorSimple8000SeriesManagementClass - attr_reader :operations, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_policies, :backup_schedules, :backups, :hardware_component_groups, :jobs, :volume_containers, :volumes, :storage_account_credentials, :configurable, :base_url, :options, :model_classes + attr_reader :hardware_component_groups, :operations, :volumes, :volume_containers, :backups, :storage_account_credentials, :jobs, :devices, :backup_policies, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :device_settings, :backup_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -197,22 +197,22 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @hardware_component_groups = @client_0.hardware_component_groups @operations = @client_0.operations + @volumes = @client_0.volumes + @volume_containers = @client_0.volume_containers + @backups = @client_0.backups + @storage_account_credentials = @client_0.storage_account_credentials + @jobs = @client_0.jobs + @devices = @client_0.devices + @backup_policies = @client_0.backup_policies @managers = @client_0.managers @access_control_records = @client_0.access_control_records @alerts = @client_0.alerts @bandwidth_settings = @client_0.bandwidth_settings @cloud_appliances = @client_0.cloud_appliances - @devices = @client_0.devices @device_settings = @client_0.device_settings - @backup_policies = @client_0.backup_policies @backup_schedules = @client_0.backup_schedules - @backups = @client_0.backups - @hardware_component_groups = @client_0.hardware_component_groups - @jobs = @client_0.jobs - @volume_containers = @client_0.volume_containers - @volumes = @client_0.volumes - @storage_account_credentials = @client_0.storage_account_credentials @model_classes = ModelClasses.new end @@ -231,47 +231,248 @@ def method_missing(method, *args) end class ModelClasses - def target_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + def backup_schedule + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule end - def failover_target - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + def controller_power_state_change_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest end - def access_control_record_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + def hardware_component_group + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup end - def failover_targets_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + def configure_device_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest end - def alert_source - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + def manager_extended_info + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo end - def feature - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + def network_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings end - def remote_management_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + def manager + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager end - def failover_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + def storage_account_credential + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential end - def alert_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + def time_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings end - def volume_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + def security_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings end - def asymmetric_encrypted_secret - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + def volume_container + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer end - def volume_container_failover_metadata - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + def alert_scope + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope end - def available_provider_operation - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + def updates + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates end - def failover_set_eligibility_result - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult + def alert_severity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + end + def alert_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + end + def alert_source_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType + end + def backup_job_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType + end + def volume_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType + end + def alert_email_notification_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus + end + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + end + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + end + def scheduled_backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + end + def metric_definition + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + end + def recurrence_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType + end + def schedule_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus + end + def controller_power_state_action + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction + end + def day_of_week + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + end + def controller_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + end + def device_configuration_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + end + def encryption_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings + end + def controller_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + end + def virtual_machine_api_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + end + def authorization_eligibility + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + end + def device_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + end + def device_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + end + def encryption_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + end + def key_rollover_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + end + def authorization_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + end + def in_eligibility_category + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + end + def feature_support_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + end + def hardware_component_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + end + def target_eligibility_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + end + def target_eligibility_result_code + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + end + def metric_aggregation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + end + def net_interface_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + end + def manager_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + end + def metric_unit + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + end + def network_mode + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + end + def remote_management_mode_configuration + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + end + def net_interface_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + end + def iscsiand_cloud_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + end + def job_error_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + end + def owner_ship_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + end + def ssl_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + end + def job_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + end + def monitoring_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + end + def operation_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + end + def volume_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + end + def job_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + end + def job + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + end + def volume + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + end + def backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + end + def backup_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + end + def resource + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + end + def kind + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind + end + def authentication_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + end + def device + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device + end + def target_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult + end + def failover_target + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget + end + def access_control_record_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList + end + def failover_targets_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTargetsList + end + def alert_source + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSource + end + def feature + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Feature + end + def remote_management_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettings + end + def failover_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverRequest + end + def alert_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertList + end + def volume_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeFailoverMetadata + end + def asymmetric_encrypted_secret + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AsymmetricEncryptedSecret + end + def volume_container_failover_metadata + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainerFailoverMetadata + end + def available_provider_operation + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperation + end + def failover_set_eligibility_result + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverSetEligibilityResult end def backup_element Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupElement @@ -300,9 +501,6 @@ def symmetric_encrypted_secret def nic_ipv6 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def acs_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration end @@ -348,65 +546,59 @@ def network_interface_data0_settings def hardware_component_group_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList end - def resource - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource - end def job_error_item Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem end def device_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails end - def job_error_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end def remote_management_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch end - def job_stage - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage - end def device_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch end def webproxy_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::WebproxySettings end + def job_stage + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage + end def dnssettings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DNSSettings end - def job_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter - end def job_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobList end def available_provider_operation_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationList end - def key - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key + def job_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobFilter end def backup_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupList end - def list_failover_targets_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest - end def backup_schedule_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupScheduleList end def manager_intrinsic_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerIntrinsicSettings end - def bandwidth_setting_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList + def list_failover_targets_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ListFailoverTargetsRequest + end + def key + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Key end def manager_sku Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerSku end - def clone_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest + def bandwidth_setting_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSettingList end def network_adapter_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapterList @@ -414,17 +606,14 @@ def network_adapter_list def cloud_appliance_configuration_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList end - def network_adapters - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters - end def security_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch end def manager_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def device_rollover_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + def clone_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloneRequest end def manager_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch @@ -432,8 +621,8 @@ def manager_patch def dimension_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end - def metric_availablity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + def network_adapters + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay @@ -441,11 +630,8 @@ def available_provider_operation_display def metric_data Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData end - def backup_policy_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - end - def metric_name - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + def device_rollover_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails end def chap_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings @@ -453,11 +639,8 @@ def chap_settings def metric_dimension Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension end - def secondary_dnssettings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - end - def metric_definition - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + def metric_availablity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity end def device_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList @@ -465,8 +648,8 @@ def device_list def metric_definition_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList end - def volume_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + def backup_policy_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end def metric_name_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter @@ -474,8 +657,8 @@ def metric_name_filter def vm_image Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage end - def metric_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + def secondary_dnssettings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end def alert_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter @@ -483,8 +666,8 @@ def alert_filter def metrics Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics end - def data_statistics - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + def volume_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList end def metric_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList @@ -492,26 +675,32 @@ def metric_list def bandwidth_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule end + def metric_name + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName + end def nic_ipv4 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 end def access_control_record Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord end + def data_statistics + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics + end + def metric_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + end def alert Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert end - def alert_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings - end def backup Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup end def backup_policy Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy end - def backup_schedule - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + def alert_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings end def bandwidth_setting Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting @@ -519,195 +708,6 @@ def bandwidth_setting def cloud_appliance_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration end - def configure_device_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest - end - def controller_power_state_change_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest - end - def device - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - end - def encryption_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - end - def hardware_component_group - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - end - def job - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job - end - def manager - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager - end - def manager_extended_info - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo - end - def network_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - end - def security_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings - end - def storage_account_credential - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - end - def time_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings - end - def updates - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - end - def volume - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume - end - def volume_container - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer - end - def alert_scope - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope - end - def alert_source_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - end - def alert_severity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - end - def alert_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus - end - def alert_email_notification_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - end - def backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end - def backup_job_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType - end - def volume_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - end - def scheduled_backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - end - def backup_policy_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - end - def recurrence_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - end - def day_of_week - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek - end - def schedule_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - end - def kind - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind - end - def controller_power_state_action - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - end - def controller_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - end - def controller_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - end - def device_configuration_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - end - def device_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - end - def device_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - end - def virtual_machine_api_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - end - def authorization_eligibility - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - end - def authorization_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - end - def in_eligibility_category - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - end - def encryption_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - end - def key_rollover_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - end - def target_eligibility_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - end - def target_eligibility_result_code - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - end - def feature_support_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - end - def hardware_component_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - end - def job_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - end - def job_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - end - def manager_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - end - def metric_unit - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - end - def metric_aggregation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - end - def net_interface_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - end - def net_interface_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - end - def iscsiand_cloud_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - end - def network_mode - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - end - def authentication_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - end - def remote_management_mode_configuration - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - end - def ssl_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - end - def volume_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - end - def operation_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - end - def backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - end - def monitoring_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - end - def owner_ship_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus - end end end end diff --git a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb index f6c5f72855..6e98c0f218 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -16,16 +16,17 @@ module Mgmt Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models - AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult - ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization + AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties @@ -36,58 +37,57 @@ module Models StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters - SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties - StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult InputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult - AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn + StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource + SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties - ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus - ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult - Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource - FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult + ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input - Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation + FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob - JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureMachineLearningWebServiceFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties - AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization - JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization - CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization + FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput + ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties - ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource + AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource - AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource - BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties - IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource - StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters - SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy - OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat - Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding - UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end class StreamAnalyticsManagementClass @@ -126,35 +126,38 @@ def method_missing(method, *args) end class ModelClasses - def azure_machine_learning_web_service_input_column - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn - end def operation_display Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay end - def azure_machine_learning_web_service_inputs - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs - end def operation_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult end - def reference_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource + def error_response + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + end + def operation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + end + def encoding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + end + def azure_machine_learning_web_service_input_column + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn end def serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization end + def azure_machine_learning_web_service_inputs + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs + end def function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding end def diagnostics Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end - def function_output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - end - def sku - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + def reference_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition @@ -186,56 +189,59 @@ def blob_data_source_properties def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end - def sub_resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - end - def operation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + def sku + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end - def stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource - end def streaming_job_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult end def input_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult end - def azure_machine_learning_web_service_output_column - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn + def stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource + end + def sub_resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource end def oauth_based_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties end - def resource_test_status - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus - end - def error_response - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + def azure_machine_learning_web_service_output_column + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn end def subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end - def resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + def resource_test_status + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus + end + def input + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input end def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end - def input - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input + def output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def transformation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end - def output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + def java_script_function_binding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + end + def resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + end + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount + end + def avro_serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end def function Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function @@ -243,8 +249,8 @@ def function def streaming_job Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob end - def java_script_function_binding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + def csv_serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding @@ -252,17 +258,17 @@ def azure_machine_learning_web_service_function_binding def scalar_function_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties end - def avro_serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization + def azure_data_lake_store_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end - def csv_serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization + def function_output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end - def azure_data_lake_store_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + def service_bus_topic_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource end def power_bioutput_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource @@ -270,8 +276,8 @@ def power_bioutput_data_source def event_hub_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end - def service_bus_topic_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource + def azure_sql_database_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource end def service_bus_queue_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource @@ -279,8 +285,8 @@ def service_bus_queue_output_data_source def document_db_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end - def azure_sql_database_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + def blob_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource end def event_hub_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource @@ -288,8 +294,8 @@ def event_hub_output_data_source def azure_table_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end - def blob_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + def io_thub_stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end def blob_reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource @@ -297,8 +303,8 @@ def blob_reference_input_data_source def reference_input_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end - def io_thub_stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def event_hub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource @@ -306,8 +312,8 @@ def event_hub_stream_input_data_source def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end - def stream_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + def subscription_quota + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters @@ -315,33 +321,27 @@ def azure_machine_learning_web_service_function_retrieve_default_definition_para def java_script_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters end - def subscription_quota - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota + def output_error_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end def sku_name Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end - def output_start_mode - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode - end def events_out_of_order_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end - def output_error_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + def udf_type + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end + def output_start_mode + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + end def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end - def encoding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding - end - def udf_type - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType - end end end end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 19c99b6d0d..82659e0d14 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -7,23 +7,23 @@ module Azure::Profiles::Latest module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -65,15 +65,15 @@ def location_list_result def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index c09fb5f90c..f4bbad3ddf 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,21 +8,21 @@ module Azure::Profiles::Latest module TextAnalytics module Models + SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem + MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult + InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError + AzureRegions = Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input + DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage MultiLanguageInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput KeyPhraseBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem - DetectedLanguage = Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult LanguageBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem - ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord - SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput - SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult - InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - AzureRegions = Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions end class TextAnalyticsDataClass @@ -54,9 +54,30 @@ def method_missing(method, *args) end class ModelClasses + def sentiment_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem + end + def multi_language_batch_input + Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + end + def sentiment_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult + end + def internal_error + Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError + end + def azure_regions + Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions + end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end def input Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input end + def detected_language + Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage + end def multi_language_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageInput end @@ -66,39 +87,18 @@ def batch_input def key_phrase_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResultItem end - def detected_language - Azure::CognitiveServices::TextAnalytics::V2_0::Models::DetectedLanguage - end def key_phrase_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult end def language_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResultItem end - def error_response - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse - end def language_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult end def error_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord end - def sentiment_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - end - def multi_language_batch_input - Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput - end - def sentiment_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult - end - def internal_error - Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - end - def azure_regions - Azure::CognitiveServices::TextAnalytics::V2_0::Models::AzureRegions - end end end end diff --git a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb index f4c275236c..168e4f43e8 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -8,8 +8,8 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt Endpoints = Azure::TrafficManager::Mgmt::V2017_05_01::Endpoints - Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles GeographicHierarchies = Azure::TrafficManager::Mgmt::V2017_05_01::GeographicHierarchies + Profiles = Azure::TrafficManager::Mgmt::V2017_05_01::Profiles HeatMap = Azure::TrafficManager::Mgmt::V2017_09_01_preview::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerUserMetricsKeys @@ -19,29 +19,29 @@ module Models CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2017_05_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters DnsConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::DnsConfig MonitorConfig = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig - ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult - Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint - Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy EndpointStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointStatus EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::EndpointMonitorStatus ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileMonitorStatus MonitorProtocol = Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol + Profile = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile + ProfileListResult = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult ProfileStatus = Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus + Endpoint = Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod + TrafficManagerUserMetricsKeyModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel + TrackedResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource DeleteOperationResult = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult - HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint Resource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource + HeatMapEndpoint = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint TrafficFlow = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow QueryExperience = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience - TrackedResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource ProxyResource = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource HeatMapModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel - TrafficManagerUserMetricsKeyModel = Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel end class TrafficManagerManagementClass - attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :geographic_hierarchies, :profiles, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @endpoints = @client_0.endpoints - @profiles = @client_0.profiles @geographic_hierarchies = @client_0.geographic_hierarchies + @profiles = @client_0.profiles @client_1 = Azure::TrafficManager::Mgmt::V2017_09_01_preview::TrafficManagerManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -97,15 +97,6 @@ def dns_config def monitor_config Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorConfig end - def profile_list_result - Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult - end - def endpoint - Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint - end - def profile - Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile - end def traffic_manager_geographic_hierarchy Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficManagerGeographicHierarchy end @@ -121,39 +112,48 @@ def profile_monitor_status def monitor_protocol Azure::TrafficManager::Mgmt::V2017_05_01::Models::MonitorProtocol end + def profile + Azure::TrafficManager::Mgmt::V2017_05_01::Models::Profile + end + def profile_list_result + Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileListResult + end def profile_status Azure::TrafficManager::Mgmt::V2017_05_01::Models::ProfileStatus end + def endpoint + Azure::TrafficManager::Mgmt::V2017_05_01::Models::Endpoint + end def traffic_routing_method Azure::TrafficManager::Mgmt::V2017_05_01::Models::TrafficRoutingMethod end + def traffic_manager_user_metrics_key_model + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel + end + def tracked_resource + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource + end def delete_operation_result Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::DeleteOperationResult end - def heat_map_endpoint - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint - end def resource Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::Resource end + def heat_map_endpoint + Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapEndpoint + end def traffic_flow Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficFlow end def query_experience Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::QueryExperience end - def tracked_resource - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrackedResource - end def proxy_resource Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::ProxyResource end def heat_map_model Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::HeatMapModel end - def traffic_manager_user_metrics_key_model - Azure::TrafficManager::Mgmt::V2017_09_01_preview::Models::TrafficManagerUserMetricsKeyModel - end end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 20f1613c62..336743e456 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,38 +9,38 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models + MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory - Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile - ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos - Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer - SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer - Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing - CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork - MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject + PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions + SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer + Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode + Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject end class VideoSearchDataClass @@ -73,92 +73,83 @@ def method_missing(method, *args) end class ModelClasses + def media_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + end def trending_videos_category Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory end def trending_videos_subcategory Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory end - def error - Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - end - def pivot_suggestions - Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - end - def query_context - Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - end - def query - Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - end def videos_module Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule end def trending_videos_tile Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile end + def videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + end + def trending_videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos + end + def video_details + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails + end + def video_query_scenario + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario + end + def video_length + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + end + def video_pricing + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + end + def response + Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + end + def video_resolution + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + end + def video_insight_module + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + end def response_base Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + def query_context + Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext + end + def query + Azure::CognitiveServices::VideoSearch::V1_0::Models::Query end def video_object Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject end - def videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + def pivot_suggestions + Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end - def response - Azure::CognitiveServices::VideoSearch::V1_0::Models::Response + def search_results_answer + Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer end def answer Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer end - def search_results_answer - Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer - end def thing Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing end def creative_work Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork end - def media_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - end - def identifiable - Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - end - def trending_videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos - end - def video_details - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails - end - def video_query_scenario - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - end def error_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - end - def video_length - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength - end - def video_pricing - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - end - def video_resolution - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + def identifiable + Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable end def safe_search Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch @@ -166,8 +157,17 @@ def safe_search def text_format Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat end - def video_insight_module - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + end + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + end + def error + Azure::CognitiveServices::VideoSearch::V1_0::Models::Error + end + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject end end end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index 6949b51f0c..c3e9611dbe 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -7,79 +7,81 @@ module Azure::Profiles::Latest module Web module Mgmt - DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider - Domains = Azure::Web::Mgmt::V2015_04_01::Domains TopLevelDomains = Azure::Web::Mgmt::V2015_04_01::TopLevelDomains - AppServiceCertificateOrders = Azure::Web::Mgmt::V2015_08_01::AppServiceCertificateOrders + Domains = Azure::Web::Mgmt::V2015_04_01::Domains + DomainRegistrationProvider = Azure::Web::Mgmt::V2015_04_01::DomainRegistrationProvider CertificateRegistrationProvider = Azure::Web::Mgmt::V2015_08_01::CertificateRegistrationProvider - Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates + AppServiceCertificateOrders = Azure::Web::Mgmt::V2015_08_01::AppServiceCertificateOrders DeletedWebApps = Azure::Web::Mgmt::V2016_03_01::DeletedWebApps + Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations + Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates Diagnostics = Azure::Web::Mgmt::V2016_03_01::Diagnostics Provider = Azure::Web::Mgmt::V2016_03_01::Provider - Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations WebApps = Azure::Web::Mgmt::V2016_08_01::WebApps AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans module Models + TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + DomainStatus = Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + DnsType = Azure::Web::Mgmt::V2015_04_01::Models::DnsType + DomainType = Azure::Web::Mgmt::V2015_04_01::Models::DomainType + DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + ErrorResponse = Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse + Domain = Azure::Web::Mgmt::V2015_04_01::Models::Domain Contact = Azure::Web::Mgmt::V2015_04_01::Models::Contact DomainPurchaseConsent = Azure::Web::Mgmt::V2015_04_01::Models::DomainPurchaseConsent DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2015_04_01::Models::DomainAvailablilityCheckResult DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters NameIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection + DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection Address = Azure::Web::Mgmt::V2015_04_01::Models::Address - HostName = Azure::Web::Mgmt::V2015_04_01::Models::HostName TopLevelDomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection + HostName = Azure::Web::Mgmt::V2015_04_01::Models::HostName DomainCollection = Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection TldLegalAgreement = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreement - ErrorResponse = Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainAgreementOption TldLegalAgreementCollection = Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection - Domain = Azure::Web::Mgmt::V2015_04_01::Models::Domain - DomainOwnershipIdentifier = Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - DomainPatchResource = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource - TopLevelDomain = Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain - DomainStatus = Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus - DnsType = Azure::Web::Mgmt::V2015_04_01::Models::DnsType - DomainType = Azure::Web::Mgmt::V2015_04_01::Models::DomainType + CertificateEmail = Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail + CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest + CertificateProductType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType + CertificateOrderStatus = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus AppServiceCertificate = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificate AppServiceCertificateCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateCollection AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderCollection SiteSealRequest = Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest - CertificateDetails = Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails - SiteSeal = Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal - AppServiceCertificateResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource AppServiceCertificateOrder = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder + SiteSeal = Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal + CertificateDetails = Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails + ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource - CertificateEmail = Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail - CertificateOrderAction = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction - ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest - CertificateProductType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType - CertificateOrderStatus = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus CertificateOrderActionType = Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType + AppServiceCertificateResource = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource + SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType + NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel + VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails MetricAvailability = Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability - MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification + ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification + CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType + KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName + Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo - CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection ValidateResponse = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse ValidateRequest = Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest PremierAddOnOfferCollection = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection AppServiceEnvironment = Azure::Web::Mgmt::V2016_03_01::Models::AppServiceEnvironment GeoRegionCollection = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection - CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay - Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope - ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection DeploymentLocations = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations - NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier SourceControlCollection = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection GlobalCsmSkuDescription = Azure::Web::Mgmt::V2016_03_01::Models::GlobalCsmSkuDescription DeletedSite = Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite @@ -92,38 +94,80 @@ module Models RecommendationRule = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationRule DiagnosticMetricSample = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample DiagnosticMetricSet = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet - DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource ResponseMetaData = Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData AnalysisData = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData Recommendation = Azure::Web::Mgmt::V2016_03_01::Models::Recommendation SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection - DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection - Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate + DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource CertificatePatchResource = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource - DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection AnalysisDefinition = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition - DiagnosticAnalysis = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis + DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition DiagnosticCategory = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory - DiagnosticDetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + DiagnosticAnalysis = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis GeoRegion = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion + CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay + CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection + VnetValidationTestFailure = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure + Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension + MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification PremierAddOnOffer = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer - SourceControl = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl VnetParameters = Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters - VnetValidationTestFailure = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure - VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails - KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus - IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType - SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType - ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType - NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel - Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + DiagnosticDetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + SourceControl = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl AppServicePlanRestrictions = Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions - InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType - CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier + CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties ValidateResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes - SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName + InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + PublicCertificate = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + SiteAuthSettings = Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + MigrateMySqlStatus = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + SiteInstance = Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + ProcessThreadInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + SitePhpErrorLogFlag = Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + SiteConfigResource = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + SiteExtensionInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob + SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig ApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::ApplicationLogsConfig DatabaseBackupSetting = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseBackupSetting @@ -134,184 +178,61 @@ module Models ProcessThreadInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfoCollection CsmPublishingProfileOptions = Azure::Web::Mgmt::V2016_08_01::Models::CsmPublishingProfileOptions WebAppInstanceCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebAppInstanceCollection - PublicCertificateCollection = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + PublicCertificateCollection = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection TriggeredWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection EnabledConfig = Azure::Web::Mgmt::V2016_08_01::Models::EnabledConfig TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistoryCollection SnapshotCollection = Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection + PerfMonSet = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet SiteCloneabilityCriterion = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneabilityCriterion HostNameBindingCollection = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBindingCollection SiteCloneability = Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability - PerfMonSet = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet - PerfMonCounterCollection = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection - WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection ContinuousWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + PerfMonCounterCollection = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection + WebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection + SlotDifferenceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig - AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig MSDeployLogEntry = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry - BackupSchedule = Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule - PerfMonSample = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample - SlotDifferenceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection + FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection DeploymentCollection = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection - HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig SiteConfigResourceCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection - FunctionEnvelopeCollection = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + PerfMonSample = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample PerfMonResponse = Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection + HttpLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary CsmSlotEntity = Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity - SiteExtensionInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection BackupItem = Azure::Web::Mgmt::V2016_08_01::Models::BackupItem - BackupRequest = Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest - ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary ContinuousWebJob = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob - CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult - Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment FunctionEnvelope = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope - FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets HostNameBinding = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBinding - MSDeploy = Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy MSDeployLog = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLog - MSDeployStatus = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus MigrateMySqlRequest = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlRequest - MigrateMySqlStatus = Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus - RelayServiceConnectionEntity = Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity - NetworkFeatures = Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures + SiteExtensionInfoCollection = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection PremierAddOn = Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn - ProcessThreadInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo - ProcessModuleInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + MSDeployStatus = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus + CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult + NetworkFeatures = Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures + Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment + RelayServiceConnectionEntity = Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity + MSDeploy = Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy ProcessInfo = Azure::Web::Mgmt::V2016_08_01::Models::ProcessInfo - PublicCertificate = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate - RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest - RestoreResponse = Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse - SiteAuthSettings = Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings - SiteConfigResource = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo - SiteExtensionInfo = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo - SiteInstance = Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + BackupRequest = Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest SiteLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig - SitePatchResource = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource - SitePhpErrorLogFlag = Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag - SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl - SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource - SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference - Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot - StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions - StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse - StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary - TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun - TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory - TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob - WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob - LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel - BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus - DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType - FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit - BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType - ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus - WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType - PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat - DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult - AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType - CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType - HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType - MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState - MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType - PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation - UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction - BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider - CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult - SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType - TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus - HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile - VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping - IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction - VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo - StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity - CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings - NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair - AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction - AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection - AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions - HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics - SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger - SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus - SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo - SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription - AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse - SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection - WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool - NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry - ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection - WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection - HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection - Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource - ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity - ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty - SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget - MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability - ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection - StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger - LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString - RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger - ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection - AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers - ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules - SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo - SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits - UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection - RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule - AppServicePlanCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection - Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments - ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName - VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication - Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability - HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping - Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation - SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey - CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo - StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection - SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig - ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource - HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource - MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition - Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage - WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource - VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute - VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo - VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway - User = Azure::Web::Mgmt::V2016_09_01::Models::User + BackupSchedule = Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule + RestoreRequest = Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest + FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets SnapshotRecoveryRequest = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest ResourceMetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2016_09_01::Models::PushSettings - Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier HybridConnectionKey = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey - HybridConnection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection Site = Azure::Web::Mgmt::V2016_09_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway RouteType = Azure::Web::Mgmt::V2016_09_01::Models::RouteType AutoHealActionType = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType ConnectionStringType = Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType @@ -321,13 +242,92 @@ module Models SslState = Azure::Web::Mgmt::V2016_09_01::Models::SslState HostType = Azure::Web::Mgmt::V2016_09_01::Models::HostType UsageState = Azure::Web::Mgmt::V2016_09_01::Models::UsageState + MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition SiteAvailabilityState = Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState StatusOptions = Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus + Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation + HybridConnection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection + Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage + Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource + ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState + ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource + LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + User = Azure::Web::Mgmt::V2016_09_01::Models::User + VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool + VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry + HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily + ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource + ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty + SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + AppServicePlanCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection + ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric + ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection + WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection + StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue + ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource + SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus + CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo + HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus + IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction + InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions + CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions + AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig + SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget + ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability + NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair + ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo + SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription + Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability + HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState + AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers + AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules + ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName + SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits + SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity + RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments + VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory + VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication + HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping + SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey + VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute + VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo + Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end class WebManagementClass - attr_reader :domain_registration_provider, :domains, :top_level_domains, :app_service_certificate_orders, :certificate_registration_provider, :certificates, :deleted_web_apps, :diagnostics, :provider, :recommendations, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes + attr_reader :top_level_domains, :domains, :domain_registration_provider, :certificate_registration_provider, :app_service_certificate_orders, :deleted_web_apps, :recommendations, :certificates, :diagnostics, :provider, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -337,28 +337,28 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @domain_registration_provider = @client_0.domain_registration_provider - @domains = @client_0.domains @top_level_domains = @client_0.top_level_domains + @domains = @client_0.domains + @domain_registration_provider = @client_0.domain_registration_provider @client_1 = Azure::Web::Mgmt::V2015_08_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @app_service_certificate_orders = @client_1.app_service_certificate_orders @certificate_registration_provider = @client_1.certificate_registration_provider + @app_service_certificate_orders = @client_1.app_service_certificate_orders @client_2 = Azure::Web::Mgmt::V2016_03_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) - @certificates = @client_2.certificates @deleted_web_apps = @client_2.deleted_web_apps + @recommendations = @client_2.recommendations + @certificates = @client_2.certificates @diagnostics = @client_2.diagnostics @provider = @client_2.provider - @recommendations = @client_2.recommendations @client_3 = Azure::Web::Mgmt::V2016_08_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @@ -400,6 +400,30 @@ def method_missing(method, *args) end class ModelClasses + def top_level_domain + Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + end + def domain_status + Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + end + def dns_type + Azure::Web::Mgmt::V2015_04_01::Models::DnsType + end + def domain_type + Azure::Web::Mgmt::V2015_04_01::Models::DomainType + end + def domain_ownership_identifier + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier + end + def domain_patch_resource + Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + end + def error_response + Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse + end + def domain + Azure::Web::Mgmt::V2015_04_01::Models::Domain + end def contact Azure::Web::Mgmt::V2015_04_01::Models::Contact end @@ -412,59 +436,50 @@ def domain_availablility_check_result def domain_control_center_sso_request Azure::Web::Mgmt::V2015_04_01::Models::DomainControlCenterSsoRequest end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection - end def domain_recommendation_search_parameters Azure::Web::Mgmt::V2015_04_01::Models::DomainRecommendationSearchParameters end def name_identifier_collection Azure::Web::Mgmt::V2015_04_01::Models::NameIdentifierCollection end + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifierCollection + end def address Azure::Web::Mgmt::V2015_04_01::Models::Address end - def host_name - Azure::Web::Mgmt::V2015_04_01::Models::HostName - end def top_level_domain_collection Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainCollection end + def host_name + Azure::Web::Mgmt::V2015_04_01::Models::HostName + end def domain_collection Azure::Web::Mgmt::V2015_04_01::Models::DomainCollection end def tld_legal_agreement Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreement end - def error_response - Azure::Web::Mgmt::V2015_04_01::Models::ErrorResponse - end def top_level_domain_agreement_option Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomainAgreementOption end def tld_legal_agreement_collection Azure::Web::Mgmt::V2015_04_01::Models::TldLegalAgreementCollection end - def domain - Azure::Web::Mgmt::V2015_04_01::Models::Domain - end - def domain_ownership_identifier - Azure::Web::Mgmt::V2015_04_01::Models::DomainOwnershipIdentifier - end - def domain_patch_resource - Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource + def certificate_email + Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail end - def top_level_domain - Azure::Web::Mgmt::V2015_04_01::Models::TopLevelDomain + def certificate_order_action + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction end - def domain_status - Azure::Web::Mgmt::V2015_04_01::Models::DomainStatus + def renew_certificate_order_request + Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest end - def dns_type - Azure::Web::Mgmt::V2015_04_01::Models::DnsType + def certificate_product_type + Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType end - def domain_type - Azure::Web::Mgmt::V2015_04_01::Models::DomainType + def certificate_order_status + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus end def app_service_certificate Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificate @@ -478,17 +493,17 @@ def app_service_certificate_order_collection def site_seal_request Azure::Web::Mgmt::V2015_08_01::Models::SiteSealRequest end - def certificate_details - Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails + def app_service_certificate_order + Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder end def site_seal Azure::Web::Mgmt::V2015_08_01::Models::SiteSeal end - def app_service_certificate_resource - Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource + def certificate_details + Azure::Web::Mgmt::V2015_08_01::Models::CertificateDetails end - def app_service_certificate_order - Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder + def reissue_certificate_order_request + Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest end def app_service_certificate_order_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource @@ -496,38 +511,50 @@ def app_service_certificate_order_patch_resource def app_service_certificate_patch_resource Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource end - def certificate_email - Azure::Web::Mgmt::V2015_08_01::Models::CertificateEmail - end - def certificate_order_action - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderAction + def certificate_order_action_type + Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType end - def reissue_certificate_order_request - Azure::Web::Mgmt::V2015_08_01::Models::ReissueCertificateOrderRequest + def app_service_certificate_resource + Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource end - def renew_certificate_order_request - Azure::Web::Mgmt::V2015_08_01::Models::RenewCertificateOrderRequest + def solution_type + Azure::Web::Mgmt::V2016_03_01::Models::SolutionType end - def certificate_product_type - Azure::Web::Mgmt::V2015_08_01::Models::CertificateProductType + def resource_scope_type + Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType end - def certificate_order_status - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderStatus + def notification_level + Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel end - def certificate_order_action_type - Azure::Web::Mgmt::V2015_08_01::Models::CertificateOrderActionType + def vnet_validation_failure_details + Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails end def metric_availability Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability end - def metric_specification - Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification + def service_specification + Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification end - def hosting_environment_deployment_info - Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo + def check_name_resource_types + Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes end - def certificate_collection - Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + def channels + Azure::Web::Mgmt::V2016_03_01::Models::Channels + end + def issue_type + Azure::Web::Mgmt::V2016_03_01::Models::IssueType + end + def key_vault_secret_status + Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + end + def sku_name + Azure::Web::Mgmt::V2016_03_01::Models::SkuName + end + def certificate + Azure::Web::Mgmt::V2016_03_01::Models::Certificate + end + def hosting_environment_deployment_info + Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo end def validate_response Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse @@ -547,33 +574,12 @@ def app_service_environment def geo_region_collection Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection end - def csm_operation_display - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay - end - def dimension - Azure::Web::Mgmt::V2016_03_01::Models::Dimension - end def csm_move_resource_envelope Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope end - def service_specification - Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - end - def csm_operation_description_properties - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - end - def csm_operation_description - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - end - def csm_operation_collection - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection - end def deployment_locations Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations end - def name_identifier - Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier - end def source_control_collection Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection end @@ -610,9 +616,6 @@ def diagnostic_metric_sample def diagnostic_metric_set Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet end - def data_source - Azure::Web::Mgmt::V2016_03_01::Models::DataSource - end def response_meta_data Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData end @@ -631,80 +634,209 @@ def diagnostic_detector_collection def diagnostic_analysis_collection Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection end - def diagnostic_category_collection - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection - end - def certificate - Azure::Web::Mgmt::V2016_03_01::Models::Certificate + def data_source + Azure::Web::Mgmt::V2016_03_01::Models::DataSource end def certificate_patch_resource Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource end - def detector_definition - Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + def diagnostic_category_collection + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection end def analysis_definition Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition end - def diagnostic_analysis - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis + def detector_definition + Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition end def diagnostic_category Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory end - def diagnostic_detector_response - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse + def diagnostic_analysis + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis end def geo_region Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion end - def premier_add_on_offer - Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer + def csm_operation_display + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay end - def source_control - Azure::Web::Mgmt::V2016_03_01::Models::SourceControl + def certificate_collection + Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection end - def vnet_parameters - Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters + def csm_operation_collection + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection end def vnet_validation_test_failure Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure end - def vnet_validation_failure_details - Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails - end - def key_vault_secret_status - Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus + def dimension + Azure::Web::Mgmt::V2016_03_01::Models::Dimension end - def issue_type - Azure::Web::Mgmt::V2016_03_01::Models::IssueType + def metric_specification + Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification end - def solution_type - Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + def premier_add_on_offer + Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer end - def resource_scope_type - Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType + def vnet_parameters + Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters end - def notification_level - Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel + def diagnostic_detector_response + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse end - def channels - Azure::Web::Mgmt::V2016_03_01::Models::Channels + def source_control + Azure::Web::Mgmt::V2016_03_01::Models::SourceControl end def app_service_plan_restrictions Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions end - def in_availability_reason_type - Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + def name_identifier + Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier end - def check_name_resource_types - Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + def csm_operation_description + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + end + def csm_operation_description_properties + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties end def validate_resource_types Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes end - def sku_name - Azure::Web::Mgmt::V2016_03_01::Models::SkuName + def in_availability_reason_type + Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType + end + def public_certificate + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + end + def restore_response + Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + end + def site_auth_settings + Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + end + def migrate_my_sql_status + Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + end + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + end + def site_instance + Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + end + def process_thread_info + Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + end + def process_module_info + Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + end + def site_php_error_log_flag + Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + end + def slot_config_names_resource + Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + end + def slot_difference + Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + end + def site_config_resource + Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + end + def storage_migration_response + Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + end + def site_extension_info + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + end + def triggered_job_run + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + end + def triggered_job_history + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + end + def site_patch_resource + Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + end + def web_job + Azure::Web::Mgmt::V2016_08_01::Models::WebJob + end + def site_source_control + Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + end + def backup_item_status + Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + end + def storage_migration_options + Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + end + def string_dictionary + Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + end + def triggered_web_job + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + end + def azure_resource_type + Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + end + def log_level + Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + end + def host_name_type + Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + end + def frequency_unit + Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + end + def backup_restore_operation_type + Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + end + def publishing_profile_format + Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + end + def dns_verification_test_result + Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + end + def msdeploy_log_entry_type + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + end + def my_sql_migration_type + Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + end + def public_certificate_location + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + end + def database_type + Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + end + def snapshot + Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + end + def custom_host_name_dns_record_type + Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + end + def continuous_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + end + def web_job_type + Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + end + def unauthenticated_client_action + Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + end + def built_in_authentication_provider + Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + end + def clone_ability_result + Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + end + def site_extension_type + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + end + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + end + def triggered_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus end def azure_table_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig @@ -736,12 +868,12 @@ def csm_publishing_profile_options def web_app_instance_collection Azure::Web::Mgmt::V2016_08_01::Models::WebAppInstanceCollection end - def public_certificate_collection - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection - end def identifier_collection Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection end + def public_certificate_collection + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection + end def triggered_web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection end @@ -754,6 +886,9 @@ def triggered_job_history_collection def snapshot_collection Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection end + def perf_mon_set + Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet + end def site_cloneability_criterion Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneabilityCriterion end @@ -763,8 +898,11 @@ def host_name_binding_collection def site_cloneability Azure::Web::Mgmt::V2016_08_01::Models::SiteCloneability end - def perf_mon_set - Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSet + def continuous_web_job_collection + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection + end + def file_system_application_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig end def perf_mon_counter_collection Azure::Web::Mgmt::V2016_08_01::Models::PerfMonCounterCollection @@ -772,11 +910,8 @@ def perf_mon_counter_collection def web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::WebJobCollection end - def continuous_web_job_collection - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection - end - def file_system_application_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::FileSystemApplicationLogsConfig + def slot_difference_collection + Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection end def file_system_http_logs_config Azure::Web::Mgmt::V2016_08_01::Models::FileSystemHttpLogsConfig @@ -784,32 +919,23 @@ def file_system_http_logs_config def azure_blob_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig end - def azure_blob_storage_http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig - end def msdeploy_log_entry Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntry end - def backup_schedule - Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule - end - def perf_mon_sample - Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample - end - def slot_difference_collection - Azure::Web::Mgmt::V2016_08_01::Models::SlotDifferenceCollection + def function_envelope_collection + Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection end def deployment_collection Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection end - def http_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + def azure_blob_storage_http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig end def site_config_resource_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection end - def function_envelope_collection - Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelopeCollection + def perf_mon_sample + Azure::Web::Mgmt::V2016_08_01::Models::PerfMonSample end def perf_mon_response Azure::Web::Mgmt::V2016_08_01::Models::PerfMonResponse @@ -817,495 +943,369 @@ def perf_mon_response def site_configuration_snapshot_info_collection Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection end + def http_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::HttpLogsConfig + end + def connection_string_dictionary + Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary + end def csm_slot_entity Azure::Web::Mgmt::V2016_08_01::Models::CsmSlotEntity end - def site_extension_info_collection - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection - end def backup_item Azure::Web::Mgmt::V2016_08_01::Models::BackupItem end - def backup_request - Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest - end - def connection_string_dictionary - Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary - end def continuous_web_job Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob end - def custom_hostname_analysis_result - Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult - end - def deployment - Azure::Web::Mgmt::V2016_08_01::Models::Deployment - end def function_envelope Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope end - def function_secrets - Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets - end def host_name_binding Azure::Web::Mgmt::V2016_08_01::Models::HostNameBinding end - def msdeploy - Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy - end def msdeploy_log Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLog end - def msdeploy_status - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus - end def migrate_my_sql_request Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlRequest end - def migrate_my_sql_status - Azure::Web::Mgmt::V2016_08_01::Models::MigrateMySqlStatus + def site_extension_info_collection + Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection end - def relay_service_connection_entity - Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity + def premier_add_on + Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + end + def msdeploy_status + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployStatus + end + def custom_hostname_analysis_result + Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult end def network_features Azure::Web::Mgmt::V2016_08_01::Models::NetworkFeatures end - def premier_add_on - Azure::Web::Mgmt::V2016_08_01::Models::PremierAddOn + def deployment + Azure::Web::Mgmt::V2016_08_01::Models::Deployment end - def process_thread_info - Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfo + def relay_service_connection_entity + Azure::Web::Mgmt::V2016_08_01::Models::RelayServiceConnectionEntity end - def process_module_info - Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo + def msdeploy + Azure::Web::Mgmt::V2016_08_01::Models::MSDeploy end def process_info Azure::Web::Mgmt::V2016_08_01::Models::ProcessInfo end - def public_certificate - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificate + def backup_request + Azure::Web::Mgmt::V2016_08_01::Models::BackupRequest + end + def site_logs_config + Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig + end + def backup_schedule + Azure::Web::Mgmt::V2016_08_01::Models::BackupSchedule end def restore_request Azure::Web::Mgmt::V2016_08_01::Models::RestoreRequest end - def restore_response - Azure::Web::Mgmt::V2016_08_01::Models::RestoreResponse + def function_secrets + Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets end - def site_auth_settings - Azure::Web::Mgmt::V2016_08_01::Models::SiteAuthSettings + def snapshot_recovery_request + Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest end - def site_config_resource - Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource + def resource_metric_definition + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfo + def push_settings + Azure::Web::Mgmt::V2016_09_01::Models::PushSettings end - def site_extension_info - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfo + def hybrid_connection_key + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey end - def site_instance - Azure::Web::Mgmt::V2016_08_01::Models::SiteInstance + def site + Azure::Web::Mgmt::V2016_09_01::Models::Site end - def site_logs_config - Azure::Web::Mgmt::V2016_08_01::Models::SiteLogsConfig + def app_service_plan + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan end - def site_patch_resource - Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource + def vnet_gateway + Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway end - def site_php_error_log_flag - Azure::Web::Mgmt::V2016_08_01::Models::SitePhpErrorLogFlag + def route_type + Azure::Web::Mgmt::V2016_09_01::Models::RouteType end - def site_source_control - Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl + def auto_heal_action_type + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType end - def slot_config_names_resource - Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource + def connection_string_type + Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType end - def slot_difference - Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference + def scm_type + Azure::Web::Mgmt::V2016_09_01::Models::ScmType end - def snapshot - Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + def managed_pipeline_mode + Azure::Web::Mgmt::V2016_09_01::Models::ManagedPipelineMode end - def storage_migration_options - Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions + def site_load_balancing + Azure::Web::Mgmt::V2016_09_01::Models::SiteLoadBalancing end - def storage_migration_response - Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse + def ssl_state + Azure::Web::Mgmt::V2016_09_01::Models::SslState end - def string_dictionary - Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary + def host_type + Azure::Web::Mgmt::V2016_09_01::Models::HostType end - def triggered_job_run - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun + def usage_state + Azure::Web::Mgmt::V2016_09_01::Models::UsageState end - def triggered_job_history - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory + def metric_definition + Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition end - def triggered_web_job - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob + def site_availability_state + Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState end - def web_job - Azure::Web::Mgmt::V2016_08_01::Models::WebJob + def status_options + Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions end - def log_level - Azure::Web::Mgmt::V2016_08_01::Models::LogLevel + def operation_status + Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus end - def backup_item_status - Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + def operation + Azure::Web::Mgmt::V2016_09_01::Models::Operation end - def database_type - Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType + def hybrid_connection + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection end - def frequency_unit - Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + def usage + Azure::Web::Mgmt::V2016_09_01::Models::Usage end - def backup_restore_operation_type - Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType + def resource + Azure::Web::Mgmt::V2016_09_01::Models::Resource end - def continuous_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus + def provisioning_state + Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState end - def web_job_type - Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + def proxy_only_resource + Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource end - def publishing_profile_format - Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat + def localizable_string + Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString end - def dns_verification_test_result - Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + def user + Azure::Web::Mgmt::V2016_09_01::Models::User end - def azure_resource_type - Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType + def virtual_network_profile + Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile end - def custom_host_name_dns_record_type - Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType + def worker_pool + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool end - def host_name_type - Azure::Web::Mgmt::V2016_08_01::Models::HostNameType + def virtual_ipmapping + Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping end - def msdeploy_log_entry_type - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + def stamp_capacity + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity end - def msdeploy_provisioning_state - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + def app_service_environment_collection + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection end - def my_sql_migration_type - Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + def network_access_control_entry + Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry end - def public_certificate_location - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + def hosting_environment_diagnostics + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics end - def unauthenticated_client_action - Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction + def sku_info_collection + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection end - def built_in_authentication_provider - Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider + def resource_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection end - def clone_ability_result - Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult + def address_response + Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse end - def site_extension_type - Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType + def worker_pool_collection + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection end - def triggered_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus + def hybrid_connection_collection + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection end - def hosting_environment_profile - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + def metric_availabilily + Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily end - def virtual_ipmapping - Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + def error_entity + Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity end - def ip_security_restriction - Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction + def usage_collection + Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection end - def virtual_network_profile - Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + def csm_usage_quota_collection + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection end - def api_definition_info - Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + def app_service_environment_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource end - def stamp_capacity - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + def resource_metric_property + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty end - def cors_settings - Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + def sku_info + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo end - def name_value_pair - Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair + def app_service_plan_collection + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection end - def auto_heal_custom_action - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + def resource_metric + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric end - def app_service_environment_collection - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + def resource_metric_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection end - def auto_heal_actions - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + def resource_metric_definition_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection end - def hosting_environment_diagnostics - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + def web_app_collection + Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection end - def slow_requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + def stamp_capacity_collection + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + end + def hybrid_connection_limits + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + end + def app_service_environment_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + end + def worker_pool_resource + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + end + def resource_metric_value + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue + end + def managed_service_identity + Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + end + def csm_usage_quota + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + end + def app_service_plan_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource end def slot_swap_status Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus end - def sku_capacity - Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - end def cloning_info Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo end - def sku_description - Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription + def hosting_environment_profile + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile end - def address_response - Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + def hosting_environment_status + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus end - def sku_info_collection - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + def ip_security_restriction + Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction end - def worker_pool - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool + def internal_load_balancing_mode + Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode end - def network_access_control_entry - Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry + def api_definition_info + Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo end - def resource_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + def worker_size_options + Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions end - def worker_pool_collection - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + def cors_settings + Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings end - def hybrid_connection_collection - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + def auto_heal_custom_action + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction end - def resource - Azure::Web::Mgmt::V2016_09_01::Models::Resource + def compute_mode_options + Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions end - def error_entity - Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + def auto_heal_actions + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions end - def resource_metric_property - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty + def access_control_entry_action + Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + end + def slow_requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + end + def status_codes_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + end + def requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + end + def site_config + Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig end def snapshot_recovery_target Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget end - def metric_availabilily - Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - end def resource_metric_availability Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability end - def resource_metric - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - end - def csm_usage_quota_collection - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + def name_value_pair + Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair end - def status_codes_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + def conn_string_info + Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo end - def localizable_string - Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + def sku_description + Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription end - def requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + def capability + Azure::Web::Mgmt::V2016_09_01::Models::Capability end - def resource_metric_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + def host_name_ssl_state + Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState end def auto_heal_triggers Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers end - def managed_service_identity - Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - end def auto_heal_rules Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules end - def sku_info - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + def resource_metric_name + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName end def site_limits Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits end - def usage_collection - Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + def sku_capacity + Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity end def ramp_up_rule Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule end - def app_service_plan_collection - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection - end def experiments Azure::Web::Mgmt::V2016_09_01::Models::Experiments end - def resource_metric_name - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName - end def virtual_directory Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - end def virtual_application Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication end - def capability - Azure::Web::Mgmt::V2016_09_01::Models::Capability - end def handler_mapping Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping end - def operation - Azure::Web::Mgmt::V2016_09_01::Models::Operation - end def site_machine_key Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey end - def csm_usage_quota - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - end - def conn_string_info - Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo - end - def stamp_capacity_collection - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection - end - def site_config - Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig - end - def proxy_only_resource - Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource - end - def host_name_ssl_state - Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - end - def web_app_collection - Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - end - def resource_metric_value - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - end - def app_service_environment_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource - end - def app_service_environment_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource - end - def metric_definition - Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition - end - def usage - Azure::Web::Mgmt::V2016_09_01::Models::Usage - end - def worker_pool_resource - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource - end def vnet_route Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute end def vnet_info Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo end - def vnet_gateway - Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway - end - def user - Azure::Web::Mgmt::V2016_09_01::Models::User - end - def snapshot_recovery_request - Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest - end - def resource_metric_definition - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition - end - def push_settings - Azure::Web::Mgmt::V2016_09_01::Models::PushSettings - end def identifier Azure::Web::Mgmt::V2016_09_01::Models::Identifier end - def hybrid_connection_key - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey - end - def hybrid_connection - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection - end - def site - Azure::Web::Mgmt::V2016_09_01::Models::Site - end - def app_service_plan - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - end - def app_service_plan_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - end - def hybrid_connection_limits - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - end - def provisioning_state - Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - end - def hosting_environment_status - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - end - def internal_load_balancing_mode - Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - end - def compute_mode_options - Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - end - def worker_size_options - Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - end - def access_control_entry_action - Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction - end - def route_type - Azure::Web::Mgmt::V2016_09_01::Models::RouteType - end - def auto_heal_action_type - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType - end - def connection_string_type - Azure::Web::Mgmt::V2016_09_01::Models::ConnectionStringType - end - def scm_type - Azure::Web::Mgmt::V2016_09_01::Models::ScmType - end - def managed_pipeline_mode - Azure::Web::Mgmt::V2016_09_01::Models::ManagedPipelineMode - end - def site_load_balancing - Azure::Web::Mgmt::V2016_09_01::Models::SiteLoadBalancing - end - def ssl_state - Azure::Web::Mgmt::V2016_09_01::Models::SslState - end - def host_type - Azure::Web::Mgmt::V2016_09_01::Models::HostType - end - def usage_state - Azure::Web::Mgmt::V2016_09_01::Models::UsageState - end - def site_availability_state - Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState - end - def status_options - Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions - end - def operation_status - Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus - end end end end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index 55a3a0b7ee..b256258621 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,47 +9,47 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web module Models + Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag - RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response - SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer - WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News - RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos - Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places - ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject - Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue - AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType - ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article + Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end class WebSearchDataClass @@ -82,83 +82,83 @@ def method_missing(method, *args) end class ModelClasses + def places + Azure::CognitiveServices::WebSearch::V1_0::Models::Places + end + def intangible + Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + end + def videos + Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + end + def images + Azure::CognitiveServices::WebSearch::V1_0::Models::Images + end + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response + end + def answer_type + Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + end + def news_article + Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem end def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end def web_meta_tag Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end - def ranking_ranking_response - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse - end def web_web_grouping Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end - def error - Azure::CognitiveServices::WebSearch::V1_0::Models::Error - end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query - end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def response_base - Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - end - def creative_work - Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + def search_response + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end def web_page Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end - def news_article - Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - end - def video_object - Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject - end def identifiable Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end - def search_response - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + def creative_work + Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + def ranking_ranking_response + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end def search_results_answer Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end - def web_web_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer - end - def images - Azure::CognitiveServices::WebSearch::V1_0::Models::Images + def video_object + Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def related_searches_related_search_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer + def query_context + Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions @@ -166,44 +166,44 @@ def spell_suggestions def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def videos - Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode end - def places - Azure::CognitiveServices::WebSearch::V1_0::Models::Places + def web_web_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end - def error_response - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse + def response_base + Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end - def intangible - Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode end - def media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + def error_response + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch end - def structured_value - Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + def text_format + Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end - def answer_type - Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + def related_searches_related_search_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article end def freshness Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def error + Azure::CognitiveServices::WebSearch::V1_0::Models::Error end - def text_format - Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index 3d49eb5831..b9b7436448 100644 --- a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb @@ -7,17 +7,22 @@ module Azure::Profiles::V2017_03_09 module Compute module Mgmt - AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions VirtualMachines = Azure::Compute::Mgmt::V2016_03_30::VirtualMachines VirtualMachineImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations VirtualMachineSizes = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineSizes VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs + UsageOperations = Azure::Compute::Mgmt::V2016_03_30::UsageOperations + AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensions module Models + Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku + SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage + Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile InstanceViewStatus = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView @@ -28,13 +33,10 @@ module Models InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan - SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase - UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView @@ -49,7 +51,6 @@ module Models OSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration @@ -84,7 +85,6 @@ module Models VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount LinuxConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView @@ -122,7 +122,7 @@ module Models end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machines, :virtual_machine_images, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :usage_operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,15 +132,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images - @virtual_machine_extensions = @client_0.virtual_machine_extensions @virtual_machines = @client_0.virtual_machines @virtual_machine_images = @client_0.virtual_machine_images - @usage_operations = @client_0.usage_operations @virtual_machine_sizes = @client_0.virtual_machine_sizes @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets @virtual_machine_scale_set_vms = @client_0.virtual_machine_scale_set_vms + @usage_operations = @client_0.usage_operations + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images + @virtual_machine_extensions = @client_0.virtual_machine_extensions @model_classes = ModelClasses.new end @@ -159,6 +159,21 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::Compute::Mgmt::V2016_03_30::Models::Sku + end + def sub_resource + Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + end + def usage_name + Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + end + def usage + Azure::Compute::Mgmt::V2016_03_30::Models::Usage + end + def resource + Azure::Compute::Mgmt::V2016_03_30::Models::Resource + end def diagnostics_profile Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end @@ -189,27 +204,18 @@ def virtual_machine_extension_instance_view def network_profile Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end - def resource - Azure::Compute::Mgmt::V2016_03_30::Models::Resource - end def boot_diagnostics Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics end def purchase_plan Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan end - def sub_resource - Azure::Compute::Mgmt::V2016_03_30::Models::SubResource - end def data_disk_image Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage end def api_error_base Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase end - def usage_name - Azure::Compute::Mgmt::V2016_03_30::Models::UsageName - end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView end @@ -252,9 +258,6 @@ def virtual_machine_list_result def storage_profile Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile end - def sku - Azure::Compute::Mgmt::V2016_03_30::Models::Sku - end def win_rmlistener Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener end @@ -357,9 +360,6 @@ def linux_configuration def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def usage - Azure::Compute::Mgmt::V2016_03_30::Models::Usage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary end diff --git a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb index 9fd4849d18..613649e774 100644 --- a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2015_01_01::ManagementLocks module Models + LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel ManagementLockListResult = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult ManagementLockObject = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject - LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel end class LocksManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses + def lock_level + Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel + end def management_lock_list_result Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult end def management_lock_object Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject end - def lock_level - Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb index 5575c7982b..e19abe6da8 100644 --- a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb @@ -7,12 +7,6 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules @@ -25,6 +19,12 @@ module Mgmt VirtualNetworkGateways = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGateways VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways + ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers module Models ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult @@ -34,35 +34,35 @@ module Models PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult ApplicationGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress - Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult + Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration ExpressRouteCircuitStats = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats - VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult SecurityRuleListResult = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName + VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable - ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable - DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult + DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult @@ -71,14 +71,10 @@ module Models VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule @@ -113,12 +109,15 @@ module Models VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration VpnClientRootCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate VpnClientRevokedCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate - VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection + VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName - ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess @@ -140,15 +139,16 @@ module Models NetworkOperationStatus = Azure::Network::Mgmt::V2015_06_15::Models::NetworkOperationStatus VirtualNetworkGatewayType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayType VpnType = Azure::Network::Mgmt::V2015_06_15::Models::VpnType - VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier ProcessorArchitecture = Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType end class NetworkManagementClass - attr_reader :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes + attr_reader :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,12 +158,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers @network_interfaces = @client_0.network_interfaces @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules @@ -176,6 +170,12 @@ def initialize(configurable, base_url=nil, options=nil) @virtual_network_gateways = @client_0.virtual_network_gateways @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections @local_network_gateways = @client_0.local_network_gateways + @application_gateways = @client_0.application_gateways + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers + @load_balancers = @client_0.load_balancers @model_classes = ModelClasses.new end @@ -215,9 +215,6 @@ def application_gateway_list_result def application_gateway_backend_address Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress end - def resource - Azure::Network::Mgmt::V2015_06_15::Models::Resource - end def connection_reset_shared_key Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey end @@ -233,6 +230,9 @@ def network_security_group_list_result def virtual_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult end + def resource + Azure::Network::Mgmt::V2015_06_15::Models::Resource + end def authorization_list_result Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult end @@ -248,9 +248,6 @@ def vpn_client_configuration def express_route_circuit_stats Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats end - def virtual_network_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult - end def security_rule_list_result Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult end @@ -266,8 +263,8 @@ def usages_list_result def express_route_circuit_sku Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku end - def usage_name - Azure::Network::Mgmt::V2015_06_15::Models::UsageName + def virtual_network_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties @@ -278,30 +275,33 @@ def route_table_list_result def network_interface_list_result Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end - def connection_shared_key - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + def usage_name + Azure::Network::Mgmt::V2015_06_15::Models::UsageName end def express_route_circuit_arp_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable end - def connection_shared_key_result - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + def connection_shared_key + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + def connection_shared_key_result + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult end def express_route_circuit_routes_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable end - def dhcp_options - Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult end + def dhcp_options + Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + end def usage Azure::Network::Mgmt::V2015_06_15::Models::Usage end @@ -326,9 +326,6 @@ def azure_async_operation_result def route_list_result Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error - end def subnet_list_result Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end @@ -341,15 +338,6 @@ def vpn_client_parameters def error_details Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort end @@ -452,24 +440,33 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def virtual_network_gateway - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + end + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration end def local_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection + def virtual_network_gateway + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway end def application_gateway_sku_name Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName end - def application_gateway_tier - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end def ipallocation_method Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end + def application_gateway_tier + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier + end + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + end def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol end @@ -533,8 +530,8 @@ def virtual_network_gateway_type def vpn_type Azure::Network::Mgmt::V2015_06_15::Models::VpnType end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier @@ -542,12 +539,15 @@ def virtual_network_gateway_sku_tier def processor_architecture Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus end + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb index 855dd74068..95235e7d32 100644 --- a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::V2017_03_09 module Resources module Mgmt + Tags = Azure::Resources::Mgmt::V2016_02_01::Tags + DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations + Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources - Tags = Azure::Resources::Mgmt::V2016_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models - Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku + Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter Identity = Azure::Resources::Mgmt::V2016_02_01::Models::Identity ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter @@ -30,17 +31,16 @@ module Models ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue - Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult + Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage @@ -53,18 +53,18 @@ module Models BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter - Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended - SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType - ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource + ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode + SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :tags, :deployment_operations, :resources, :deployments, :providers, :resource_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -74,12 +74,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @tags = @client_0.tags + @deployment_operations = @client_0.deployment_operations + @resources = @client_0.resources @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups - @resources = @client_0.resources - @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -98,8 +98,11 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::Resources::Mgmt::V2016_02_01::Models::Sku + def plan + Azure::Resources::Mgmt::V2016_02_01::Models::Plan + end + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency end def deployment_extended_filter Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter @@ -143,9 +146,6 @@ def provider def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency - end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest end @@ -161,9 +161,6 @@ def deployment_list_result def tag_value Azure::Resources::Mgmt::V2016_02_01::Models::TagValue end - def plan - Azure::Resources::Mgmt::V2016_02_01::Models::Plan - end def tag_details Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails end @@ -176,6 +173,9 @@ def tags_list_result def deployment_export_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult end + def sku + Azure::Resources::Mgmt::V2016_02_01::Models::Sku + end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource end @@ -212,27 +212,27 @@ def resource_provider_operation_display_properties def generic_resource_filter Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter end - def resource - Azure::Resources::Mgmt::V2016_02_01::Models::Resource - end def deployment_extended Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended end - def sub_resource - Azure::Resources::Mgmt::V2016_02_01::Models::SubResource - end def alias_path_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end - def resource_group_export_result - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + def resource + Azure::Resources::Mgmt::V2016_02_01::Models::Resource end def generic_resource Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource end + def resource_group_export_result + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult + end def deployment_mode Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode end + def sub_resource + Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + end def resource_identity_type Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType end diff --git a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb index 7b84bfc0bc..066d48483a 100644 --- a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb @@ -30,7 +30,6 @@ module Models CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier @@ -39,6 +38,7 @@ module Models AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason end class StorageManagementClass @@ -129,9 +129,6 @@ def resource def storage_account Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason - end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end @@ -156,6 +153,9 @@ def key_permission def usage_unit Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb index d995649c42..adb01282d7 100644 --- a/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/subscriptions_profile_module.rb @@ -7,23 +7,23 @@ module Azure::Profiles::V2017_03_09 module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult SubscriptionPolicies = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies + Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :tenants, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -33,8 +33,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -65,15 +65,15 @@ def location_list_result def tenant_id_description Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end - def location - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - end def tenant_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult end def subscription_policies Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionPolicies end + def location + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState end diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb index 43b3229c9a..0ada8031e4 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb @@ -32,8 +32,8 @@ def initialize(client) # # @return [CheckNameAvailabilityOutput] operation results. # - def check_name_availability(parameters, custom_headers:nil) - response = check_name_availability_async(parameters, custom_headers:custom_headers).value! + def check_name_availability(parameters, custom_headers = nil) + response = check_name_availability_async(parameters, custom_headers).value! response.body unless response.nil? end @@ -48,8 +48,8 @@ def check_name_availability(parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(parameters, custom_headers:nil) - check_name_availability_async(parameters, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(parameters, custom_headers = nil) + check_name_availability_async(parameters, custom_headers).value! end # @@ -63,19 +63,20 @@ def check_name_availability_with_http_info(parameters, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(parameters, custom_headers:nil) + def check_name_availability_async(parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2015_10_01::Models::CheckNameAvailabilityInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -132,8 +133,8 @@ def check_name_availability_async(parameters, custom_headers:nil) # # @return [MediaServiceCollection] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -147,8 +148,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -161,14 +162,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -224,8 +224,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [MediaService] operation results. # - def get(resource_group_name, media_service_name, custom_headers:nil) - response = get_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def get(resource_group_name, media_service_name, custom_headers = nil) + response = get_async(resource_group_name, media_service_name, custom_headers).value! response.body unless response.nil? end @@ -240,8 +240,8 @@ def get(resource_group_name, media_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, media_service_name, custom_headers:nil) - get_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, media_service_name, custom_headers = nil) + get_async(resource_group_name, media_service_name, custom_headers).value! end # @@ -255,18 +255,14 @@ def get_with_http_info(resource_group_name, media_service_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, media_service_name, custom_headers:nil) + def get_async(resource_group_name, media_service_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -324,8 +320,8 @@ def get_async(resource_group_name, media_service_name, custom_headers:nil) # # @return [MediaService] operation results. # - def create(resource_group_name, media_service_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, media_service_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, media_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -342,8 +338,8 @@ def create(resource_group_name, media_service_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil) - create_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, media_service_name, parameters, custom_headers = nil) + create_async(resource_group_name, media_service_name, parameters, custom_headers).value! end # @@ -359,24 +355,22 @@ def create_with_http_info(resource_group_name, media_service_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(resource_group_name, media_service_name, parameters, custom_headers:nil) + def create_async(resource_group_name, media_service_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2015_10_01::Models::MediaService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -433,8 +427,8 @@ def create_async(resource_group_name, media_service_name, parameters, custom_hea # will be added to the HTTP request. # # - def delete(resource_group_name, media_service_name, custom_headers:nil) - response = delete_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def delete(resource_group_name, media_service_name, custom_headers = nil) + response = delete_async(resource_group_name, media_service_name, custom_headers).value! nil end @@ -449,8 +443,8 @@ def delete(resource_group_name, media_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, media_service_name, custom_headers:nil) - delete_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, media_service_name, custom_headers = nil) + delete_async(resource_group_name, media_service_name, custom_headers).value! end # @@ -464,18 +458,14 @@ def delete_with_http_info(resource_group_name, media_service_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, media_service_name, custom_headers:nil) + def delete_async(resource_group_name, media_service_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -522,8 +512,8 @@ def delete_async(resource_group_name, media_service_name, custom_headers:nil) # # @return [MediaService] operation results. # - def update(resource_group_name, media_service_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, media_service_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, media_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -539,8 +529,8 @@ def update(resource_group_name, media_service_name, parameters, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil) - update_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, media_service_name, parameters, custom_headers = nil) + update_async(resource_group_name, media_service_name, parameters, custom_headers).value! end # @@ -555,24 +545,22 @@ def update_with_http_info(resource_group_name, media_service_name, parameters, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, media_service_name, parameters, custom_headers:nil) + def update_async(resource_group_name, media_service_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2015_10_01::Models::MediaService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -632,8 +620,8 @@ def update_async(resource_group_name, media_service_name, parameters, custom_hea # # @return [RegenerateKeyOutput] operation results. # - def regenerate_key(resource_group_name, media_service_name, parameters, custom_headers:nil) - response = regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def regenerate_key(resource_group_name, media_service_name, parameters, custom_headers = nil) + response = regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +638,8 @@ def regenerate_key(resource_group_name, media_service_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def regenerate_key_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil) - regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def regenerate_key_with_http_info(resource_group_name, media_service_name, parameters, custom_headers = nil) + regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers).value! end # @@ -667,24 +655,22 @@ def regenerate_key_with_http_info(resource_group_name, media_service_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers:nil) + def regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2015_10_01::Models::RegenerateKeyInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -742,8 +728,8 @@ def regenerate_key_async(resource_group_name, media_service_name, parameters, cu # # @return [ServiceKeys] operation results. # - def list_keys(resource_group_name, media_service_name, custom_headers:nil) - response = list_keys_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def list_keys(resource_group_name, media_service_name, custom_headers = nil) + response = list_keys_async(resource_group_name, media_service_name, custom_headers).value! response.body unless response.nil? end @@ -758,8 +744,8 @@ def list_keys(resource_group_name, media_service_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_keys_with_http_info(resource_group_name, media_service_name, custom_headers:nil) - list_keys_async(resource_group_name, media_service_name, custom_headers:custom_headers).value! + def list_keys_with_http_info(resource_group_name, media_service_name, custom_headers = nil) + list_keys_async(resource_group_name, media_service_name, custom_headers).value! end # @@ -773,18 +759,14 @@ def list_keys_with_http_info(resource_group_name, media_service_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_keys_async(resource_group_name, media_service_name, custom_headers:nil) + def list_keys_async(resource_group_name, media_service_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -842,8 +824,8 @@ def list_keys_async(resource_group_name, media_service_name, custom_headers:nil) # will be added to the HTTP request. # # - def sync_storage_keys(resource_group_name, media_service_name, parameters, custom_headers:nil) - response = sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def sync_storage_keys(resource_group_name, media_service_name, parameters, custom_headers = nil) + response = sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers).value! nil end @@ -861,8 +843,8 @@ def sync_storage_keys(resource_group_name, media_service_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def sync_storage_keys_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil) - sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value! + def sync_storage_keys_with_http_info(resource_group_name, media_service_name, parameters, custom_headers = nil) + sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers).value! end # @@ -879,24 +861,22 @@ def sync_storage_keys_with_http_info(resource_group_name, media_service_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers:nil) + def sync_storage_keys_async(resource_group_name, media_service_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'media_service_name is nil' if media_service_name.nil? - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MaxLength': '24'" if !media_service_name.nil? && media_service_name.length > 24 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'MinLength': '3'" if !media_service_name.nil? && media_service_name.length < 3 - fail ArgumentError, "'media_service_name' should satisfy the constraint - 'Pattern': '^[a-z0-9]{3,24}$'" if !media_service_name.nil? && media_service_name.match(Regexp.new('^^[a-z0-9]{3,24}$$')).nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2015_10_01::Models::SyncStorageKeysInput.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb index a26a9d6a38..4695fe0196 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb @@ -110,9 +110,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -129,7 +126,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_media_services' - sdk_information = "#{sdk_information}/0.16.1" + if defined? Azure::MediaServices::Mgmt::V2015_10_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::MediaServices::Mgmt::V2015_10_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_endpoint.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_endpoint.rb index 7524a553c0..d3017f3429 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_endpoint.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_endpoint.rb @@ -25,7 +25,6 @@ class ApiEndpoint # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiEndpoint', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApiEndpoint', model_properties: { endpoint: { - client_side_validation: true, required: false, serialized_name: 'endpoint', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, major_version: { - client_side_validation: true, required: false, serialized_name: 'majorVersion', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_error.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_error.rb index f52315d6b8..f43c57fe72 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_error.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/api_error.rb @@ -25,7 +25,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApiError', 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_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_input.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_input.rb index 17b40b91ed..6369d01d1d 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_input.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_input.rb @@ -27,7 +27,6 @@ class CheckNameAvailabilityInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityInput', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityInput', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', constraints: { @@ -48,7 +46,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_output.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_output.rb index 9fded93343..20ac7e0f4a 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_output.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/check_name_availability_output.rb @@ -31,7 +31,6 @@ class CheckNameAvailabilityOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityOutput', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityOutput', model_properties: { name_available: { - client_side_validation: true, required: false, serialized_name: 'nameAvailable', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service.rb index ae657926de..2885bcd655 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service.rb @@ -27,7 +27,6 @@ class MediaService < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MediaService', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'MediaService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -44,7 +42,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -53,7 +50,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -62,7 +58,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -70,13 +65,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -86,14 +79,12 @@ def self.mapper() } }, api_endpoints: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.apiEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApiEndpointElementType', type: { @@ -104,13 +95,11 @@ def self.mapper() } }, storage_accounts: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service_collection.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service_collection.rb index 8ccf559aba..ef73aad9fc 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service_collection.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/media_service_collection.rb @@ -23,7 +23,6 @@ class MediaServiceCollection # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MediaServiceCollection', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'MediaServiceCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MediaServiceElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation.rb index 51bdee0766..9abe85d27a 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_display.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_display.rb index fa9a0d6696..883752a875 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_display.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_display.rb @@ -29,7 +29,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -46,7 +44,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_list_result.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_list_result.rb index 94a170b8e6..eaaf927e40 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_list_result.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/operation_list_result.rb @@ -27,7 +27,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -35,14 +34,12 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_input.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_input.rb index 67c25032e8..a23d4735b5 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_input.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_input.rb @@ -24,7 +24,6 @@ class RegenerateKeyInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegenerateKeyInput', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'RegenerateKeyInput', model_properties: { key_type: { - client_side_validation: true, required: true, serialized_name: 'keyType', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_output.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_output.rb index aa48788777..7d5b12ba11 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_output.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/regenerate_key_output.rb @@ -22,7 +22,6 @@ class RegenerateKeyOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RegenerateKeyOutput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'RegenerateKeyOutput', model_properties: { key: { - client_side_validation: true, required: false, serialized_name: 'key', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/resource.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/resource.rb index 73c23dc820..0388ebf40d 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/resource.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/resource.rb @@ -37,7 +37,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/service_keys.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/service_keys.rb index abb2b5f2e0..e09f53ac3e 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/service_keys.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/service_keys.rb @@ -34,7 +34,6 @@ class ServiceKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceKeys', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ServiceKeys', model_properties: { primary_auth_endpoint: { - client_side_validation: true, required: false, serialized_name: 'primaryAuthEndpoint', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, secondary_auth_endpoint: { - client_side_validation: true, required: false, serialized_name: 'secondaryAuthEndpoint', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, primary_key: { - client_side_validation: true, required: false, serialized_name: 'primaryKey', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, secondary_key: { - client_side_validation: true, required: false, serialized_name: 'secondaryKey', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, scope: { - client_side_validation: true, required: false, serialized_name: 'scope', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb index a81cdded6f..f6fa1a983e 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/storage_account.rb @@ -31,7 +31,6 @@ class StorageAccount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, is_primary: { - client_side_validation: true, required: true, serialized_name: 'isPrimary', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb index 430210cbb4..7fb90f1484 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb @@ -22,7 +22,6 @@ class SyncStorageKeysInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncStorageKeysInput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SyncStorageKeysInput', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/operations.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/operations.rb index 982b52352b..c5ebd3d1ae 100644 --- a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/operations.rb +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/version.rb b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/version.rb new file mode 100644 index 0000000000..290a5d7c8c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/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::MediaServices::Mgmt::V2015_10_01 + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services.rb index 136b22064e..832ee4ec3c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services.rb @@ -46,11 +46,11 @@ module Models autoload :EnvelopeEncryption, '2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb' autoload :ContentKeyPolicyCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb' autoload :Preset, '2018-03-30-preview/generated/azure_mgmt_media_services/models/preset.rb' - autoload :ApiError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb' - autoload :Codec, '2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb' autoload :MediaServiceCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb' - autoload :JobError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb' + autoload :Codec, '2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb' autoload :SubscriptionMediaServiceCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb' + autoload :JobError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb' + autoload :ApiError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb' autoload :JobErrorDetail, '2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb' autoload :Resource, '2018-03-30-preview/generated/azure_mgmt_media_services/models/resource.rb' autoload :LiveEventEndpoint, '2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb' @@ -83,9 +83,9 @@ module Models autoload :Filters, '2018-03-30-preview/generated/azure_mgmt_media_services/models/filters.rb' autoload :ContentKeyPolicyProperties, '2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb' autoload :Layer, '2018-03-30-preview/generated/azure_mgmt_media_services/models/layer.rb' - autoload :ODataError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb' + autoload :OperationCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb' autoload :StreamingLocatorContentKey, '2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb' - autoload :CheckNameAvailabilityInput, '2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb' + autoload :ODataError, '2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb' autoload :StreamingLocatorUserDefinedContentKey, '2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_user_defined_content_key.rb' autoload :IPAccessControl, '2018-03-30-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb' autoload :AssetStorageEncryptionKey, '2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb' @@ -101,7 +101,7 @@ module Models autoload :StreamingEndpointAccessControl, '2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb' autoload :ContentKeyPolicyOption, '2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb' autoload :AkamaiAccessControl, '2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb' - autoload :OperationCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb' + autoload :CheckNameAvailabilityInput, '2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb' autoload :AkamaiSignatureHeaderAuthenticationKey, '2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb' autoload :AssetCollection, '2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_collection.rb' autoload :LiveEventListResult, '2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb' diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb index 0fd0836b09..3fe5311592 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb @@ -41,8 +41,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -66,8 +66,8 @@ def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! end # @@ -90,7 +90,7 @@ def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, account_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, 'account_name is nil' if account_name.nil? @@ -98,7 +98,6 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -157,8 +156,8 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n # # @return [Asset] operation results. # - def get(resource_group_name, account_name, asset_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, asset_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, asset_name, custom_headers).value! response.body unless response.nil? end @@ -176,8 +175,8 @@ def get(resource_group_name, account_name, asset_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil) - get_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + get_async(resource_group_name, account_name, asset_name, custom_headers).value! end # @@ -194,7 +193,7 @@ def get_with_http_info(resource_group_name, account_name, asset_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, asset_name, custom_headers:nil) + def get_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? @@ -203,7 +202,6 @@ def get_async(resource_group_name, account_name, asset_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -263,8 +261,8 @@ def get_async(resource_group_name, account_name, asset_name, custom_headers:nil) # # @return [Asset] operation results. # - def create_or_update(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -283,8 +281,8 @@ def create_or_update(resource_group_name, account_name, asset_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! end # @@ -302,7 +300,7 @@ def create_or_update_with_http_info(resource_group_name, account_name, asset_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -312,12 +310,13 @@ def create_or_update_async(resource_group_name, account_name, asset_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -387,8 +386,8 @@ def create_or_update_async(resource_group_name, account_name, asset_name, parame # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, asset_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, asset_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, asset_name, custom_headers).value! nil end @@ -406,8 +405,8 @@ def delete(resource_group_name, account_name, asset_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil) - delete_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + delete_async(resource_group_name, account_name, asset_name, custom_headers).value! end # @@ -424,7 +423,7 @@ def delete_with_http_info(resource_group_name, account_name, asset_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, asset_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? @@ -433,7 +432,6 @@ def delete_async(resource_group_name, account_name, asset_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -483,8 +481,8 @@ def delete_async(resource_group_name, account_name, asset_name, custom_headers:n # # @return [Asset] operation results. # - def update(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -503,8 +501,8 @@ def update(resource_group_name, account_name, asset_name, parameters, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! end # @@ -522,7 +520,7 @@ def update_with_http_info(resource_group_name, account_name, asset_name, paramet # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -532,12 +530,13 @@ def update_async(resource_group_name, account_name, asset_name, parameters, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -601,8 +600,8 @@ def update_async(resource_group_name, account_name, asset_name, parameters, cust # # @return [AssetContainerSas] operation results. # - def list_container_sas(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - response = list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def list_container_sas(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -623,8 +622,8 @@ def list_container_sas(resource_group_name, account_name, asset_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_container_sas_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) - list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers:custom_headers).value! + def list_container_sas_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! end # @@ -644,7 +643,7 @@ def list_container_sas_with_http_info(resource_group_name, account_name, asset_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers:nil) + def list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -654,12 +653,13 @@ def list_container_sas_async(resource_group_name, account_name, asset_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -721,8 +721,8 @@ def list_container_sas_async(resource_group_name, account_name, asset_name, para # # @return [AssetStorageEncryptionKey] operation results. # - def get_encryption_key(resource_group_name, account_name, asset_name, custom_headers:nil) - response = get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def get_encryption_key(resource_group_name, account_name, asset_name, custom_headers = nil) + response = get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers).value! response.body unless response.nil? end @@ -741,8 +741,8 @@ def get_encryption_key(resource_group_name, account_name, asset_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_encryption_key_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil) - get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value! + def get_encryption_key_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers).value! end # @@ -760,7 +760,7 @@ def get_encryption_key_with_http_info(resource_group_name, account_name, asset_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers:nil) + def get_encryption_key_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? @@ -769,7 +769,6 @@ def get_encryption_key_async(resource_group_name, account_name, asset_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -827,8 +826,8 @@ def get_encryption_key_async(resource_group_name, account_name, asset_name, cust # # @return [AssetCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -845,8 +844,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -862,12 +861,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -931,12 +929,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [AssetCollection] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb index d9f52e9028..633da92c22 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb @@ -150,9 +150,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -169,7 +166,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_media_services' - sdk_information = "#{sdk_information}/0.16.1" + if defined? Azure::MediaServices::Mgmt::V2018_03_30_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::MediaServices::Mgmt::V2018_03_30_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb index af75786e7f..d02b368a2b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -64,8 +64,8 @@ def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! end # @@ -87,7 +87,7 @@ def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, account_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, 'account_name is nil' if account_name.nil? @@ -95,7 +95,6 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -154,8 +153,8 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n # # @return [ContentKeyPolicy] operation results. # - def get(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! response.body unless response.nil? end @@ -173,8 +172,8 @@ def get(resource_group_name, account_name, content_key_policy_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - get_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + get_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! end # @@ -191,7 +190,7 @@ def get_with_http_info(resource_group_name, account_name, content_key_policy_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) + def get_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? @@ -200,7 +199,6 @@ def get_async(resource_group_name, account_name, content_key_policy_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -260,8 +258,8 @@ def get_async(resource_group_name, account_name, content_key_policy_name, custom # # @return [ContentKeyPolicy] operation results. # - def create_or_update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -280,8 +278,8 @@ def create_or_update(resource_group_name, account_name, content_key_policy_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! end # @@ -299,7 +297,7 @@ def create_or_update_with_http_info(resource_group_name, account_name, content_k # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -309,12 +307,13 @@ def create_or_update_async(resource_group_name, account_name, content_key_policy request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -384,8 +383,8 @@ def create_or_update_async(resource_group_name, account_name, content_key_policy # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! nil end @@ -403,8 +402,8 @@ def delete(resource_group_name, account_name, content_key_policy_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! end # @@ -421,7 +420,7 @@ def delete_with_http_info(resource_group_name, account_name, content_key_policy_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? @@ -430,7 +429,6 @@ def delete_async(resource_group_name, account_name, content_key_policy_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -480,8 +478,8 @@ def delete_async(resource_group_name, account_name, content_key_policy_name, cus # # @return [ContentKeyPolicy] operation results. # - def update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -500,8 +498,8 @@ def update(resource_group_name, account_name, content_key_policy_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! end # @@ -519,7 +517,7 @@ def update_with_http_info(resource_group_name, account_name, content_key_policy_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -529,12 +527,13 @@ def update_async(resource_group_name, account_name, content_key_policy_name, par request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -595,8 +594,8 @@ def update_async(resource_group_name, account_name, content_key_policy_name, par # # @return [ContentKeyPolicyProperties] operation results. # - def get_policy_properties_with_secrets(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - response = get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def get_policy_properties_with_secrets(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! response.body unless response.nil? end @@ -614,8 +613,8 @@ def get_policy_properties_with_secrets(resource_group_name, account_name, conten # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_policy_properties_with_secrets_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) - get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers:custom_headers).value! + def get_policy_properties_with_secrets_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! end # @@ -632,7 +631,7 @@ def get_policy_properties_with_secrets_with_http_info(resource_group_name, accou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers:nil) + def get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? @@ -641,7 +640,6 @@ def get_policy_properties_with_secrets_async(resource_group_name, account_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -698,8 +696,8 @@ def get_policy_properties_with_secrets_async(resource_group_name, account_name, # # @return [ContentKeyPolicyCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -715,8 +713,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -731,12 +729,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -800,12 +797,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ContentKeyPolicyCollection] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/jobs.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/jobs.rb index 66b7c40b36..b5a5bd1ff3 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/jobs.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/jobs.rb @@ -42,8 +42,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, transform_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, transform_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers) + def list(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers) first_page.get_all_items end @@ -68,8 +68,8 @@ def list(resource_group_name, account_name, transform_name, filter:nil, top:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, transform_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - list_async(resource_group_name, account_name, transform_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).value! end # @@ -93,7 +93,7 @@ def list_with_http_info(resource_group_name, account_name, transform_name, filte # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, transform_name, filter:nil, top:nil, skip:nil, custom_headers:nil) + def list_async(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = 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, 'account_name is nil' if account_name.nil? @@ -102,7 +102,6 @@ def list_async(resource_group_name, account_name, transform_name, filter:nil, to request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -162,8 +161,8 @@ def list_async(resource_group_name, account_name, transform_name, filter:nil, to # # @return [Job] operation results. # - def get(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! response.body unless response.nil? end @@ -182,8 +181,8 @@ def get(resource_group_name, account_name, transform_name, job_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - get_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + get_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! end # @@ -201,7 +200,7 @@ def get_with_http_info(resource_group_name, account_name, transform_name, job_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) + def get_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? @@ -211,7 +210,6 @@ def get_async(resource_group_name, account_name, transform_name, job_name, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -272,8 +270,8 @@ def get_async(resource_group_name, account_name, transform_name, job_name, custo # # @return [Job] operation results. # - def create(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -293,8 +291,8 @@ def create(resource_group_name, account_name, transform_name, job_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers:nil) - create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers).value! end # @@ -313,7 +311,7 @@ def create_with_http_info(resource_group_name, account_name, transform_name, job # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -324,12 +322,13 @@ def create_async(resource_group_name, account_name, transform_name, job_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -390,8 +389,8 @@ def create_async(resource_group_name, account_name, transform_name, job_name, pa # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! nil end @@ -410,8 +409,8 @@ def delete(resource_group_name, account_name, transform_name, job_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! end # @@ -429,7 +428,7 @@ def delete_with_http_info(resource_group_name, account_name, transform_name, job # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? @@ -439,7 +438,6 @@ def delete_async(resource_group_name, account_name, transform_name, job_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -488,8 +486,8 @@ def delete_async(resource_group_name, account_name, transform_name, job_name, cu # will be added to the HTTP request. # # - def cancel_job(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - response = cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def cancel_job(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! nil end @@ -508,8 +506,8 @@ def cancel_job(resource_group_name, account_name, transform_name, job_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def cancel_job_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) - cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers:custom_headers).value! + def cancel_job_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! end # @@ -527,7 +525,7 @@ def cancel_job_with_http_info(resource_group_name, account_name, transform_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers:nil) + def cancel_job_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? @@ -537,7 +535,6 @@ def cancel_job_async(resource_group_name, account_name, transform_name, job_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +581,8 @@ def cancel_job_async(resource_group_name, account_name, transform_name, job_name # # @return [JobCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -617,12 +614,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,12 +683,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [JobCollection] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, account_name, transform_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, transform_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_events.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_events.rb index 2c60a373fb..51e9395e90 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_events.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_events.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, custom_headers:custom_headers) + def list(resource_group_name, account_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_async(resource_group_name, account_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, custom_headers:nil) + def list_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -77,7 +77,6 @@ def list_async(resource_group_name, account_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def list_async(resource_group_name, account_name, custom_headers:nil) # # @return [LiveEvent] operation results. # - def get(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, live_event_name, custom_headers).value! response.body unless response.nil? end @@ -155,8 +154,8 @@ def get(resource_group_name, account_name, live_event_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, live_event_name, custom_headers:nil) - get_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + get_async(resource_group_name, account_name, live_event_name, custom_headers).value! end # @@ -173,19 +172,15 @@ def get_with_http_info(resource_group_name, account_name, live_event_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def get_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -246,8 +241,8 @@ def get_async(resource_group_name, account_name, live_event_name, custom_headers # # @return [LiveEvent] operation results. # - def create(resource_group_name, account_name, live_event_name, parameters, auto_start:nil, custom_headers:nil) - response = create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + response = create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! response.body unless response.nil? end @@ -264,9 +259,9 @@ def create(resource_group_name, account_name, live_event_name, parameters, auto_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:nil, custom_headers:nil) + def create_async(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:auto_start, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -295,8 +290,8 @@ def create_async(resource_group_name, account_name, live_event_name, parameters, # # @return [LiveEvent] operation results. # - def update(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -312,9 +307,9 @@ def update(resource_group_name, account_name, live_event_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -342,8 +337,8 @@ def update_async(resource_group_name, account_name, live_event_name, parameters, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -358,9 +353,9 @@ def delete(resource_group_name, account_name, live_event_name, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, live_event_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -386,8 +381,8 @@ def delete_async(resource_group_name, account_name, live_event_name, custom_head # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = start_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def start(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = start_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -402,9 +397,9 @@ def start(resource_group_name, account_name, live_event_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def start_async(resource_group_name, account_name, live_event_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, account_name, live_event_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -431,8 +426,8 @@ def start_async(resource_group_name, account_name, live_event_name, custom_heade # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - response = stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def stop(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! nil end @@ -448,9 +443,9 @@ def stop(resource_group_name, account_name, live_event_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) + def stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -476,8 +471,8 @@ def stop_async(resource_group_name, account_name, live_event_name, parameters, c # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def reset(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = reset_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def reset(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -492,9 +487,9 @@ def reset(resource_group_name, account_name, live_event_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def reset_async(resource_group_name, account_name, live_event_name, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -524,8 +519,8 @@ def reset_async(resource_group_name, account_name, live_event_name, custom_heade # # @return [LiveEvent] operation results. # - def begin_create(resource_group_name, account_name, live_event_name, parameters, auto_start:nil, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! response.body unless response.nil? end @@ -545,8 +540,8 @@ def begin_create(resource_group_name, account_name, live_event_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, live_event_name, parameters, auto_start:nil, custom_headers:nil) - begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! end # @@ -565,25 +560,23 @@ def begin_create_with_http_info(resource_group_name, account_name, live_event_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start:nil, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start = 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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -653,8 +646,8 @@ def begin_create_async(resource_group_name, account_name, live_event_name, param # # @return [LiveEvent] operation results. # - def begin_update(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -671,8 +664,8 @@ def begin_update(resource_group_name, account_name, live_event_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! end # @@ -688,25 +681,23 @@ def begin_update_with_http_info(resource_group_name, account_name, live_event_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -776,8 +767,8 @@ def begin_update_async(resource_group_name, account_name, live_event_name, param # will be added to the HTTP request. # # - def begin_delete(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -795,8 +786,8 @@ def begin_delete(resource_group_name, account_name, live_event_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, custom_headers:nil) - begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! end # @@ -813,19 +804,15 @@ def begin_delete_with_http_info(resource_group_name, account_name, live_event_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def begin_delete_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -873,8 +860,8 @@ def begin_delete_async(resource_group_name, account_name, live_event_name, custo # will be added to the HTTP request. # # - def begin_start(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = begin_start_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = begin_start_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -892,8 +879,8 @@ def begin_start(resource_group_name, account_name, live_event_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, account_name, live_event_name, custom_headers:nil) - begin_start_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + begin_start_async(resource_group_name, account_name, live_event_name, custom_headers).value! end # @@ -910,19 +897,15 @@ def begin_start_with_http_info(resource_group_name, account_name, live_event_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def begin_start_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -971,8 +954,8 @@ def begin_start_async(resource_group_name, account_name, live_event_name, custom # will be added to the HTTP request. # # - def begin_stop(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - response = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! nil end @@ -991,8 +974,8 @@ def begin_stop(resource_group_name, account_name, live_event_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) - begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! end # @@ -1010,25 +993,23 @@ def begin_stop_with_http_info(resource_group_name, account_name, live_event_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil) + def begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventActionInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1078,8 +1059,8 @@ def begin_stop_async(resource_group_name, account_name, live_event_name, paramet # will be added to the HTTP request. # # - def begin_reset(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! nil end @@ -1097,8 +1078,8 @@ def begin_reset(resource_group_name, account_name, live_event_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, account_name, live_event_name, custom_headers:nil) - begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! end # @@ -1115,19 +1096,15 @@ def begin_reset_with_http_info(resource_group_name, account_name, live_event_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def begin_reset_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -1174,8 +1151,8 @@ def begin_reset_async(resource_group_name, account_name, live_event_name, custom # # @return [LiveEventListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1191,8 +1168,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1207,12 +1184,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1270,12 +1246,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LiveEventListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, account_name, custom_headers:nil) - response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_outputs.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_outputs.rb index 903ca1d814..cc0357c0ed 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_outputs.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/live_outputs.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, live_event_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers:custom_headers) + def list(resource_group_name, account_name, live_event_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers) first_page.get_all_items end @@ -54,8 +54,8 @@ def list(resource_group_name, account_name, live_event_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, live_event_name, custom_headers:nil) - list_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + list_async(resource_group_name, account_name, live_event_name, custom_headers).value! end # @@ -72,19 +72,15 @@ def list_with_http_info(resource_group_name, account_name, live_event_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, live_event_name, custom_headers:nil) + def list_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -144,8 +140,8 @@ def list_async(resource_group_name, account_name, live_event_name, custom_header # # @return [LiveOutput] operation results. # - def get(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! response.body unless response.nil? end @@ -164,8 +160,8 @@ def get(resource_group_name, account_name, live_event_name, live_output_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) - get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! end # @@ -183,23 +179,16 @@ def get_with_http_info(resource_group_name, account_name, live_event_name, live_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) + def get_async(resource_group_name, account_name, live_event_name, live_output_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, 'live_output_name is nil' if live_output_name.nil? - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MaxLength': '256'" if !live_output_name.nil? && live_output_name.length > 256 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MinLength': '1'" if !live_output_name.nil? && live_output_name.length < 1 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'Pattern': '^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$'" if !live_output_name.nil? && live_output_name.match(Regexp.new('^^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$$')).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 @@ -260,8 +249,8 @@ def get_async(resource_group_name, account_name, live_event_name, live_output_na # # @return [LiveOutput] operation results. # - def create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -278,9 +267,9 @@ def create(resource_group_name, account_name, live_event_name, live_output_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -309,8 +298,8 @@ def create_async(resource_group_name, account_name, live_event_name, live_output # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! nil end @@ -326,9 +315,9 @@ def delete(resource_group_name, account_name, live_event_name, live_output_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -358,8 +347,8 @@ def delete_async(resource_group_name, account_name, live_event_name, live_output # # @return [LiveOutput] operation results. # - def begin_create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -379,8 +368,8 @@ def begin_create(resource_group_name, account_name, live_event_name, live_output # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! end # @@ -399,29 +388,24 @@ def begin_create_with_http_info(resource_group_name, account_name, live_event_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, 'live_output_name is nil' if live_output_name.nil? - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MaxLength': '256'" if !live_output_name.nil? && live_output_name.length > 256 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MinLength': '1'" if !live_output_name.nil? && live_output_name.length < 1 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'Pattern': '^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$'" if !live_output_name.nil? && live_output_name.match(Regexp.new('^^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -492,8 +476,8 @@ def begin_create_async(resource_group_name, account_name, live_event_name, live_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! nil end @@ -512,8 +496,8 @@ def begin_delete(resource_group_name, account_name, live_event_name, live_output # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) - begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! end # @@ -531,23 +515,16 @@ def begin_delete_with_http_info(resource_group_name, account_name, live_event_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil) + def begin_delete_async(resource_group_name, account_name, live_event_name, live_output_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MaxLength': '32'" if !live_event_name.nil? && live_event_name.length > 32 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'MinLength': '1'" if !live_event_name.nil? && live_event_name.length < 1 - fail ArgumentError, "'live_event_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !live_event_name.nil? && live_event_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, 'live_output_name is nil' if live_output_name.nil? - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MaxLength': '256'" if !live_output_name.nil? && live_output_name.length > 256 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'MinLength': '1'" if !live_output_name.nil? && live_output_name.length < 1 - fail ArgumentError, "'live_output_name' should satisfy the constraint - 'Pattern': '^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$'" if !live_output_name.nil? && live_output_name.match(Regexp.new('^^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$$')).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 @@ -594,8 +571,8 @@ def begin_delete_async(resource_group_name, account_name, live_event_name, live_ # # @return [LiveOutputListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -611,8 +588,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -627,12 +604,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_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 +667,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LiveOutputListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers:nil) - response = list_async(resource_group_name, account_name, live_event_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, live_event_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/locations.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/locations.rb index 49ec85232b..8be999d6fb 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/locations.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/locations.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [EntityNameAvailabilityCheckOutput] operation results. # - def check_name_availability(location_name, parameters, custom_headers:nil) - response = check_name_availability_async(location_name, parameters, custom_headers:custom_headers).value! + def check_name_availability(location_name, parameters, custom_headers = nil) + response = check_name_availability_async(location_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def check_name_availability(location_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_name_availability_with_http_info(location_name, parameters, custom_headers:nil) - check_name_availability_async(location_name, parameters, custom_headers:custom_headers).value! + def check_name_availability_with_http_info(location_name, parameters, custom_headers = nil) + check_name_availability_async(location_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def check_name_availability_with_http_info(location_name, parameters, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_name_availability_async(location_name, parameters, custom_headers:nil) + def check_name_availability_async(location_name, parameters, 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, 'parameters is nil' if parameters.nil? @@ -74,12 +74,13 @@ def check_name_availability_async(location_name, parameters, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/mediaservices.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/mediaservices.rb index 9fac60fad7..8e69178269 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/mediaservices.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/mediaservices.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -50,8 +50,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -66,14 +66,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@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 @@ -131,8 +130,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [MediaService] operation results. # - def get(resource_group_name, account_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, custom_headers).value! response.body unless response.nil? end @@ -149,8 +148,8 @@ def get(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, custom_headers:nil) - get_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_async(resource_group_name, account_name, custom_headers).value! end # @@ -166,7 +165,7 @@ def get_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, custom_headers:nil) + def get_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -174,7 +173,6 @@ def get_async(resource_group_name, account_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -233,8 +231,8 @@ def get_async(resource_group_name, account_name, custom_headers:nil) # # @return [MediaService] operation results. # - def create_or_update(resource_group_name, account_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -252,8 +250,8 @@ def create_or_update(resource_group_name, account_name, parameters, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -270,7 +268,7 @@ def create_or_update_with_http_info(resource_group_name, account_name, parameter # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -279,12 +277,13 @@ def create_or_update_async(resource_group_name, account_name, parameters, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -353,8 +352,8 @@ def create_or_update_async(resource_group_name, account_name, parameters, custom # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! nil end @@ -371,8 +370,8 @@ def delete(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) - delete_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! end # @@ -388,7 +387,7 @@ def delete_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -396,7 +395,6 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -445,8 +443,8 @@ def delete_async(resource_group_name, account_name, custom_headers:nil) # # @return [MediaService] operation results. # - def update(resource_group_name, account_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +462,8 @@ def update(resource_group_name, account_name, parameters, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -482,7 +480,7 @@ def update_with_http_info(resource_group_name, account_name, parameters, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -491,12 +489,13 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -557,8 +556,8 @@ def update_async(resource_group_name, account_name, parameters, custom_headers:n # will be added to the HTTP request. # # - def sync_storage_keys(resource_group_name, account_name, parameters, custom_headers:nil) - response = sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def sync_storage_keys(resource_group_name, account_name, parameters, custom_headers = nil) + response = sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers).value! nil end @@ -577,8 +576,8 @@ def sync_storage_keys(resource_group_name, account_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def sync_storage_keys_with_http_info(resource_group_name, account_name, parameters, custom_headers:nil) - sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers:custom_headers).value! + def sync_storage_keys_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers).value! end # @@ -596,7 +595,7 @@ def sync_storage_keys_with_http_info(resource_group_name, account_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers:nil) + def sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -605,12 +604,13 @@ def sync_storage_keys_async(resource_group_name, account_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SyncStorageKeysInput.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -657,8 +657,8 @@ def sync_storage_keys_async(resource_group_name, account_name, parameters, custo # # @return [Array] operation results. # - def list_by_subscription(custom_headers:nil) - first_page = list_by_subscription_as_lazy(custom_headers:custom_headers) + def list_by_subscription(custom_headers = nil) + first_page = list_by_subscription_as_lazy(custom_headers) first_page.get_all_items end @@ -672,8 +672,8 @@ def list_by_subscription(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(custom_headers:nil) - list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! end # @@ -686,13 +686,12 @@ def list_by_subscription_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(custom_headers:nil) + def list_by_subscription_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -748,8 +747,8 @@ def list_by_subscription_async(custom_headers:nil) # # @return [SubscriptionMediaService] operation results. # - def get_by_subscription(account_name, custom_headers:nil) - response = get_by_subscription_async(account_name, custom_headers:custom_headers).value! + def get_by_subscription(account_name, custom_headers = nil) + response = get_by_subscription_async(account_name, custom_headers).value! response.body unless response.nil? end @@ -764,8 +763,8 @@ def get_by_subscription(account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_by_subscription_with_http_info(account_name, custom_headers:nil) - get_by_subscription_async(account_name, custom_headers:custom_headers).value! + def get_by_subscription_with_http_info(account_name, custom_headers = nil) + get_by_subscription_async(account_name, custom_headers).value! end # @@ -779,14 +778,13 @@ def get_by_subscription_with_http_info(account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_by_subscription_async(account_name, custom_headers:nil) + def get_by_subscription_async(account_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -843,8 +841,8 @@ def get_by_subscription_async(account_name, custom_headers:nil) # # @return [MediaServiceCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -860,8 +858,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -876,12 +874,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -937,8 +934,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [SubscriptionMediaServiceCollection] 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 @@ -954,8 +951,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 # @@ -970,12 +967,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 @@ -1032,12 +1028,12 @@ def list_by_subscription_next_async(next_page_link, custom_headers:nil) # @return [MediaServiceCollection] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1054,12 +1050,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [SubscriptionMediaServiceCollection] which provide lazy access to # pages of the response. # - def list_by_subscription_as_lazy(custom_headers:nil) - response = list_by_subscription_async(custom_headers:custom_headers).value! + def list_by_subscription_as_lazy(custom_headers = nil) + response = list_by_subscription_async(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 diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/aac_audio.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/aac_audio.rb index a47f74c145..76d56fb304 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/aac_audio.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/aac_audio.rb @@ -14,10 +14,10 @@ class AacAudio < Audio def initialize - @odatatype = "#Microsoft.Media.AacAudio" + @@odatatype = "#Microsoft.Media.AacAudio" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [AacAudioProfile] The encoding profile to be used when encoding # audio with AAC. Possible values include: 'AacLc', 'HeAacV1', 'HeAacV2' @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AacAudio', type: { @@ -38,15 +37,13 @@ def self.mapper() class_name: 'AacAudio', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, channels: { - client_side_validation: true, required: false, serialized_name: 'channels', type: { @@ -62,7 +58,6 @@ def self.mapper() } }, sampling_rate: { - client_side_validation: true, required: false, serialized_name: 'samplingRate', type: { @@ -70,7 +65,6 @@ def self.mapper() } }, bitrate: { - client_side_validation: true, required: false, serialized_name: 'bitrate', type: { @@ -78,7 +72,6 @@ def self.mapper() } }, profile: { - client_side_validation: true, required: false, serialized_name: 'profile', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb index 0500b0ec3d..1cb6c73ae8 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb @@ -23,7 +23,6 @@ class AkamaiAccessControl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AkamaiAccessControl', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AkamaiAccessControl', model_properties: { akamai_signature_header_authentication_key_list: { - client_side_validation: true, required: false, serialized_name: 'akamaiSignatureHeaderAuthenticationKeyList', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AkamaiSignatureHeaderAuthenticationKeyElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb index 31473cc205..08cd42eae5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb @@ -28,7 +28,6 @@ class AkamaiSignatureHeaderAuthenticationKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AkamaiSignatureHeaderAuthenticationKey', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AkamaiSignatureHeaderAuthenticationKey', model_properties: { identifier: { - client_side_validation: true, required: false, serialized_name: 'identifier', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, base64key: { - client_side_validation: true, required: false, serialized_name: 'base64Key', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, expiration: { - client_side_validation: true, required: false, serialized_name: 'expiration', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb index 6b9175209a..39ba77f749 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/api_error.rb @@ -12,7 +12,7 @@ class ApiError include MsRestAzure - # @return [ODataError] ApiError. The error properties. + # @return [ODataError] The error properties. attr_accessor :error @@ -22,7 +22,6 @@ class ApiError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApiError', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ApiError', model_properties: { error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset.rb index 70a50a3785..04226f9618 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset.rb @@ -45,7 +45,6 @@ class Asset < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Asset', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'Asset', 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() } }, asset_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.assetId', @@ -89,7 +84,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -98,7 +92,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -107,7 +100,6 @@ def self.mapper() } }, alternate_id: { - client_side_validation: true, required: false, serialized_name: 'properties.alternateId', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, container: { - client_side_validation: true, required: false, serialized_name: 'properties.container', type: { @@ -131,7 +121,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccountName', type: { @@ -139,7 +128,6 @@ def self.mapper() } }, storage_encryption_format: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.storageEncryptionFormat', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_collection.rb index 0844c00872..9a504c67ba 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AssetCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'AssetCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AssetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb index f79e2545f1..c6d7b470b8 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb @@ -22,7 +22,6 @@ class AssetContainerSas # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AssetContainerSas', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'AssetContainerSas', model_properties: { asset_container_sas_urls: { - client_side_validation: true, required: false, serialized_name: 'assetContainerSasUrls', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb index 0a6bab2f46..bef170a03c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb @@ -22,7 +22,6 @@ class AssetStorageEncryptionKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AssetStorageEncryptionKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'AssetStorageEncryptionKey', model_properties: { storage_encryption_key: { - client_side_validation: true, required: false, serialized_name: 'storageEncryptionKey', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio.rb index 50d8d685c7..8fbf612226 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio.rb @@ -14,10 +14,10 @@ class Audio < Codec def initialize - @odatatype = "#Microsoft.Media.Audio" + @@odatatype = "#Microsoft.Media.Audio" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Integer] The number of channels in the audio. attr_accessor :channels @@ -36,7 +36,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.Audio', type: { @@ -44,15 +43,13 @@ def self.mapper() class_name: 'Audio', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, channels: { - client_side_validation: true, required: false, serialized_name: 'channels', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, sampling_rate: { - client_side_validation: true, required: false, serialized_name: 'samplingRate', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, bitrate: { - client_side_validation: true, required: false, serialized_name: 'bitrate', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb index 59d035f0a0..0fc4e780a0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb @@ -16,10 +16,10 @@ class AudioAnalyzerPreset < Preset def initialize - @odatatype = "#Microsoft.Media.AudioAnalyzerPreset" + @@odatatype = "#Microsoft.Media.AudioAnalyzerPreset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The language for the audio payload in the input using # the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of @@ -34,15 +34,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AudioAnalyzerPreset', type: { name: 'Composite', class_name: 'AudioAnalyzerPreset', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, audio_language: { - client_side_validation: true, required: false, serialized_name: 'audioLanguage', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb index 9b2ab687c3..533ca8a291 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb @@ -14,10 +14,10 @@ class AudioOverlay < Overlay def initialize - @odatatype = "#Microsoft.Media.AudioOverlay" + @@odatatype = "#Microsoft.Media.AudioOverlay" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AudioOverlay', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AudioOverlay', model_properties: { input_label: { - client_side_validation: true, required: false, serialized_name: 'inputLabel', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, end_property: { - client_side_validation: true, required: false, serialized_name: 'end', type: { @@ -58,7 +54,6 @@ def self.mapper() } }, fade_in_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeInDuration', type: { @@ -66,7 +61,6 @@ def self.mapper() } }, fade_out_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeOutDuration', type: { @@ -74,15 +68,13 @@ def self.mapper() } }, audio_gain_level: { - client_side_validation: true, required: false, serialized_name: 'audioGainLevel', type: { name: 'Double' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb index cab0aa5709..662c74a77b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb @@ -15,10 +15,10 @@ class BuiltInStandardEncoderPreset < Preset def initialize - @odatatype = "#Microsoft.Media.BuiltInStandardEncoderPreset" + @@odatatype = "#Microsoft.Media.BuiltInStandardEncoderPreset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [EncoderNamedPreset] The built-in preset to be used for # encoding videos. Possible values include: 'AdaptiveStreaming', @@ -33,15 +33,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.BuiltInStandardEncoderPreset', type: { name: 'Composite', class_name: 'BuiltInStandardEncoderPreset', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, preset_name: { - client_side_validation: true, required: true, serialized_name: 'presetName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb index 2e6d5d3bac..c221e5544b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb @@ -30,7 +30,6 @@ class CbcsDrmConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CbcsDrmConfiguration', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'CbcsDrmConfiguration', model_properties: { fair_play: { - client_side_validation: true, required: false, serialized_name: 'fairPlay', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, play_ready: { - client_side_validation: true, required: false, serialized_name: 'playReady', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, widevine: { - client_side_validation: true, required: false, serialized_name: 'widevine', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb index 767df29135..145bd39742 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb @@ -27,7 +27,6 @@ class CencDrmConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CencDrmConfiguration', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'CencDrmConfiguration', model_properties: { play_ready: { - client_side_validation: true, required: false, serialized_name: 'playReady', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, widevine: { - client_side_validation: true, required: false, serialized_name: 'widevine', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb index ee3323c214..cc4db5e347 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb @@ -26,7 +26,6 @@ class CheckNameAvailabilityInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CheckNameAvailabilityInput', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'CheckNameAvailabilityInput', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb index f36ad2d08c..4a327727b0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/codec.rb @@ -24,10 +24,10 @@ class Codec @@discriminatorMap["#Microsoft.Media.PngImage"] = "PngImage" def initialize - @odatatype = "Codec" + @@odatatype = "Codec" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] An optional label for the codec. The label can be used # to control muxing behavior. @@ -40,7 +40,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Codec', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'Codec', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb index 152c5c3b89..c09f6c41f7 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb @@ -35,7 +35,6 @@ class CommonEncryptionCbcs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CommonEncryptionCbcs', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'CommonEncryptionCbcs', model_properties: { enabled_protocols: { - client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { @@ -52,13 +50,11 @@ def self.mapper() } }, clear_tracks: { - client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, content_keys: { - client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, drm: { - client_side_validation: true, required: false, serialized_name: 'drm', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb index 50c80107f3..064c6bd2ba 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb @@ -35,7 +35,6 @@ class CommonEncryptionCenc # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CommonEncryptionCenc', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'CommonEncryptionCenc', model_properties: { enabled_protocols: { - client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { @@ -52,13 +50,11 @@ def self.mapper() } }, clear_tracks: { - client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, content_keys: { - client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, drm: { - client_side_validation: true, required: false, serialized_name: 'drm', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb index 6b752e772e..7259d93d81 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb @@ -34,7 +34,6 @@ class ContentKeyPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicy', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ContentKeyPolicy', 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() } }, policy_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.policyId', @@ -78,7 +73,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -87,7 +81,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -96,7 +89,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -104,13 +96,11 @@ def self.mapper() } }, options: { - client_side_validation: true, required: true, serialized_name: 'properties.options', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyOptionElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb index 664dd7d62a..a026f1e924 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyClearKeyConfiguration < ContentKeyPolicyConfiguration def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,15 +26,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyClearKeyConfiguration', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb index bf7b93dc1c..e565e8c64d 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyCollection', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ContentKeyPolicyCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb index e749d51a3a..b0d9dd865c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb @@ -21,10 +21,10 @@ class ContentKeyPolicyConfiguration @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"] = "ContentKeyPolicyFairPlayConfiguration" def initialize - @odatatype = "ContentKeyPolicyConfiguration" + @@odatatype = "ContentKeyPolicyConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -33,7 +33,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyConfiguration', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb index 6e87bcba92..13884f1969 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyFairPlayConfiguration < ContentKeyPolicyConfiguration def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The key that must be used as FairPlay ASk. attr_accessor :ask @@ -46,15 +46,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyFairPlayConfiguration', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, ask: { - client_side_validation: true, required: true, serialized_name: 'ask', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, fair_play_pfx_password: { - client_side_validation: true, required: true, serialized_name: 'fairPlayPfxPassword', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, fair_play_pfx: { - client_side_validation: true, required: true, serialized_name: 'fairPlayPfx', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, rental_and_lease_key_type: { - client_side_validation: true, required: true, serialized_name: 'rentalAndLeaseKeyType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, rental_duration: { - client_side_validation: true, required: true, serialized_name: 'rentalDuration', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb index 63f5436de6..8d43283cf4 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb @@ -15,10 +15,10 @@ class ContentKeyPolicyOpenRestriction < ContentKeyPolicyRestriction def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyOpenRestriction" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,15 +27,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyOpenRestriction', type: { name: 'Composite', class_name: 'ContentKeyPolicyOpenRestriction', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb index 201c59bf66..4b66ac0fed 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb @@ -32,7 +32,6 @@ class ContentKeyPolicyOption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyOption', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContentKeyPolicyOption', model_properties: { policy_option_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'policyOptionId', @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, configuration: { - client_side_validation: true, required: true, serialized_name: 'configuration', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, restriction: { - client_side_validation: true, required: true, serialized_name: 'restriction', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb index 8edbc7a92e..7c40ff10b6 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyPlayReadyConfiguration < ContentKeyPolicyConfiguration def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The PlayReady # licenses. @@ -33,15 +33,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyConfiguration', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -49,13 +47,11 @@ def self.mapper() } }, licenses: { - client_side_validation: true, required: true, serialized_name: 'licenses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyLicenseElementType', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, response_custom_data: { - client_side_validation: true, required: false, serialized_name: 'responseCustomData', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb index b763f173c6..8eba01ac85 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader < ContentKeyPolicy def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,15 +27,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb index effd69cba2..3205998f9e 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb @@ -15,10 +15,10 @@ class ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier < ContentKe def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return The content key ID. attr_accessor :key_id @@ -32,15 +32,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', type: { name: 'Composite', class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, key_id: { - client_side_validation: true, required: true, serialized_name: 'keyId', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb index d0b1406c0a..28be0ab1d1 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb @@ -18,10 +18,10 @@ class ContentKeyPolicyPlayReadyContentKeyLocation @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" def initialize - @odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation" + @@odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb index dcd2a590d6..d983ed10ca 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb @@ -29,7 +29,6 @@ class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction', model_properties: { best_effort: { - client_side_validation: true, required: true, serialized_name: 'bestEffort', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, configuration_data: { - client_side_validation: true, required: true, serialized_name: 'configurationData', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb index 32fad2edea..0954eb49f7 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb @@ -54,7 +54,6 @@ class ContentKeyPolicyPlayReadyLicense # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyLicense', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContentKeyPolicyPlayReadyLicense', model_properties: { allow_test_devices: { - client_side_validation: true, required: true, serialized_name: 'allowTestDevices', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, begin_date: { - client_side_validation: true, required: false, serialized_name: 'beginDate', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, expiration_date: { - client_side_validation: true, required: false, serialized_name: 'expirationDate', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, relative_begin_date: { - client_side_validation: true, required: false, serialized_name: 'relativeBeginDate', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, relative_expiration_date: { - client_side_validation: true, required: false, serialized_name: 'relativeExpirationDate', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, grace_period: { - client_side_validation: true, required: false, serialized_name: 'gracePeriod', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, play_right: { - client_side_validation: true, required: false, serialized_name: 'playRight', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, license_type: { - client_side_validation: true, required: true, serialized_name: 'licenseType', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, content_key_location: { - client_side_validation: true, required: true, serialized_name: 'contentKeyLocation', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, content_type: { - client_side_validation: true, required: true, serialized_name: 'contentType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb index 23a997dd63..908dee54aa 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb @@ -74,7 +74,6 @@ class ContentKeyPolicyPlayReadyPlayRight # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyPlayReadyPlayRight', type: { @@ -82,7 +81,6 @@ def self.mapper() class_name: 'ContentKeyPolicyPlayReadyPlayRight', model_properties: { first_play_expiration: { - client_side_validation: true, required: false, serialized_name: 'firstPlayExpiration', type: { @@ -90,7 +88,6 @@ def self.mapper() } }, scms_restriction: { - client_side_validation: true, required: false, serialized_name: 'scmsRestriction', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, agc_and_color_stripe_restriction: { - client_side_validation: true, required: false, serialized_name: 'agcAndColorStripeRestriction', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, explicit_analog_television_output_restriction: { - client_side_validation: true, required: false, serialized_name: 'explicitAnalogTelevisionOutputRestriction', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, digital_video_only_content_restriction: { - client_side_validation: true, required: true, serialized_name: 'digitalVideoOnlyContentRestriction', type: { @@ -123,7 +117,6 @@ def self.mapper() } }, image_constraint_for_analog_component_video_restriction: { - client_side_validation: true, required: true, serialized_name: 'imageConstraintForAnalogComponentVideoRestriction', type: { @@ -131,7 +124,6 @@ def self.mapper() } }, image_constraint_for_analog_computer_monitor_restriction: { - client_side_validation: true, required: true, serialized_name: 'imageConstraintForAnalogComputerMonitorRestriction', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, allow_passing_video_content_to_unknown_output: { - client_side_validation: true, required: true, serialized_name: 'allowPassingVideoContentToUnknownOutput', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, uncompressed_digital_video_opl: { - client_side_validation: true, required: false, serialized_name: 'uncompressedDigitalVideoOpl', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, compressed_digital_video_opl: { - client_side_validation: true, required: false, serialized_name: 'compressedDigitalVideoOpl', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, analog_video_opl: { - client_side_validation: true, required: false, serialized_name: 'analogVideoOpl', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, compressed_digital_audio_opl: { - client_side_validation: true, required: false, serialized_name: 'compressedDigitalAudioOpl', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, uncompressed_digital_audio_opl: { - client_side_validation: true, required: false, serialized_name: 'uncompressedDigitalAudioOpl', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb index 34c31fc943..acad932b42 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb @@ -34,7 +34,6 @@ class ContentKeyPolicyProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyProperties', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ContentKeyPolicyProperties', model_properties: { policy_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'policyId', @@ -51,7 +49,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'created', @@ -60,7 +57,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -69,7 +65,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, options: { - client_side_validation: true, required: true, serialized_name: 'options', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyOptionElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb index ef73c392da..c10d1f3b53 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb @@ -19,10 +19,10 @@ class ContentKeyPolicyRestriction @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyTokenRestriction"] = "ContentKeyPolicyTokenRestriction" def initialize - @odatatype = "ContentKeyPolicyRestriction" + @@odatatype = "ContentKeyPolicyRestriction" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyRestriction', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb index c960b055b4..c7834d3b6b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb @@ -19,10 +19,10 @@ class ContentKeyPolicyRestrictionTokenKey @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"] = "ContentKeyPolicyX509CertificateTokenKey" def initialize - @odatatype = "ContentKeyPolicyRestrictionTokenKey" + @@odatatype = "ContentKeyPolicyRestrictionTokenKey" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyRestrictionTokenKey', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb index 18c2ae98d0..c51a6d91c7 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyRsaTokenKey < ContentKeyPolicyRestrictionTokenKey def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The RSA Parameter exponent attr_accessor :exponent @@ -32,15 +32,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyRsaTokenKey', type: { name: 'Composite', class_name: 'ContentKeyPolicyRsaTokenKey', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, exponent: { - client_side_validation: true, required: true, serialized_name: 'exponent', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, modulus: { - client_side_validation: true, required: true, serialized_name: 'modulus', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb index 2b551c9ff1..99d8099d4e 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb @@ -14,10 +14,10 @@ class ContentKeyPolicySymmetricTokenKey < ContentKeyPolicyRestrictionTokenKey def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey" + @@odatatype = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The key value of the key attr_accessor :key_value @@ -29,15 +29,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey', type: { name: 'Composite', class_name: 'ContentKeyPolicySymmetricTokenKey', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, key_value: { - client_side_validation: true, required: true, serialized_name: 'keyValue', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb index 072e665d13..db7d69e87f 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb @@ -25,7 +25,6 @@ class ContentKeyPolicyTokenClaim # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyTokenClaim', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContentKeyPolicyTokenClaim', model_properties: { claim_type: { - client_side_validation: true, required: false, serialized_name: 'claimType', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, claim_value: { - client_side_validation: true, required: false, serialized_name: 'claimValue', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb index 4b8f4f7db6..41bd8ccbf5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb @@ -15,10 +15,10 @@ class ContentKeyPolicyTokenRestriction < ContentKeyPolicyRestriction def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyTokenRestriction" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyTokenRestriction" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The token issuer. attr_accessor :issuer @@ -52,15 +52,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyTokenRestriction', type: { name: 'Composite', class_name: 'ContentKeyPolicyTokenRestriction', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, issuer: { - client_side_validation: true, required: true, serialized_name: 'issuer', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, audience: { - client_side_validation: true, required: true, serialized_name: 'audience', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, primary_verification_key: { - client_side_validation: true, required: true, serialized_name: 'primaryVerificationKey', type: { @@ -95,13 +90,11 @@ def self.mapper() } }, alternate_verification_keys: { - client_side_validation: true, required: false, serialized_name: 'alternateVerificationKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyRestrictionTokenKeyElementType', type: { @@ -114,13 +107,11 @@ def self.mapper() } }, required_claims: { - client_side_validation: true, required: false, serialized_name: 'requiredClaims', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContentKeyPolicyTokenClaimElementType', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, restriction_token_type: { - client_side_validation: true, required: true, serialized_name: 'restrictionTokenType', type: { @@ -140,7 +130,6 @@ def self.mapper() } }, open_id_connect_discovery_document: { - client_side_validation: true, required: false, serialized_name: 'openIdConnectDiscoveryDocument', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb index 5561901187..9c28bbc491 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb @@ -15,10 +15,10 @@ class ContentKeyPolicyUnknownConfiguration < ContentKeyPolicyConfiguration def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,15 +27,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyUnknownConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyUnknownConfiguration', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb index 741a6e66ba..8c43431fb8 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb @@ -15,10 +15,10 @@ class ContentKeyPolicyUnknownRestriction < ContentKeyPolicyRestriction def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,15 +27,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyUnknownRestriction', type: { name: 'Composite', class_name: 'ContentKeyPolicyUnknownRestriction', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb index 424c07d624..0982483203 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyWidevineConfiguration < ContentKeyPolicyConfiguration def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The Widevine template. attr_accessor :widevine_template @@ -29,15 +29,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration', type: { name: 'Composite', class_name: 'ContentKeyPolicyWidevineConfiguration', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, widevine_template: { - client_side_validation: true, required: true, serialized_name: 'widevineTemplate', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb index 9d189d0484..9a06c75cd0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb @@ -14,10 +14,10 @@ class ContentKeyPolicyX509CertificateTokenKey < ContentKeyPolicyRestrictionToken def initialize - @odatatype = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey" + @@odatatype = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The raw data field of a certificate in PKCS 12 # format (X509Certificate2 in .NET) @@ -30,15 +30,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey', type: { name: 'Composite', class_name: 'ContentKeyPolicyX509CertificateTokenKey', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, raw_body: { - client_side_validation: true, required: true, serialized_name: 'rawBody', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_audio.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_audio.rb index 7550536d95..9296f36ba0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_audio.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_audio.rb @@ -14,10 +14,10 @@ class CopyAudio < Codec def initialize - @odatatype = "#Microsoft.Media.CopyAudio" + @@odatatype = "#Microsoft.Media.CopyAudio" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.CopyAudio', type: { @@ -34,15 +33,13 @@ def self.mapper() class_name: 'CopyAudio', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_video.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_video.rb index fd7f0a2743..1bbb13a02c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_video.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/copy_video.rb @@ -15,10 +15,10 @@ class CopyVideo < Codec def initialize - @odatatype = "#Microsoft.Media.CopyVideo" + @@odatatype = "#Microsoft.Media.CopyVideo" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,7 +27,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.CopyVideo', type: { @@ -35,15 +34,13 @@ def self.mapper() class_name: 'CopyVideo', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb index edb76d1b07..66edf95028 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb @@ -26,7 +26,6 @@ class CrossSiteAccessPolicies # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CrossSiteAccessPolicies', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'CrossSiteAccessPolicies', model_properties: { client_access_policy: { - client_side_validation: true, required: false, serialized_name: 'clientAccessPolicy', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, cross_domain_policy: { - client_side_validation: true, required: false, serialized_name: 'crossDomainPolicy', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb index fdc81452ce..2a6f287a6d 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb @@ -27,7 +27,6 @@ class DefaultKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DefaultKey', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'DefaultKey', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/deinterlace.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/deinterlace.rb index 69b0cf5398..47dadee9fb 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/deinterlace.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/deinterlace.rb @@ -28,7 +28,6 @@ class Deinterlace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Deinterlace', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Deinterlace', model_properties: { parity: { - client_side_validation: true, required: false, serialized_name: 'parity', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, mode: { - client_side_validation: true, required: false, serialized_name: 'mode', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb index 067ab1b62c..83b2ad5443 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb @@ -31,7 +31,6 @@ class EnabledProtocols # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnabledProtocols', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'EnabledProtocols', model_properties: { download: { - client_side_validation: true, required: true, serialized_name: 'download', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, dash: { - client_side_validation: true, required: true, serialized_name: 'dash', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, hls: { - client_side_validation: true, required: true, serialized_name: 'hls', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, smooth_streaming: { - client_side_validation: true, required: true, serialized_name: 'smoothStreaming', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb index e482ca398b..f372fae77b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb @@ -29,7 +29,6 @@ class EntityNameAvailabilityCheckOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EntityNameAvailabilityCheckOutput', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EntityNameAvailabilityCheckOutput', model_properties: { name_available: { - client_side_validation: true, required: true, serialized_name: 'nameAvailable', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, reason: { - client_side_validation: true, required: false, serialized_name: 'reason', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb index 666909e90e..7c3b19f946 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb @@ -35,7 +35,6 @@ class EnvelopeEncryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvelopeEncryption', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'EnvelopeEncryption', model_properties: { enabled_protocols: { - client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { @@ -52,13 +50,11 @@ def self.mapper() } }, clear_tracks: { - client_side_validation: true, required: false, serialized_name: 'clearTracks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, content_keys: { - client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, custom_license_acquisition_url_template: { - client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/filters.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/filters.rb index 50b3a550c8..9d540db8fc 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/filters.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/filters.rb @@ -36,7 +36,6 @@ class Filters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Filters', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'Filters', model_properties: { deinterlace: { - client_side_validation: true, required: false, serialized_name: 'deinterlace', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, rotation: { - client_side_validation: true, required: false, serialized_name: 'rotation', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, crop: { - client_side_validation: true, required: false, serialized_name: 'crop', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, overlays: { - client_side_validation: true, required: false, serialized_name: 'overlays', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OverlayElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/format.rb index 03da08e714..1cf92757de 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/format.rb @@ -21,10 +21,10 @@ class Format @@discriminatorMap["#Microsoft.Media.TransportStreamFormat"] = "TransportStreamFormat" def initialize - @odatatype = "Format" + @@odatatype = "Format" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The pattern of the file names for the generated output # files. The following macros are supported in the file name: {Basename} @@ -43,7 +43,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Format', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'Format', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264layer.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264layer.rb index 69a1b0aaf0..f59c3ab560 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264layer.rb @@ -15,10 +15,10 @@ class H264Layer < VideoLayer def initialize - @odatatype = "#Microsoft.Media.H264Layer" + @@odatatype = "#Microsoft.Media.H264Layer" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [H264VideoProfile] Which profile of the H.264 standard should # be used when encoding this layer. Default is Auto. Possible values @@ -53,7 +53,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.H264Layer', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'H264Layer', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -77,15 +74,13 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, bitrate: { - client_side_validation: true, required: false, serialized_name: 'bitrate', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, max_bitrate: { - client_side_validation: true, required: false, serialized_name: 'maxBitrate', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, b_frames: { - client_side_validation: true, required: false, serialized_name: 'bFrames', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, frame_rate: { - client_side_validation: true, required: false, serialized_name: 'frameRate', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, slices: { - client_side_validation: true, required: false, serialized_name: 'slices', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, adaptive_bframe: { - client_side_validation: true, required: false, serialized_name: 'adaptiveBFrame', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, profile: { - client_side_validation: true, required: false, serialized_name: 'profile', type: { @@ -150,7 +138,6 @@ def self.mapper() } }, level: { - client_side_validation: true, required: false, serialized_name: 'level', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, buffer_window: { - client_side_validation: true, required: false, serialized_name: 'bufferWindow', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, reference_frames: { - client_side_validation: true, required: false, serialized_name: 'referenceFrames', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, entropy_mode: { - client_side_validation: true, required: false, serialized_name: 'entropyMode', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264video.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264video.rb index b74d65c254..bbb29d82d2 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264video.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/h264video.rb @@ -14,10 +14,10 @@ class H264Video < Video def initialize - @odatatype = "#Microsoft.Media.H264Video" + @@odatatype = "#Microsoft.Media.H264Video" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Boolean] Whether or not the encoder should insert key frames # at scene changes. If not specified, the default is false. This flag @@ -41,7 +41,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.H264Video', type: { @@ -49,15 +48,13 @@ def self.mapper() class_name: 'H264Video', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, key_frame_interval: { - client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, stretch_mode: { - client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, scene_change_detection: { - client_side_validation: true, required: false, serialized_name: 'sceneChangeDetection', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, complexity: { - client_side_validation: true, required: false, serialized_name: 'complexity', type: { @@ -99,13 +92,11 @@ def self.mapper() } }, layers: { - client_side_validation: true, required: false, serialized_name: 'layers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'H264LayerElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/hls.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/hls.rb index bf5263e654..f76219d8f5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/hls.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/hls.rb @@ -23,7 +23,6 @@ class Hls # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Hls', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'Hls', model_properties: { fragments_per_ts_segment: { - client_side_validation: true, required: false, serialized_name: 'fragmentsPerTsSegment', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image.rb index 48c3ba5564..56809707f8 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image.rb @@ -15,10 +15,10 @@ class Image < Video def initialize - @odatatype = "#Microsoft.Media.Image" + @@odatatype = "#Microsoft.Media.Image" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The position in the input video from where to start # generating thumbnails. The value can be in absolute timestamp (ISO @@ -48,7 +48,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.Image', type: { @@ -56,15 +55,13 @@ def self.mapper() class_name: 'Image', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, key_frame_interval: { - client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, stretch_mode: { - client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, step: { - client_side_validation: true, required: false, serialized_name: 'step', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, range: { - client_side_validation: true, required: false, serialized_name: 'range', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image_format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image_format.rb index 382536fe32..8f88ae7e9b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image_format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/image_format.rb @@ -14,10 +14,10 @@ class ImageFormat < Format def initialize - @odatatype = "#Microsoft.Media.ImageFormat" + @@odatatype = "#Microsoft.Media.ImageFormat" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.ImageFormat', type: { @@ -34,15 +33,13 @@ def self.mapper() class_name: 'ImageFormat', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb index 93541add9e..498c7ea177 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb @@ -22,7 +22,6 @@ class IPAccessControl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAccessControl', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'IPAccessControl', model_properties: { allow: { - client_side_validation: true, required: false, serialized_name: 'allow', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPRangeElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/iprange.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/iprange.rb index 31f369a9ba..e7d47fbf94 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/iprange.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/iprange.rb @@ -28,7 +28,6 @@ class IPRange # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPRange', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'IPRange', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, subnet_prefix_length: { - client_side_validation: true, required: false, serialized_name: 'subnetPrefixLength', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job.rb index ab41263937..ef8a19eee0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job.rb @@ -48,7 +48,6 @@ class Job < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Job', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Job', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -65,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -74,7 +71,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -83,7 +79,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -92,7 +87,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -102,7 +96,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, input: { - client_side_validation: true, required: true, serialized_name: 'properties.input', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -130,13 +121,11 @@ def self.mapper() } }, outputs: { - client_side_validation: true, required: true, serialized_name: 'properties.outputs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobOutputElementType', type: { @@ -149,7 +138,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_collection.rb index 18bf540330..9edfe19633 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'JobCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb index 5059456ebf..2a8c70c99e 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error.rb @@ -44,7 +44,6 @@ class JobError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobError', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'JobError', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -62,7 +60,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -71,7 +68,6 @@ def self.mapper() } }, category: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'category', @@ -81,7 +77,6 @@ def self.mapper() } }, retry_property: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'retry', @@ -91,14 +86,12 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobErrorDetailElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb index 4c5f4aab21..d69b111069 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb @@ -25,7 +25,6 @@ class JobErrorDetail # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobErrorDetail', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'JobErrorDetail', model_properties: { code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'code', @@ -42,7 +40,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input.rb index 0daf7f1923..be72b85bae 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input.rb @@ -19,10 +19,10 @@ class JobInput @@discriminatorMap["#Microsoft.Media.JobInputHttp"] = "JobInputHttp" def initialize - @odatatype = "JobInput" + @@odatatype = "JobInput" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] A label that is assigned to a JobInput, that is used # to satisfy a reference used in the Transform. For example, a Transform @@ -39,7 +39,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobInput', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'JobInput', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb index 213bca93e5..e51396f1ae 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb @@ -14,10 +14,10 @@ class JobInputAsset < JobInputClip def initialize - @odatatype = "#Microsoft.Media.JobInputAsset" + @@odatatype = "#Microsoft.Media.JobInputAsset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The name of the input Asset. attr_accessor :asset_name @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobInputAsset', type: { @@ -37,15 +36,13 @@ def self.mapper() class_name: 'JobInputAsset', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, files: { - client_side_validation: true, required: false, serialized_name: 'files', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,7 +64,6 @@ def self.mapper() } }, asset_name: { - client_side_validation: true, required: true, serialized_name: 'assetName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb index 9b36b8490d..fe1e10493c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb @@ -14,10 +14,10 @@ class JobInputClip < JobInput def initialize - @odatatype = "#Microsoft.Media.JobInputClip" + @@odatatype = "#Microsoft.Media.JobInputClip" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] List of files. Required for JobInputHttp. attr_accessor :files @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobInputClip', type: { @@ -37,15 +36,13 @@ def self.mapper() class_name: 'JobInputClip', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, files: { - client_side_validation: true, required: false, serialized_name: 'files', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_http.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_http.rb index 78dfb59a91..1355939ca7 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_http.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_input_http.rb @@ -14,10 +14,10 @@ class JobInputHttp < JobInputClip def initialize - @odatatype = "#Microsoft.Media.JobInputHttp" + @@odatatype = "#Microsoft.Media.JobInputHttp" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] Base URI for HTTPS job input. It will be concatenated # with provided file names. If no base uri is given, then the provided @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobInputHttp', type: { @@ -39,15 +38,13 @@ def self.mapper() class_name: 'JobInputHttp', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, files: { - client_side_validation: true, required: false, serialized_name: 'files', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, base_uri: { - client_side_validation: true, required: false, serialized_name: 'baseUri', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb index 5136900839..4e00a7d113 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb @@ -14,10 +14,10 @@ class JobInputs < JobInput def initialize - @odatatype = "#Microsoft.Media.JobInputs" + @@odatatype = "#Microsoft.Media.JobInputs" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] List of inputs to a Job. attr_accessor :inputs @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobInputs', type: { @@ -37,15 +36,13 @@ def self.mapper() class_name: 'JobInputs', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, inputs: { - client_side_validation: true, required: false, serialized_name: 'inputs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JobInputElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output.rb index 37037cf678..bc9772aff5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output.rb @@ -16,10 +16,10 @@ class JobOutput @@discriminatorMap["#Microsoft.Media.JobOutputAsset"] = "JobOutputAsset" def initialize - @odatatype = "JobOutput" + @@odatatype = "JobOutput" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [JobError] If the JobOutput is in the Error state, it contains # the details of the error. @@ -43,7 +43,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'JobOutput', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'JobOutput', model_properties: { error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -63,7 +61,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -73,7 +70,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'progress', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb index 0aefe73cd7..e1244286bd 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb @@ -14,10 +14,10 @@ class JobOutputAsset < JobOutput def initialize - @odatatype = "#Microsoft.Media.JobOutputAsset" + @@odatatype = "#Microsoft.Media.JobOutputAsset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The name of the output Asset. attr_accessor :asset_name @@ -29,7 +29,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JobOutputAsset', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'JobOutputAsset', model_properties: { error: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'error', @@ -47,7 +45,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -57,7 +54,6 @@ def self.mapper() } }, progress: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'progress', @@ -65,8 +61,7 @@ def self.mapper() name: 'Number' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, asset_name: { - client_side_validation: true, required: true, serialized_name: 'assetName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_format.rb index 33b392be29..d58e961dbc 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_format.rb @@ -14,10 +14,10 @@ class JpgFormat < ImageFormat def initialize - @odatatype = "#Microsoft.Media.JpgFormat" + @@odatatype = "#Microsoft.Media.JpgFormat" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JpgFormat', type: { @@ -34,15 +33,13 @@ def self.mapper() class_name: 'JpgFormat', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_image.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_image.rb index d2dd8bc827..c67a3de7d4 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_image.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_image.rb @@ -15,10 +15,10 @@ class JpgImage < Image def initialize - @odatatype = "#Microsoft.Media.JpgImage" + @@odatatype = "#Microsoft.Media.JpgImage" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] A collection of output JPEG image layers to # be produced by the encoder. @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JpgImage', type: { @@ -39,15 +38,13 @@ def self.mapper() class_name: 'JpgImage', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, key_frame_interval: { - client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, stretch_mode: { - client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -80,7 +74,6 @@ def self.mapper() } }, step: { - client_side_validation: true, required: false, serialized_name: 'step', type: { @@ -88,7 +81,6 @@ def self.mapper() } }, range: { - client_side_validation: true, required: false, serialized_name: 'range', type: { @@ -96,13 +88,11 @@ def self.mapper() } }, layers: { - client_side_validation: true, required: false, serialized_name: 'layers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'JpgLayerElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb index 4736c03a1c..bc23251eb2 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb @@ -14,10 +14,10 @@ class JpgLayer < Layer def initialize - @odatatype = "#Microsoft.Media.JpgLayer" + @@odatatype = "#Microsoft.Media.JpgLayer" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Integer] The compression quality of the JPEG output. Range is # from 0-100 and the default is 70. @@ -30,7 +30,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.JpgLayer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'JpgLayer', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -54,15 +51,13 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -70,7 +65,6 @@ def self.mapper() } }, quality: { - client_side_validation: true, required: false, serialized_name: 'quality', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/layer.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/layer.rb index ae82d3d674..86c3461bd5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/layer.rb @@ -22,10 +22,10 @@ class Layer @@discriminatorMap["#Microsoft.Media.PngLayer"] = "PngLayer" def initialize - @odatatype = "Layer" + @@odatatype = "Layer" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The width of the output video for this layer. The # value can be absolute (in pixels) or relative (in percentage). For @@ -51,7 +51,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Layer', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'Layer', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb index bbc889f224..3e5c79e98f 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb @@ -27,7 +27,6 @@ class ListContainerSasInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListContainerSasInput', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ListContainerSasInput', model_properties: { permissions: { - client_side_validation: true, required: false, serialized_name: 'permissions', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, expiry_time: { - client_side_validation: true, required: false, serialized_name: 'expiryTime', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb index 92866f035a..491486f162 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb @@ -23,7 +23,6 @@ class ListContentKeysResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListContentKeysResponse', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ListContentKeysResponse', model_properties: { content_keys: { - client_side_validation: true, required: false, serialized_name: 'contentKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorContentKeyElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb index 2d68bfd98a..a6e36f7cf0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb @@ -27,7 +27,6 @@ class ListPathsResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ListPathsResponse', type: { @@ -35,13 +34,11 @@ def self.mapper() class_name: 'ListPathsResponse', model_properties: { streaming_paths: { - client_side_validation: true, required: false, serialized_name: 'streamingPaths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingPathElementType', type: { @@ -52,13 +49,11 @@ def self.mapper() } }, download_paths: { - client_side_validation: true, required: false, serialized_name: 'downloadPaths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event.rb index ab540c68a4..be7a2f7601 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event.rb @@ -54,7 +54,6 @@ class LiveEvent < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEvent', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LiveEvent', 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,13 +85,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', 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() } }, input: { - client_side_validation: true, required: true, serialized_name: 'properties.input', type: { @@ -130,7 +121,6 @@ def self.mapper() } }, preview: { - client_side_validation: true, required: false, serialized_name: 'properties.preview', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, encoding: { - client_side_validation: true, required: false, serialized_name: 'properties.encoding', type: { @@ -148,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -157,7 +145,6 @@ def self.mapper() } }, resource_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceState', @@ -167,7 +154,6 @@ def self.mapper() } }, cross_site_access_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.crossSiteAccessPolicies', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, vanity_url: { - client_side_validation: true, required: false, serialized_name: 'properties.vanityUrl', type: { @@ -184,13 +169,11 @@ def self.mapper() } }, stream_options: { - client_side_validation: true, required: false, serialized_name: 'properties.streamOptions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamOptionsFlagElementType', type: { @@ -201,7 +184,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -210,7 +192,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb index c16b4a2572..e3153c8023 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb @@ -22,7 +22,6 @@ class LiveEventActionInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventActionInput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LiveEventActionInput', model_properties: { remove_outputs_on_stop: { - client_side_validation: true, required: false, serialized_name: 'removeOutputsOnStop', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb index 1f123711dd..5d7c7a2f61 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb @@ -26,7 +26,6 @@ class LiveEventEncoding # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventEncoding', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'LiveEventEncoding', model_properties: { encoding_type: { - client_side_validation: true, required: false, serialized_name: 'encodingType', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, preset_name: { - client_side_validation: true, required: false, serialized_name: 'presetName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb index c9c61a404d..bb7b58a027 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb @@ -25,7 +25,6 @@ class LiveEventEndpoint # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventEndpoint', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'LiveEventEndpoint', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, url: { - client_side_validation: true, required: false, serialized_name: 'url', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_input.rb index 417de71e70..a1879f896c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_input.rb @@ -34,7 +34,6 @@ class LiveEventInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventInput', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'LiveEventInput', model_properties: { streaming_protocol: { - client_side_validation: true, required: true, serialized_name: 'streamingProtocol', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, key_frame_interval_duration: { - client_side_validation: true, required: false, serialized_name: 'keyFrameIntervalDuration', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, access_token: { - client_side_validation: true, required: false, serialized_name: 'accessToken', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, endpoints: { - client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LiveEventEndpointElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb index 3ca343d853..7f1869bc05 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'LiveEventListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LiveEventElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, odatacount: { - client_side_validation: true, required: false, serialized_name: '@odata\\.count', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb index 728b8f9088..5d892cfafd 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb @@ -33,7 +33,6 @@ class LiveEventPreview # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventPreview', type: { @@ -41,13 +40,11 @@ def self.mapper() class_name: 'LiveEventPreview', model_properties: { endpoints: { - client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LiveEventEndpointElementType', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, access_control: { - client_side_validation: true, required: false, serialized_name: 'accessControl', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, preview_locator: { - client_side_validation: true, required: false, serialized_name: 'previewLocator', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, streaming_policy_name: { - client_side_validation: true, required: false, serialized_name: 'streamingPolicyName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb index 12a00ba24a..546b8d286e 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb @@ -22,7 +22,6 @@ class LiveEventPreviewAccessControl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveEventPreviewAccessControl', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LiveEventPreviewAccessControl', model_properties: { ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output.rb index 74c626f422..fb328ccf2f 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output.rb @@ -52,7 +52,6 @@ class LiveOutput < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveOutput', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'LiveOutput', 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() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, asset_name: { - client_side_validation: true, required: true, serialized_name: 'properties.assetName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, archive_window_length: { - client_side_validation: true, required: true, serialized_name: 'properties.archiveWindowLength', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, manifest_name: { - client_side_validation: true, required: false, serialized_name: 'properties.manifestName', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, hls: { - client_side_validation: true, required: false, serialized_name: 'properties.hls', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, output_snap_time: { - client_side_validation: true, required: false, serialized_name: 'properties.outputSnapTime', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -145,7 +134,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -154,7 +142,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -163,7 +150,6 @@ def self.mapper() } }, resource_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceState', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb index 1bf50d4554..0dfd9652a0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LiveOutputListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'LiveOutputListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LiveOutputElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, odatacount: { - client_side_validation: true, required: false, serialized_name: '@odata\\.count', type: { @@ -95,7 +91,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/location.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/location.rb index 87559bca33..f2cd5f93c0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/location.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/location.rb @@ -23,7 +23,6 @@ class Location # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Location', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'Location', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service.rb index cde375f04b..c907c6b6d5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service.rb @@ -25,7 +25,6 @@ class MediaService < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MediaService', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'MediaService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -84,7 +77,6 @@ def self.mapper() } }, media_service_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.mediaServiceId', @@ -93,13 +85,11 @@ def self.mapper() } }, storage_accounts: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb index 248d0b6999..685f464859 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MediaServiceCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'MediaServiceCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MediaServiceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/mp4format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/mp4format.rb index 6427cb4083..801a7a1975 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/mp4format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/mp4format.rb @@ -14,10 +14,10 @@ class Mp4Format < MultiBitrateFormat def initialize - @odatatype = "#Microsoft.Media.Mp4Format" + @@odatatype = "#Microsoft.Media.Mp4Format" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.Mp4Format', type: { @@ -34,15 +33,13 @@ def self.mapper() class_name: 'Mp4Format', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -50,13 +47,11 @@ def self.mapper() } }, output_files: { - client_side_validation: true, required: false, serialized_name: 'outputFiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutputFileElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb index db0154c514..19c2b6ecbe 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb @@ -18,10 +18,10 @@ class MultiBitrateFormat < Format def initialize - @odatatype = "#Microsoft.Media.MultiBitrateFormat" + @@odatatype = "#Microsoft.Media.MultiBitrateFormat" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] The list of output files to produce. Each # entry in the list is a set of audio and video layer labels to be muxed @@ -35,7 +35,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.MultiBitrateFormat', type: { @@ -43,15 +42,13 @@ def self.mapper() class_name: 'MultiBitrateFormat', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, output_files: { - client_side_validation: true, required: false, serialized_name: 'outputFiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutputFileElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/no_encryption.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/no_encryption.rb index 3be486868b..bb3ea95f52 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/no_encryption.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/no_encryption.rb @@ -22,7 +22,6 @@ class NoEncryption # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NoEncryption', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'NoEncryption', model_properties: { enabled_protocols: { - client_side_validation: true, required: false, serialized_name: 'enabledProtocols', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb index 40fe85a672..200b003d82 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/odata_error.rb @@ -32,7 +32,6 @@ class ODataError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ODataError', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ODataError', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ODataErrorElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation.rb index 5faec5003f..481b5c6609 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation.rb @@ -25,7 +25,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb index 20068914a8..c06f564a5b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'OperationCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_display.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_display.rb index 12dc8f434f..bf3fb1ad92 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_display.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationDisplay', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/output_file.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/output_file.rb index 34744e7b9a..9a0bc66f39 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/output_file.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/output_file.rb @@ -27,7 +27,6 @@ class OutputFile # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutputFile', type: { @@ -35,13 +34,11 @@ def self.mapper() class_name: 'OutputFile', model_properties: { labels: { - client_side_validation: true, required: false, serialized_name: 'labels', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/overlay.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/overlay.rb index bd78cac139..1f9ebf0b30 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/overlay.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/overlay.rb @@ -17,10 +17,10 @@ class Overlay @@discriminatorMap["#Microsoft.Media.VideoOverlay"] = "VideoOverlay" def initialize - @odatatype = "Overlay" + @@odatatype = "Overlay" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [String] The label of the job input which is to be used as an # overlay. The Input must specify exactly one file. You can specify an @@ -66,7 +66,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Overlay', type: { @@ -76,7 +75,6 @@ def self.mapper() class_name: 'Overlay', model_properties: { input_label: { - client_side_validation: true, required: false, serialized_name: 'inputLabel', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -92,7 +89,6 @@ def self.mapper() } }, end_property: { - client_side_validation: true, required: false, serialized_name: 'end', type: { @@ -100,7 +96,6 @@ def self.mapper() } }, fade_in_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeInDuration', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, fade_out_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeOutDuration', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, audio_gain_level: { - client_side_validation: true, required: false, serialized_name: 'audioGainLevel', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_format.rb index f41cd2ddf0..628f7ad01c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_format.rb @@ -14,10 +14,10 @@ class PngFormat < ImageFormat def initialize - @odatatype = "#Microsoft.Media.PngFormat" + @@odatatype = "#Microsoft.Media.PngFormat" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.PngFormat', type: { @@ -34,15 +33,13 @@ def self.mapper() class_name: 'PngFormat', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_image.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_image.rb index e7f8306ef8..80af830839 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_image.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_image.rb @@ -15,10 +15,10 @@ class PngImage < Image def initialize - @odatatype = "#Microsoft.Media.PngImage" + @@odatatype = "#Microsoft.Media.PngImage" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Array] A collection of output PNG image layers to be # produced by the encoder. @@ -31,7 +31,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.PngImage', type: { @@ -39,15 +38,13 @@ def self.mapper() class_name: 'PngImage', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, key_frame_interval: { - client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, stretch_mode: { - client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -80,7 +74,6 @@ def self.mapper() } }, step: { - client_side_validation: true, required: false, serialized_name: 'step', type: { @@ -88,7 +81,6 @@ def self.mapper() } }, range: { - client_side_validation: true, required: false, serialized_name: 'range', type: { @@ -96,13 +88,11 @@ def self.mapper() } }, layers: { - client_side_validation: true, required: false, serialized_name: 'layers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PngLayerElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_layer.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_layer.rb index fadcb5a83f..dac6a3c2c9 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/png_layer.rb @@ -14,10 +14,10 @@ class PngLayer < Layer def initialize - @odatatype = "#Microsoft.Media.PngLayer" + @@odatatype = "#Microsoft.Media.PngLayer" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -26,7 +26,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.PngLayer', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'PngLayer', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -50,15 +47,13 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/preset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/preset.rb index 95b3df42d8..fb2383ec0f 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/preset.rb @@ -20,10 +20,10 @@ class Preset @@discriminatorMap["#Microsoft.Media.VideoAnalyzerPreset"] = "VideoAnalyzerPreset" def initialize - @odatatype = "Preset" + @@odatatype = "Preset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -32,7 +32,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Preset', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/provider.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/provider.rb index 0a8017911a..d4a05b3692 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/provider.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/provider.rb @@ -22,7 +22,6 @@ class Provider # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Provider', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Provider', model_properties: { provider_name: { - client_side_validation: true, required: true, serialized_name: 'providerName', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb index 06c3cc646e..beee4e624c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb @@ -19,7 +19,6 @@ class ProxyResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProxyResource', type: { @@ -27,7 +26,6 @@ def self.mapper() class_name: 'ProxyResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -36,7 +34,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -45,7 +42,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/rectangle.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/rectangle.rb index dc0340ae26..88e37dd971 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/rectangle.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/rectangle.rb @@ -40,7 +40,6 @@ class Rectangle # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Rectangle', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'Rectangle', model_properties: { left: { - client_side_validation: true, required: false, serialized_name: 'left', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, top: { - client_side_validation: true, required: false, serialized_name: 'top', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/resource.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/resource.rb index 35b305ed28..869e593ee2 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/resource.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/resource.rb @@ -28,7 +28,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb index f7704e61b4..b19fea433a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb @@ -15,10 +15,10 @@ class StandardEncoderPreset < Preset def initialize - @odatatype = "#Microsoft.Media.StandardEncoderPreset" + @@odatatype = "#Microsoft.Media.StandardEncoderPreset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Filters] One or more filtering operations that are applied to # the input media before encoding. @@ -39,15 +39,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.StandardEncoderPreset', type: { name: 'Composite', class_name: 'StandardEncoderPreset', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { @@ -64,13 +61,11 @@ def self.mapper() } }, codecs: { - client_side_validation: true, required: false, serialized_name: 'codecs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CodecElementType', type: { @@ -83,13 +78,11 @@ def self.mapper() } }, formats: { - client_side_validation: true, required: false, serialized_name: 'formats', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FormatElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/storage_account.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/storage_account.rb index 029f40f9ba..a6dc13405c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/storage_account.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/storage_account.rb @@ -30,7 +30,6 @@ class StorageAccount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StorageAccount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'StorageAccount', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb index 4af885adab..d2a0b446e7 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb @@ -72,7 +72,6 @@ class StreamingEndpoint < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingEndpoint', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'StreamingEndpoint', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -98,7 +95,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,13 +103,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -123,7 +117,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,7 +124,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, scale_units: { - client_side_validation: true, required: false, serialized_name: 'properties.scaleUnits', type: { @@ -147,7 +138,6 @@ def self.mapper() } }, availability_set_name: { - client_side_validation: true, required: false, serialized_name: 'properties.availabilitySetName', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, access_control: { - client_side_validation: true, required: false, serialized_name: 'properties.accessControl', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, max_cache_age: { - client_side_validation: true, required: false, serialized_name: 'properties.maxCacheAge', type: { @@ -172,13 +160,11 @@ def self.mapper() } }, custom_host_names: { - client_side_validation: true, required: false, serialized_name: 'properties.customHostNames', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -188,7 +174,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostName', @@ -197,7 +182,6 @@ def self.mapper() } }, cdn_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.cdnEnabled', type: { @@ -205,7 +189,6 @@ def self.mapper() } }, cdn_provider: { - client_side_validation: true, required: false, serialized_name: 'properties.cdnProvider', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, cdn_profile: { - client_side_validation: true, required: false, serialized_name: 'properties.cdnProfile', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, resource_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceState', @@ -240,7 +220,6 @@ def self.mapper() } }, cross_site_access_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.crossSiteAccessPolicies', type: { @@ -249,7 +228,6 @@ def self.mapper() } }, free_trial_end_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.freeTrialEndTime', @@ -258,7 +236,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -267,7 +244,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb index 006b723221..7b1099c9af 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb @@ -26,7 +26,6 @@ class StreamingEndpointAccessControl # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingEndpointAccessControl', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StreamingEndpointAccessControl', model_properties: { akamai: { - client_side_validation: true, required: false, serialized_name: 'akamai', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb index e42174227c..0b87c0aab8 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingEndpointListResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'StreamingEndpointListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingEndpointElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, odatacount: { - client_side_validation: true, required: false, serialized_name: '@odata\\.count', type: { @@ -95,7 +91,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb index 03f2ac0443..9e4d0cdec3 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb @@ -23,7 +23,6 @@ class StreamingEntityScaleUnit # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingEntityScaleUnit', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'StreamingEntityScaleUnit', model_properties: { scale_unit: { - client_side_validation: true, required: false, serialized_name: 'scaleUnit', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb index e45b7ad01d..3c7238b9ac 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb @@ -52,7 +52,6 @@ class StreamingLocator < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingLocator', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'StreamingLocator', 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() } }, asset_name: { - client_side_validation: true, required: true, serialized_name: 'properties.assetName', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -104,7 +98,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'properties.endTime', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, streaming_locator_id: { - client_side_validation: true, required: false, serialized_name: 'properties.streamingLocatorId', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, streaming_policy_name: { - client_side_validation: true, required: true, serialized_name: 'properties.streamingPolicyName', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, default_content_key_policy_name: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultContentKeyPolicyName', type: { @@ -144,13 +133,11 @@ def self.mapper() } }, content_keys: { - client_side_validation: true, required: false, serialized_name: 'properties.contentKeys', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorUserDefinedContentKeyElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb index 77dda506b7..8cd4bd0c73 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorCollection', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'StreamingLocatorCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb index 62e8cd7bbf..2ac7eafc9d 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb @@ -39,7 +39,6 @@ class StreamingLocatorContentKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorContentKey', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'StreamingLocatorContentKey', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, serialized_name: 'type', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -88,13 +82,11 @@ def self.mapper() } }, tracks: { - client_side_validation: true, required: false, serialized_name: 'tracks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_user_defined_content_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_user_defined_content_key.rb index a771bdee02..8d1bd46648 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_user_defined_content_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_user_defined_content_key.rb @@ -29,7 +29,6 @@ class StreamingLocatorUserDefinedContentKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingLocatorUserDefinedContentKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StreamingLocatorUserDefinedContentKey', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_path.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_path.rb index 4c5114bf91..ba2e31f835 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_path.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_path.rb @@ -32,7 +32,6 @@ class StreamingPath # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPath', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'StreamingPath', model_properties: { streaming_protocol: { - client_side_validation: true, required: true, serialized_name: 'streamingProtocol', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, encryption_scheme: { - client_side_validation: true, required: true, serialized_name: 'encryptionScheme', type: { @@ -58,13 +55,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb index 87b38cd218..3aa7ab0cb0 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb @@ -37,7 +37,6 @@ class StreamingPolicy < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicy', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'StreamingPolicy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -81,7 +76,6 @@ def self.mapper() } }, default_content_key_policy_name: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultContentKeyPolicyName', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, envelope_encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.envelopeEncryption', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, common_encryption_cenc: { - client_side_validation: true, required: false, serialized_name: 'properties.commonEncryptionCenc', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, common_encryption_cbcs: { - client_side_validation: true, required: false, serialized_name: 'properties.commonEncryptionCbcs', type: { @@ -116,7 +107,6 @@ def self.mapper() } }, no_encryption: { - client_side_validation: true, required: false, serialized_name: 'properties.noEncryption', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb index d00178f5aa..88f46bdeb4 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'StreamingPolicyCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb index 19b40f752b..ef24941539 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb @@ -29,7 +29,6 @@ class StreamingPolicyContentKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyContentKey', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'StreamingPolicyContentKey', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, tracks: { - client_side_validation: true, required: false, serialized_name: 'tracks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackSelectionElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb index 1d5cad94a0..04a3fed91b 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb @@ -26,7 +26,6 @@ class StreamingPolicyContentKeys # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyContentKeys', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'StreamingPolicyContentKeys', model_properties: { default_key: { - client_side_validation: true, required: false, serialized_name: 'defaultKey', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, key_to_track_mappings: { - client_side_validation: true, required: false, serialized_name: 'keyToTrackMappings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyContentKeyElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb index cbd1f556cb..ca90136b29 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb @@ -27,7 +27,6 @@ class StreamingPolicyFairPlayConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyFairPlayConfiguration', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'StreamingPolicyFairPlayConfiguration', model_properties: { custom_license_acquisition_url_template: { - client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, allow_persistent_license: { - client_side_validation: true, required: true, serialized_name: 'allowPersistentLicense', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb index 65cb034aa3..d73cb009f5 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb @@ -27,7 +27,6 @@ class StreamingPolicyPlayReadyConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyPlayReadyConfiguration', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'StreamingPolicyPlayReadyConfiguration', model_properties: { custom_license_acquisition_url_template: { - client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, play_ready_custom_attributes: { - client_side_validation: true, required: false, serialized_name: 'playReadyCustomAttributes', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb index b319efecc6..cc4b8522f9 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb @@ -24,7 +24,6 @@ class StreamingPolicyWidevineConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'StreamingPolicyWidevineConfiguration', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'StreamingPolicyWidevineConfiguration', model_properties: { custom_license_acquisition_url_template: { - client_side_validation: true, required: false, serialized_name: 'customLicenseAcquisitionUrlTemplate', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb index f0f1c06fb5..37b2bc741c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb @@ -25,7 +25,6 @@ class SubscriptionMediaService < TrackedResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubscriptionMediaService', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubscriptionMediaService', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -84,7 +77,6 @@ def self.mapper() } }, media_service_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.mediaServiceId', @@ -93,13 +85,11 @@ def self.mapper() } }, storage_accounts: { - client_side_validation: true, required: false, serialized_name: 'properties.storageAccounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StorageAccountElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb index 0cb0b23b5b..9d14da2b03 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubscriptionMediaServiceCollection', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SubscriptionMediaServiceCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubscriptionMediaServiceElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb index 75450899c0..84e3f2774f 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb @@ -22,7 +22,6 @@ class SyncStorageKeysInput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SyncStorageKeysInput', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SyncStorageKeysInput', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb index b485b3359a..7eb66c5f3a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb @@ -30,7 +30,6 @@ class TrackPropertyCondition # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackPropertyCondition', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TrackPropertyCondition', model_properties: { property: { - client_side_validation: true, required: true, serialized_name: 'property', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: true, serialized_name: 'operation', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_selection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_selection.rb index af81211f95..333ba469d9 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_selection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_selection.rb @@ -23,7 +23,6 @@ class TrackSelection # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackSelection', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'TrackSelection', model_properties: { track_selections: { - client_side_validation: true, required: false, serialized_name: 'trackSelections', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TrackPropertyConditionElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb index d4b98cfb5d..373d7e787a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb @@ -25,7 +25,6 @@ class TrackedResource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TrackedResource', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'TrackedResource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,7 +40,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -51,7 +48,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -60,13 +56,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -76,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform.rb index 00d0a79303..a6d63ec1df 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform.rb @@ -37,7 +37,6 @@ class Transform < ProxyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Transform', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Transform', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, created: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.created', @@ -81,7 +76,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModified', @@ -98,13 +91,11 @@ def self.mapper() } }, outputs: { - client_side_validation: true, required: true, serialized_name: 'properties.outputs', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransformOutputElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_collection.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_collection.rb index 769ad13178..404d320a42 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_collection.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_collection.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransformCollection', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'TransformCollection', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TransformElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, odatanext_link: { - client_side_validation: true, required: false, serialized_name: '@odata\\.nextLink', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_output.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_output.rb index 375114c81d..223b058f3c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transform_output.rb @@ -38,7 +38,6 @@ class TransformOutput # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TransformOutput', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'TransformOutput', model_properties: { on_error: { - client_side_validation: true, required: false, serialized_name: 'onError', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, relative_priority: { - client_side_validation: true, required: false, serialized_name: 'relativePriority', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, preset: { - client_side_validation: true, required: true, serialized_name: 'preset', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb index 05463c0204..10fea3f4fb 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb @@ -15,10 +15,10 @@ class TransportStreamFormat < MultiBitrateFormat def initialize - @odatatype = "#Microsoft.Media.TransportStreamFormat" + @@odatatype = "#Microsoft.Media.TransportStreamFormat" end - attr_accessor :odatatype + attr_accessor :@odatatype # @@ -27,7 +27,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.TransportStreamFormat', type: { @@ -35,15 +34,13 @@ def self.mapper() class_name: 'TransportStreamFormat', model_properties: { filename_pattern: { - client_side_validation: true, required: false, serialized_name: 'filenamePattern', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, output_files: { - client_side_validation: true, required: false, serialized_name: 'outputFiles', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutputFileElementType', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video.rb index a4bd71ea8a..f81019108a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video.rb @@ -14,10 +14,10 @@ class Video < Codec def initialize - @odatatype = "#Microsoft.Media.Video" + @@odatatype = "#Microsoft.Media.Video" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Duration] The distance between two key frames, thereby # defining a group of pictures (GOP). The value should be a non-zero @@ -37,7 +37,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.Video', type: { @@ -45,15 +44,13 @@ def self.mapper() class_name: 'Video', model_properties: { label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, key_frame_interval: { - client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, stretch_mode: { - client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb index 791ce39607..0edfa5d59a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb @@ -15,10 +15,10 @@ class VideoAnalyzerPreset < AudioAnalyzerPreset def initialize - @odatatype = "#Microsoft.Media.VideoAnalyzerPreset" + @@odatatype = "#Microsoft.Media.VideoAnalyzerPreset" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Boolean] Whether to only extract audio insights when # processing a video file. @@ -31,15 +31,13 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.VideoAnalyzerPreset', type: { name: 'Composite', class_name: 'VideoAnalyzerPreset', model_properties: { - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, audio_language: { - client_side_validation: true, required: false, serialized_name: 'audioLanguage', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, audio_insights_only: { - client_side_validation: true, required: false, serialized_name: 'audioInsightsOnly', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_layer.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_layer.rb index c3ad122585..d633b9c8bb 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_layer.rb @@ -15,10 +15,10 @@ class VideoLayer < Layer def initialize - @odatatype = "#Microsoft.Media.VideoLayer" + @@odatatype = "#Microsoft.Media.VideoLayer" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Integer] The average bitrate in bits per second at which to # encode the input video when generating this layer. This is a required @@ -60,7 +60,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.VideoLayer', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'VideoLayer', model_properties: { width: { - client_side_validation: true, required: false, serialized_name: 'width', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, height: { - client_side_validation: true, required: false, serialized_name: 'height', type: { @@ -84,15 +81,13 @@ def self.mapper() } }, label: { - client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, bitrate: { - client_side_validation: true, required: false, serialized_name: 'bitrate', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, max_bitrate: { - client_side_validation: true, required: false, serialized_name: 'maxBitrate', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, b_frames: { - client_side_validation: true, required: false, serialized_name: 'bFrames', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, frame_rate: { - client_side_validation: true, required: false, serialized_name: 'frameRate', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, slices: { - client_side_validation: true, required: false, serialized_name: 'slices', type: { @@ -140,7 +130,6 @@ def self.mapper() } }, adaptive_bframe: { - client_side_validation: true, required: false, serialized_name: 'adaptiveBFrame', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_overlay.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_overlay.rb index ea6a382a9c..410d7d3248 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_overlay.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/video_overlay.rb @@ -14,10 +14,10 @@ class VideoOverlay < Overlay def initialize - @odatatype = "#Microsoft.Media.VideoOverlay" + @@odatatype = "#Microsoft.Media.VideoOverlay" end - attr_accessor :odatatype + attr_accessor :@odatatype # @return [Rectangle] The location in the input video where the overlay # is applied. @@ -38,7 +38,6 @@ def initialize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.VideoOverlay', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'VideoOverlay', model_properties: { input_label: { - client_side_validation: true, required: false, serialized_name: 'inputLabel', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start: { - client_side_validation: true, required: false, serialized_name: 'start', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, end_property: { - client_side_validation: true, required: false, serialized_name: 'end', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, fade_in_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeInDuration', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, fade_out_duration: { - client_side_validation: true, required: false, serialized_name: 'fadeOutDuration', type: { @@ -86,15 +80,13 @@ def self.mapper() } }, audio_gain_level: { - client_side_validation: true, required: false, serialized_name: 'audioGainLevel', type: { name: 'Double' } }, - odatatype: { - client_side_validation: true, + @odatatype: { required: true, serialized_name: '@odata\\.type', type: { @@ -102,7 +94,6 @@ def self.mapper() } }, position: { - client_side_validation: true, required: false, serialized_name: 'position', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, opacity: { - client_side_validation: true, required: false, serialized_name: 'opacity', type: { @@ -119,7 +109,6 @@ def self.mapper() } }, crop_rectangle: { - client_side_validation: true, required: false, serialized_name: 'cropRectangle', type: { diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/operations.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/operations.rb index 949c86229e..ae801b1824 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/operations.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/operations.rb @@ -31,8 +31,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 @@ -46,8 +46,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -60,12 +60,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -121,8 +120,8 @@ def list_async(custom_headers:nil) # # @return [OperationCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -154,12 +153,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -214,12 +212,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationCollection] 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_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb index 5121114c58..556922a309 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, custom_headers:custom_headers) + def list(resource_group_name, account_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(resource_group_name, account_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, custom_headers:nil) - list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_async(resource_group_name, account_name, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_with_http_info(resource_group_name, account_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, custom_headers:nil) + def list_async(resource_group_name, account_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -77,7 +77,6 @@ def list_async(resource_group_name, account_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def list_async(resource_group_name, account_name, custom_headers:nil) # # @return [StreamingEndpoint] operation results. # - def get(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! response.body unless response.nil? end @@ -155,8 +154,8 @@ def get(resource_group_name, account_name, streaming_endpoint_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! end # @@ -173,19 +172,15 @@ def get_with_http_info(resource_group_name, account_name, streaming_endpoint_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def get_async(resource_group_name, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 +242,8 @@ def get_async(resource_group_name, account_name, streaming_endpoint_name, custom # # @return [StreamingEndpoint] operation results. # - def create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:nil, custom_headers:nil) - response = create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! response.body unless response.nil? end @@ -266,9 +261,9 @@ def create(resource_group_name, account_name, streaming_endpoint_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:nil, custom_headers:nil) + def create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:auto_start, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -300,8 +295,8 @@ def create_async(resource_group_name, account_name, streaming_endpoint_name, par # # @return [StreamingEndpoint] operation results. # - def update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -318,9 +313,9 @@ def update(resource_group_name, account_name, streaming_endpoint_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +343,8 @@ def update_async(resource_group_name, account_name, streaming_endpoint_name, par # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -364,9 +359,9 @@ def delete(resource_group_name, account_name, streaming_endpoint_name, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -392,8 +387,8 @@ def delete_async(resource_group_name, account_name, streaming_endpoint_name, cus # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def start(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -408,9 +403,9 @@ def start(resource_group_name, account_name, streaming_endpoint_name, custom_hea # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -436,8 +431,8 @@ def start_async(resource_group_name, account_name, streaming_endpoint_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def stop(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -452,9 +447,9 @@ def stop(resource_group_name, account_name, streaming_endpoint_name, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -482,8 +477,8 @@ def stop_async(resource_group_name, account_name, streaming_endpoint_name, custo # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - response = scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! nil end @@ -500,9 +495,9 @@ def scale(resource_group_name, account_name, streaming_endpoint_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) + def scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) # Send request - promise = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers) + promise = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -533,8 +528,8 @@ def scale_async(resource_group_name, account_name, streaming_endpoint_name, para # # @return [StreamingEndpoint] operation results. # - def begin_create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:nil, custom_headers:nil) - response = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def begin_create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! response.body unless response.nil? end @@ -555,8 +550,8 @@ def begin_create(resource_group_name, account_name, streaming_endpoint_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:nil, custom_headers:nil) - begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:auto_start, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! end # @@ -576,25 +571,23 @@ def begin_create_with_http_info(resource_group_name, account_name, streaming_end # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start:nil, custom_headers:nil) + def begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = 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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +660,8 @@ def begin_create_async(resource_group_name, account_name, streaming_endpoint_nam # # @return [StreamingEndpoint] operation results. # - def begin_update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -688,8 +681,8 @@ def begin_update(resource_group_name, account_name, streaming_endpoint_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! end # @@ -708,25 +701,23 @@ def begin_update_with_http_info(resource_group_name, account_name, streaming_end # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) + def begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -796,8 +787,8 @@ def begin_update_async(resource_group_name, account_name, streaming_endpoint_nam # will be added to the HTTP request. # # - def begin_delete(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -815,8 +806,8 @@ def begin_delete(resource_group_name, account_name, streaming_endpoint_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! end # @@ -833,19 +824,15 @@ def begin_delete_with_http_info(resource_group_name, account_name, streaming_end # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def begin_delete_async(resource_group_name, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -893,8 +880,8 @@ def begin_delete_async(resource_group_name, account_name, streaming_endpoint_nam # will be added to the HTTP request. # # - def begin_start(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -912,8 +899,8 @@ def begin_start(resource_group_name, account_name, streaming_endpoint_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! end # @@ -930,19 +917,15 @@ def begin_start_with_http_info(resource_group_name, account_name, streaming_endp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def begin_start_async(resource_group_name, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -990,8 +973,8 @@ def begin_start_async(resource_group_name, account_name, streaming_endpoint_name # will be added to the HTTP request. # # - def begin_stop(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! nil end @@ -1009,8 +992,8 @@ def begin_stop(resource_group_name, account_name, streaming_endpoint_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) - begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! end # @@ -1027,19 +1010,15 @@ def begin_stop_with_http_info(resource_group_name, account_name, streaming_endpo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers:nil) + def begin_stop_async(resource_group_name, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).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 @@ -1089,8 +1068,8 @@ def begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, # will be added to the HTTP request. # # - def begin_scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - response = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def begin_scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! nil end @@ -1110,8 +1089,8 @@ def begin_scale(resource_group_name, account_name, streaming_endpoint_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_scale_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) - begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:custom_headers).value! + def begin_scale_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! end # @@ -1130,25 +1109,23 @@ def begin_scale_with_http_info(resource_group_name, account_name, streaming_endp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers:nil) + def begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MaxLength': '24'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length > 24 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'MinLength': '1'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.length < 1 - fail ArgumentError, "'streaming_endpoint_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$'" if !streaming_endpoint_name.nil? && streaming_endpoint_name.match(Regexp.new('^^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEntityScaleUnit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1197,8 +1174,8 @@ def begin_scale_async(resource_group_name, account_name, streaming_endpoint_name # # @return [StreamingEndpointListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1214,8 +1191,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1230,12 +1207,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1293,12 +1269,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [StreamingEndpointListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, account_name, custom_headers:nil) - response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb index 2db9e7f03d..a2ceda8239 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -64,8 +64,8 @@ def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! end # @@ -87,7 +87,7 @@ def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, account_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, 'account_name is nil' if account_name.nil? @@ -95,7 +95,6 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -154,8 +153,8 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n # # @return [StreamingLocator] operation results. # - def get(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! response.body unless response.nil? end @@ -173,8 +172,8 @@ def get(resource_group_name, account_name, streaming_locator_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - get_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! end # @@ -191,7 +190,7 @@ def get_with_http_info(resource_group_name, account_name, streaming_locator_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) + def get_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? @@ -200,7 +199,6 @@ def get_async(resource_group_name, account_name, streaming_locator_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -260,8 +258,8 @@ def get_async(resource_group_name, account_name, streaming_locator_name, custom_ # # @return [StreamingLocator] operation results. # - def create(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -280,8 +278,8 @@ def create(resource_group_name, account_name, streaming_locator_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers:nil) - create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers).value! end # @@ -299,7 +297,7 @@ def create_with_http_info(resource_group_name, account_name, streaming_locator_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -309,12 +307,13 @@ def create_async(resource_group_name, account_name, streaming_locator_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -374,8 +373,8 @@ def create_async(resource_group_name, account_name, streaming_locator_name, para # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! nil end @@ -393,8 +392,8 @@ def delete(resource_group_name, account_name, streaming_locator_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! end # @@ -411,7 +410,7 @@ def delete_with_http_info(resource_group_name, account_name, streaming_locator_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? @@ -420,7 +419,6 @@ def delete_async(resource_group_name, account_name, streaming_locator_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +467,8 @@ def delete_async(resource_group_name, account_name, streaming_locator_name, cust # # @return [ListContentKeysResponse] operation results. # - def list_content_keys(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - response = list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def list_content_keys(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! response.body unless response.nil? end @@ -488,8 +486,8 @@ def list_content_keys(resource_group_name, account_name, streaming_locator_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_content_keys_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def list_content_keys_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! end # @@ -506,7 +504,7 @@ def list_content_keys_with_http_info(resource_group_name, account_name, streamin # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) + def list_content_keys_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? @@ -515,7 +513,6 @@ def list_content_keys_async(resource_group_name, account_name, streaming_locator request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -574,8 +571,8 @@ def list_content_keys_async(resource_group_name, account_name, streaming_locator # # @return [ListPathsResponse] operation results. # - def list_paths(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - response = list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def list_paths(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! response.body unless response.nil? end @@ -593,8 +590,8 @@ def list_paths(resource_group_name, account_name, streaming_locator_name, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_paths_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) - list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value! + def list_paths_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! end # @@ -611,7 +608,7 @@ def list_paths_with_http_info(resource_group_name, account_name, streaming_locat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers:nil) + def list_paths_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? @@ -620,7 +617,6 @@ def list_paths_async(resource_group_name, account_name, streaming_locator_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +673,8 @@ def list_paths_async(resource_group_name, account_name, streaming_locator_name, # # @return [StreamingLocatorCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -694,8 +690,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -710,12 +706,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -779,12 +774,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [StreamingLocatorCollection] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb index 96acdb7eff..cb3d560b13 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -64,8 +64,8 @@ def list(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! end # @@ -87,7 +87,7 @@ def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, account_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, 'account_name is nil' if account_name.nil? @@ -95,7 +95,6 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -154,8 +153,8 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, orderby:n # # @return [StreamingPolicy] operation results. # - def get(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! response.body unless response.nil? end @@ -173,8 +172,8 @@ def get(resource_group_name, account_name, streaming_policy_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) - get_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! end # @@ -191,7 +190,7 @@ def get_with_http_info(resource_group_name, account_name, streaming_policy_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) + def get_async(resource_group_name, account_name, streaming_policy_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, 'account_name is nil' if account_name.nil? @@ -200,7 +199,6 @@ def get_async(resource_group_name, account_name, streaming_policy_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -260,8 +258,8 @@ def get_async(resource_group_name, account_name, streaming_policy_name, custom_h # # @return [StreamingPolicy] operation results. # - def create(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -280,8 +278,8 @@ def create(resource_group_name, account_name, streaming_policy_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_with_http_info(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:nil) - create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:custom_headers).value! + def create_with_http_info(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers).value! end # @@ -299,7 +297,7 @@ def create_with_http_info(resource_group_name, account_name, streaming_policy_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:nil) + def create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -309,12 +307,13 @@ def create_async(resource_group_name, account_name, streaming_policy_name, param request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -374,8 +373,8 @@ def create_async(resource_group_name, account_name, streaming_policy_name, param # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! nil end @@ -393,8 +392,8 @@ def delete(resource_group_name, account_name, streaming_policy_name, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) - delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! end # @@ -411,7 +410,7 @@ def delete_with_http_info(resource_group_name, account_name, streaming_policy_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, streaming_policy_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, 'account_name is nil' if account_name.nil? @@ -420,7 +419,6 @@ def delete_async(resource_group_name, account_name, streaming_policy_name, custo 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, account_name, streaming_policy_name, custo # # @return [StreamingPolicyCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -484,8 +482,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -500,12 +498,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -569,12 +566,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [StreamingPolicyCollection] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, account_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/transforms.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/transforms.rb index 12ff3a1be7..05c29fac90 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/transforms.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/transforms.rb @@ -41,8 +41,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers) + def list(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, skip, custom_headers) first_page.get_all_items end @@ -66,8 +66,8 @@ def list(resource_group_name, account_name, filter:nil, top:nil, skip:nil, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - list_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, skip, custom_headers).value! end # @@ -90,7 +90,7 @@ def list_with_http_info(resource_group_name, account_name, filter:nil, top:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter:nil, top:nil, skip:nil, custom_headers:nil) + def list_async(resource_group_name, account_name, filter = nil, top = nil, skip = 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, 'account_name is nil' if account_name.nil? @@ -98,7 +98,6 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, skip:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -157,8 +156,8 @@ def list_async(resource_group_name, account_name, filter:nil, top:nil, skip:nil, # # @return [Transform] operation results. # - def get(resource_group_name, account_name, transform_name, custom_headers:nil) - response = get_async(resource_group_name, account_name, transform_name, custom_headers:custom_headers).value! + def get(resource_group_name, account_name, transform_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, transform_name, custom_headers).value! response.body unless response.nil? end @@ -176,8 +175,8 @@ def get(resource_group_name, account_name, transform_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, account_name, transform_name, custom_headers:nil) - get_async(resource_group_name, account_name, transform_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, account_name, transform_name, custom_headers = nil) + get_async(resource_group_name, account_name, transform_name, custom_headers).value! end # @@ -194,7 +193,7 @@ def get_with_http_info(resource_group_name, account_name, transform_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, account_name, transform_name, custom_headers:nil) + def get_async(resource_group_name, account_name, transform_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, 'account_name is nil' if account_name.nil? @@ -203,7 +202,6 @@ def get_async(resource_group_name, account_name, transform_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 @@ -263,8 +261,8 @@ def get_async(resource_group_name, account_name, transform_name, custom_headers: # # @return [Transform] operation results. # - def create_or_update(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -283,8 +281,8 @@ def create_or_update(resource_group_name, account_name, transform_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! end # @@ -302,7 +300,7 @@ def create_or_update_with_http_info(resource_group_name, account_name, transform # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -312,12 +310,13 @@ def create_or_update_async(resource_group_name, account_name, transform_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -387,8 +386,8 @@ def create_or_update_async(resource_group_name, account_name, transform_name, pa # will be added to the HTTP request. # # - def delete(resource_group_name, account_name, transform_name, custom_headers:nil) - response = delete_async(resource_group_name, account_name, transform_name, custom_headers:custom_headers).value! + def delete(resource_group_name, account_name, transform_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, transform_name, custom_headers).value! nil end @@ -406,8 +405,8 @@ def delete(resource_group_name, account_name, transform_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, account_name, transform_name, custom_headers:nil) - delete_async(resource_group_name, account_name, transform_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, account_name, transform_name, custom_headers = nil) + delete_async(resource_group_name, account_name, transform_name, custom_headers).value! end # @@ -424,7 +423,7 @@ def delete_with_http_info(resource_group_name, account_name, transform_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, account_name, transform_name, custom_headers:nil) + def delete_async(resource_group_name, account_name, transform_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, 'account_name is nil' if account_name.nil? @@ -433,7 +432,6 @@ def delete_async(resource_group_name, account_name, transform_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -483,8 +481,8 @@ def delete_async(resource_group_name, account_name, transform_name, custom_heade # # @return [Transform] operation results. # - def update(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) - response = update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:custom_headers).value! + def update(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -503,8 +501,8 @@ def update(resource_group_name, account_name, transform_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) - update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! end # @@ -522,7 +520,7 @@ def update_with_http_info(resource_group_name, account_name, transform_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, account_name, transform_name, parameters, custom_headers:nil) + def update_async(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -532,12 +530,13 @@ def update_async(resource_group_name, account_name, transform_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +595,8 @@ def update_async(resource_group_name, account_name, transform_name, parameters, # # @return [TransformCollection] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -613,8 +612,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -629,12 +628,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -699,12 +697,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [TransformCollection] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, account_name, filter:nil, top:nil, skip:nil, custom_headers:nil) - response = list_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, filter, top, skip, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/version.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/version.rb new file mode 100644 index 0000000000..9bc131d30c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/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::MediaServices::Mgmt::V2018_03_30_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services.rb new file mode 100644 index 0000000000..d075b3c6a8 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services.rb @@ -0,0 +1,212 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +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-06-01-preview/generated/azure_mgmt_media_services/module_definition' +require 'ms_rest_azure' + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + autoload :Operations, '2018-06-01-preview/generated/azure_mgmt_media_services/operations.rb' + autoload :Mediaservices, '2018-06-01-preview/generated/azure_mgmt_media_services/mediaservices.rb' + autoload :Locations, '2018-06-01-preview/generated/azure_mgmt_media_services/locations.rb' + autoload :Assets, '2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb' + autoload :ContentKeyPolicies, '2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb' + autoload :Transforms, '2018-06-01-preview/generated/azure_mgmt_media_services/transforms.rb' + autoload :Jobs, '2018-06-01-preview/generated/azure_mgmt_media_services/jobs.rb' + autoload :StreamingPolicies, '2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb' + autoload :StreamingLocators, '2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb' + autoload :LiveEvents, '2018-06-01-preview/generated/azure_mgmt_media_services/live_events.rb' + autoload :LiveOutputs, '2018-06-01-preview/generated/azure_mgmt_media_services/live_outputs.rb' + autoload :StreamingEndpoints, '2018-06-01-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb' + autoload :AzureMediaServices, '2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb' + + module Models + autoload :CencDrmConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb' + autoload :Provider, '2018-06-01-preview/generated/azure_mgmt_media_services/models/provider.rb' + autoload :Overlay, '2018-06-01-preview/generated/azure_mgmt_media_services/models/overlay.rb' + autoload :Operation, '2018-06-01-preview/generated/azure_mgmt_media_services/models/operation.rb' + autoload :EnvelopeEncryption, '2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb' + autoload :EntityNameAvailabilityCheckOutput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb' + autoload :NoEncryption, '2018-06-01-preview/generated/azure_mgmt_media_services/models/no_encryption.rb' + autoload :SyncStorageKeysInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb' + autoload :EnabledProtocols, '2018-06-01-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb' + autoload :ContentKeyPolicyCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb' + autoload :ODataError, '2018-06-01-preview/generated/azure_mgmt_media_services/models/odata_error.rb' + autoload :Preset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb' + autoload :OperationCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_collection.rb' + autoload :Codec, '2018-06-01-preview/generated/azure_mgmt_media_services/models/codec.rb' + autoload :CheckNameAvailabilityInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb' + autoload :LiveOutputListResult, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb' + autoload :CbcsDrmConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb' + autoload :LiveEventEndpoint, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb' + autoload :Resource, '2018-06-01-preview/generated/azure_mgmt_media_services/models/resource.rb' + autoload :IPRange, '2018-06-01-preview/generated/azure_mgmt_media_services/models/iprange.rb' + autoload :AssetStorageEncryptionKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb' + autoload :OperationDisplay, '2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_display.rb' + autoload :AssetCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_collection.rb' + autoload :Location, '2018-06-01-preview/generated/azure_mgmt_media_services/models/location.rb' + autoload :ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb' + autoload :StorageAccount, '2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account.rb' + autoload :StreamingPolicyWidevineConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb' + autoload :JobInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb' + autoload :ContentKeyPolicyPlayReadyPlayRight, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb' + autoload :LiveEventInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb' + autoload :ContentKeyPolicyPlayReadyLicense, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb' + autoload :ListPathsResponse, '2018-06-01-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb' + autoload :StreamingPolicyContentKeys, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb' + autoload :Format, '2018-06-01-preview/generated/azure_mgmt_media_services/models/format.rb' + autoload :ContentKeyPolicyConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb' + autoload :ListContentKeysResponse, '2018-06-01-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb' + autoload :DefaultKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/default_key.rb' + autoload :StreamingPath, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_path.rb' + autoload :TrackPropertyCondition, '2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb' + autoload :StreamingLocatorContentKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb' + autoload :TransformCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_collection.rb' + autoload :StreamingPolicyCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb' + autoload :Hls, '2018-06-01-preview/generated/azure_mgmt_media_services/models/hls.rb' + autoload :Deinterlace, '2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace.rb' + autoload :JobError, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error.rb' + autoload :Rectangle, '2018-06-01-preview/generated/azure_mgmt_media_services/models/rectangle.rb' + autoload :ContentKeyPolicyProperties, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb' + autoload :Filters, '2018-06-01-preview/generated/azure_mgmt_media_services/models/filters.rb' + autoload :ApiError, '2018-06-01-preview/generated/azure_mgmt_media_services/models/api_error.rb' + autoload :Layer, '2018-06-01-preview/generated/azure_mgmt_media_services/models/layer.rb' + autoload :SubscriptionMediaServiceCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb' + autoload :CommonEncryptionCbcs, '2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb' + autoload :StreamingPolicyFairPlayConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb' + autoload :CommonEncryptionCenc, '2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb' + autoload :ContentKeyPolicyPlayReadyContentKeyLocation, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb' + autoload :ContentKeyPolicyTokenClaim, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb' + autoload :StreamingEndpointListResult, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb' + autoload :StreamingPolicyContentKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb' + autoload :StreamingEntityScaleUnit, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb' + autoload :TrackSelection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb' + autoload :OutputFile, '2018-06-01-preview/generated/azure_mgmt_media_services/models/output_file.rb' + autoload :StreamingLocatorCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb' + autoload :StreamingEndpointAccessControl, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb' + autoload :ContentKeyPolicyOption, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb' + autoload :AkamaiAccessControl, '2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb' + autoload :MediaServiceCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb' + autoload :AkamaiSignatureHeaderAuthenticationKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb' + autoload :ListContainerSasInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb' + autoload :LiveEventListResult, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb' + autoload :ContentKeyPolicyRestriction, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb' + autoload :LiveEventActionInput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb' + autoload :JobCollection, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_collection.rb' + autoload :CrossSiteAccessPolicies, '2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb' + autoload :JobErrorDetail, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb' + autoload :LiveEventEncoding, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb' + autoload :StreamingPolicyPlayReadyConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb' + autoload :LiveEventPreview, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb' + autoload :JobOutput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output.rb' + autoload :LiveEventPreviewAccessControl, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb' + autoload :ContentKeyPolicyRestrictionTokenKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb' + autoload :TransformOutput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb' + autoload :AssetContainerSas, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb' + autoload :IPAccessControl, '2018-06-01-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb' + autoload :TrackedResource, '2018-06-01-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb' + autoload :MediaService, '2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service.rb' + autoload :SubscriptionMediaService, '2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb' + autoload :ProxyResource, '2018-06-01-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb' + autoload :Asset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset.rb' + autoload :ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb' + autoload :ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb' + autoload :ContentKeyPolicyOpenRestriction, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb' + autoload :ContentKeyPolicyUnknownRestriction, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb' + autoload :ContentKeyPolicySymmetricTokenKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb' + autoload :ContentKeyPolicyRsaTokenKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb' + autoload :ContentKeyPolicyX509CertificateTokenKey, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb' + autoload :ContentKeyPolicyTokenRestriction, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb' + autoload :ContentKeyPolicyClearKeyConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb' + autoload :ContentKeyPolicyUnknownConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb' + autoload :ContentKeyPolicyWidevineConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb' + autoload :ContentKeyPolicyPlayReadyConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb' + autoload :ContentKeyPolicyFairPlayConfiguration, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb' + autoload :ContentKeyPolicy, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb' + autoload :Audio, '2018-06-01-preview/generated/azure_mgmt_media_services/models/audio.rb' + autoload :AacAudio, '2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio.rb' + autoload :AudioAnalyzerPreset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb' + autoload :AudioOverlay, '2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb' + autoload :CopyVideo, '2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_video.rb' + autoload :Video, '2018-06-01-preview/generated/azure_mgmt_media_services/models/video.rb' + autoload :Image, '2018-06-01-preview/generated/azure_mgmt_media_services/models/image.rb' + autoload :ImageFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/image_format.rb' + autoload :JpgFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_format.rb' + autoload :PngFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/png_format.rb' + autoload :CopyAudio, '2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_audio.rb' + autoload :VideoLayer, '2018-06-01-preview/generated/azure_mgmt_media_services/models/video_layer.rb' + autoload :H264Layer, '2018-06-01-preview/generated/azure_mgmt_media_services/models/h264layer.rb' + autoload :H264Video, '2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video.rb' + autoload :JpgLayer, '2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb' + autoload :JpgImage, '2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_image.rb' + autoload :MultiBitrateFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb' + autoload :Mp4Format, '2018-06-01-preview/generated/azure_mgmt_media_services/models/mp4format.rb' + autoload :PngLayer, '2018-06-01-preview/generated/azure_mgmt_media_services/models/png_layer.rb' + autoload :PngImage, '2018-06-01-preview/generated/azure_mgmt_media_services/models/png_image.rb' + autoload :BuiltInStandardEncoderPreset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb' + autoload :StandardEncoderPreset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb' + autoload :VideoAnalyzerPreset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb' + autoload :TransportStreamFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb' + autoload :VideoOverlay, '2018-06-01-preview/generated/azure_mgmt_media_services/models/video_overlay.rb' + autoload :Transform, '2018-06-01-preview/generated/azure_mgmt_media_services/models/transform.rb' + autoload :JobInputClip, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb' + autoload :JobInputs, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb' + autoload :JobInputAsset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb' + autoload :JobInputHttp, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_http.rb' + autoload :JobOutputAsset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb' + autoload :Job, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job.rb' + autoload :StreamingPolicy, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb' + autoload :StreamingLocator, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb' + autoload :LiveOutput, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb' + autoload :LiveEvent, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event.rb' + autoload :StreamingEndpoint, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb' + autoload :StorageAccountType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account_type.rb' + autoload :AssetStorageEncryptionFormat, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_format.rb' + autoload :AssetContainerPermission, '2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_permission.rb' + autoload :ContentKeyPolicyPlayReadyUnknownOutputPassingOption, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_unknown_output_passing_option.rb' + autoload :ContentKeyPolicyPlayReadyLicenseType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license_type.rb' + autoload :ContentKeyPolicyPlayReadyContentType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_type.rb' + autoload :ContentKeyPolicyRestrictionTokenType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_type.rb' + autoload :ContentKeyPolicyFairPlayRentalAndLeaseKeyType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb' + autoload :AacAudioProfile, '2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio_profile.rb' + autoload :StretchMode, '2018-06-01-preview/generated/azure_mgmt_media_services/models/stretch_mode.rb' + autoload :DeinterlaceParity, '2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_parity.rb' + autoload :DeinterlaceMode, '2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_mode.rb' + autoload :Rotation, '2018-06-01-preview/generated/azure_mgmt_media_services/models/rotation.rb' + autoload :H264VideoProfile, '2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video_profile.rb' + autoload :EntropyMode, '2018-06-01-preview/generated/azure_mgmt_media_services/models/entropy_mode.rb' + autoload :H264Complexity, '2018-06-01-preview/generated/azure_mgmt_media_services/models/h264complexity.rb' + autoload :EncoderNamedPreset, '2018-06-01-preview/generated/azure_mgmt_media_services/models/encoder_named_preset.rb' + autoload :OnErrorType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/on_error_type.rb' + autoload :Priority, '2018-06-01-preview/generated/azure_mgmt_media_services/models/priority.rb' + autoload :JobErrorCode, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_code.rb' + autoload :JobErrorCategory, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_category.rb' + autoload :JobRetry, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_retry.rb' + autoload :JobState, '2018-06-01-preview/generated/azure_mgmt_media_services/models/job_state.rb' + autoload :TrackPropertyType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_type.rb' + autoload :TrackPropertyCompareOperation, '2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_compare_operation.rb' + autoload :StreamingLocatorContentKeyType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key_type.rb' + autoload :StreamingPolicyStreamingProtocol, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_streaming_protocol.rb' + autoload :EncryptionScheme, '2018-06-01-preview/generated/azure_mgmt_media_services/models/encryption_scheme.rb' + autoload :LiveOutputResourceState, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_resource_state.rb' + autoload :LiveEventInputProtocol, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input_protocol.rb' + autoload :LiveEventEncodingType, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb' + autoload :LiveEventResourceState, '2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_resource_state.rb' + autoload :StreamOptionsFlag, '2018-06-01-preview/generated/azure_mgmt_media_services/models/stream_options_flag.rb' + autoload :StreamingEndpointResourceState, '2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_resource_state.rb' + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb new file mode 100644 index 0000000000..e959e11ea1 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb @@ -0,0 +1,944 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Assets + # + class Assets + include MsRestAzure + + # + # Creates and initializes a new instance of the Assets class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! + end + + # + # List Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param [Hash{String => String}] 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, account_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, 'account_name is nil' if account_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.Media/mediaServices/{accountName}/assets' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$orderby' => orderby}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get an Asset + # + # Get the details of an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Asset] operation results. + # + def get(resource_group_name, account_name, asset_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, asset_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get an Asset + # + # Get the details of an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + get_async(resource_group_name, account_name, asset_name, custom_headers).value! + end + + # + # Get an Asset + # + # Get the details of an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_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.Media/mediaServices/{accountName}/assets/{assetName}' + + 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,'accountName' => account_name,'assetName' => asset_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update an Asset + # + # Creates or updates an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Asset] operation results. + # + def create_or_update(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update an Asset + # + # Creates or updates an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request 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 create_or_update_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + end + + # + # Create or update an Asset + # + # Creates or updates an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request 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 create_or_update_async(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}' + + 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,'accountName' => account_name,'assetName' => asset_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + result.body = @client.deserialize(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::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete an Asset. + # + # Deletes an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, asset_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, asset_name, custom_headers).value! + nil + end + + # + # Delete an Asset. + # + # Deletes an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + delete_async(resource_group_name, account_name, asset_name, custom_headers).value! + end + + # + # Delete an Asset. + # + # Deletes an Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_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.Media/mediaServices/{accountName}/assets/{assetName}' + + 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,'accountName' => account_name,'assetName' => asset_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Update an Asset + # + # Updates an existing Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Asset] operation results. + # + def update(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update an Asset + # + # Updates an existing Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request 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, account_name, asset_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + end + + # + # Update an Asset + # + # Updates an existing Asset in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [Asset] The request 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, account_name, asset_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}' + + 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,'accountName' => account_name,'assetName' => asset_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Asset.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 the Asset URLs + # + # Lists storage container URLs with shared access signatures (SAS) for + # uploading and downloading Asset content. The signatures are derived from the + # storage account keys. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [ListContainerSasInput] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AssetContainerSas] operation results. + # + def list_container_sas(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + response = list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # List the Asset URLs + # + # Lists storage container URLs with shared access signatures (SAS) for + # uploading and downloading Asset content. The signatures are derived from the + # storage account keys. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [ListContainerSasInput] The request 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 list_container_sas_with_http_info(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers).value! + end + + # + # List the Asset URLs + # + # Lists storage container URLs with shared access signatures (SAS) for + # uploading and downloading Asset content. The signatures are derived from the + # storage account keys. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param parameters [ListContainerSasInput] The request 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 list_container_sas_async(resource_group_name, account_name, asset_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ListContainerSasInput.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listContainerSas' + + 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,'accountName' => account_name,'assetName' => asset_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetContainerSas.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Gets the Asset storage key + # + # Gets the Asset storage encryption keys used to decrypt content created by + # version 2 of the Media Services API + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AssetStorageEncryptionKey] operation results. + # + def get_encryption_key(resource_group_name, account_name, asset_name, custom_headers = nil) + response = get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets the Asset storage key + # + # Gets the Asset storage encryption keys used to decrypt content created by + # version 2 of the Media Services API + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_encryption_key_with_http_info(resource_group_name, account_name, asset_name, custom_headers = nil) + get_encryption_key_async(resource_group_name, account_name, asset_name, custom_headers).value! + end + + # + # Gets the Asset storage key + # + # Gets the Asset storage encryption keys used to decrypt content created by + # version 2 of the Media Services API + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param asset_name [String] The Asset name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_encryption_key_async(resource_group_name, account_name, asset_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'asset_name is nil' if asset_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.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey' + + 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,'accountName' => account_name,'assetName' => asset_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetStorageEncryptionKey.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @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 [AssetCollection] 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 Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @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 Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AssetCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Assets + # + # List Assets in the Media Services account with optional filtering and + # ordering + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AssetCollection] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb new file mode 100644 index 0000000000..20db000453 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb @@ -0,0 +1,175 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # A service client - single point of access to the REST API. + # + class AzureMediaServices < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_accessor :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials + + # @return [String] The unique identifier for a Microsoft Azure + # subscription. + attr_accessor :subscription_id + + # @return [String] The Version of the API to be used with the client + # request. + attr_reader :api_version + + # @return [String] Gets or sets the preferred language for the response. + attr_accessor :accept_language + + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. + attr_accessor :long_running_operation_retry_timeout + + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. + attr_accessor :generate_client_request_id + + # @return [Operations] operations + attr_reader :operations + + # @return [Mediaservices] mediaservices + attr_reader :mediaservices + + # @return [Locations] locations + attr_reader :locations + + # @return [Assets] assets + attr_reader :assets + + # @return [ContentKeyPolicies] content_key_policies + attr_reader :content_key_policies + + # @return [Transforms] transforms + attr_reader :transforms + + # @return [Jobs] jobs + attr_reader :jobs + + # @return [StreamingPolicies] streaming_policies + attr_reader :streaming_policies + + # @return [StreamingLocators] streaming_locators + attr_reader :streaming_locators + + # @return [LiveEvents] live_events + attr_reader :live_events + + # @return [LiveOutputs] live_outputs + attr_reader :live_outputs + + # @return [StreamingEndpoints] streaming_endpoints + attr_reader :streaming_endpoints + + # + # Creates initializes a new instance of the AzureMediaServices class. + # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. + # @param base_url [String] the base URI of the service. + # @param options [Array] filters to be applied to the HTTP requests. + # + def initialize(credentials = nil, base_url = nil, options = nil) + super(credentials, options) + @base_url = base_url || 'https://management.azure.com' + + fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? + @credentials = credentials + + @operations = Operations.new(self) + @mediaservices = Mediaservices.new(self) + @locations = Locations.new(self) + @assets = Assets.new(self) + @content_key_policies = ContentKeyPolicies.new(self) + @transforms = Transforms.new(self) + @jobs = Jobs.new(self) + @streaming_policies = StreamingPolicies.new(self) + @streaming_locators = StreamingLocators.new(self) + @live_events = LiveEvents.new(self) + @live_outputs = LiveOutputs.new(self) + @streaming_endpoints = StreamingEndpoints.new(self) + @api_version = '2018-06-01-preview' + @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_media_services' + if defined? Azure::MediaServices::Mgmt::V2018_06_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::MediaServices::Mgmt::V2018_06_01_preview::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb new file mode 100644 index 0000000000..bf223d5f8c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb @@ -0,0 +1,812 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # ContentKeyPolicies + # + class ContentKeyPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the ContentKeyPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! + end + + # + # List Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param [Hash{String => String}] 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, account_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, 'account_name is nil' if account_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.Media/mediaServices/{accountName}/contentKeyPolicies' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$orderby' => orderby}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Content Key Policy + # + # Get the details of a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContentKeyPolicy] operation results. + # + def get(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Content Key Policy + # + # Get the details of a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + get_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + end + + # + # Get a Content Key Policy + # + # Get the details of a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'content_key_policy_name is nil' if content_key_policy_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.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}' + + 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,'accountName' => account_name,'contentKeyPolicyName' => content_key_policy_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update an Content Key Policy + # + # Create or update a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContentKeyPolicy] operation results. + # + def create_or_update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update an Content Key Policy + # + # Create or update a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request 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 create_or_update_with_http_info(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! + end + + # + # Create or update an Content Key Policy + # + # Create or update a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request 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 create_or_update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'content_key_policy_name is nil' if content_key_policy_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}' + + 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,'accountName' => account_name,'contentKeyPolicyName' => content_key_policy_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + result.body = @client.deserialize(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::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete a Content Key Policy + # + # Deletes a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + nil + end + + # + # Delete a Content Key Policy + # + # Deletes a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + delete_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + end + + # + # Delete a Content Key Policy + # + # Deletes a Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'content_key_policy_name is nil' if content_key_policy_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.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}' + + 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,'accountName' => account_name,'contentKeyPolicyName' => content_key_policy_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Update a Content Key Policy + # + # Updates an existing Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContentKeyPolicy] operation results. + # + def update(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update a Content Key Policy + # + # Updates an existing Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request 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, account_name, content_key_policy_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, content_key_policy_name, parameters, custom_headers).value! + end + + # + # Update a Content Key Policy + # + # Updates an existing Content Key Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param parameters [ContentKeyPolicy] The request 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, account_name, content_key_policy_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'content_key_policy_name is nil' if content_key_policy_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}' + + 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,'accountName' => account_name,'contentKeyPolicyName' => content_key_policy_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Content Key Policy with secrets + # + # Get a Content Key Policy including secret values + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContentKeyPolicyProperties] operation results. + # + def get_policy_properties_with_secrets(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + response = get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Content Key Policy with secrets + # + # Get a Content Key Policy including secret values + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_policy_properties_with_secrets_with_http_info(resource_group_name, account_name, content_key_policy_name, custom_headers = nil) + get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_name, custom_headers).value! + end + + # + # Get a Content Key Policy with secrets + # + # Get a Content Key Policy including secret values + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param content_key_policy_name [String] The Content Key Policy name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_policy_properties_with_secrets_async(resource_group_name, account_name, content_key_policy_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'content_key_policy_name is nil' if content_key_policy_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.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets' + + 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,'accountName' => account_name,'contentKeyPolicyName' => content_key_policy_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 == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyProperties.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @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 [ContentKeyPolicyCollection] 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 Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @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 Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ContentKeyPolicyCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Content Key Policies + # + # Lists the Content Key Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContentKeyPolicyCollection] which provide lazy access to pages of + # the response. + # + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/jobs.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/jobs.rb new file mode 100644 index 0000000000..577e5deb49 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/jobs.rb @@ -0,0 +1,698 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Jobs + # + class Jobs + include MsRestAzure + + # + # Creates and initializes a new instance of the Jobs class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Jobs + # + # Lists all of the Jobs for the Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @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, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers) + first_page.get_all_items + end + + # + # List Jobs + # + # Lists all of the Jobs for the Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param custom_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, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).value! + end + + # + # List Jobs + # + # Lists all of the Jobs for the Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param [Hash{String => String}] 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, account_name, transform_name, filter = nil, top = nil, skip = 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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_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.Media/mediaServices/{accountName}/transforms/{transformName}/jobs' + + 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,'accountName' => account_name,'transformName' => transform_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Job + # + # Gets a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Job] operation results. + # + def get(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get Job + # + # Gets a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + get_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + end + + # + # Get Job + # + # Gets a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'job_name is nil' if job_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.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}' + + 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,'accountName' => account_name,'transformName' => transform_name,'jobName' => job_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create Job + # + # Creates a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param parameters [Job] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Job] operation results. + # + def create(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create Job + # + # Creates a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param parameters [Job] The request 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 create_with_http_info(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers).value! + end + + # + # Create Job + # + # Creates a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param parameters [Job] The request 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 create_async(resource_group_name, account_name, transform_name, job_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'job_name is nil' if job_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}' + + 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,'accountName' => account_name,'transformName' => transform_name,'jobName' => job_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 201 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Job.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete Job + # + # Deletes a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + nil + end + + # + # Delete Job + # + # Deletes a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + delete_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + end + + # + # Delete Job + # + # Deletes a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'job_name is nil' if job_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.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}' + + 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,'accountName' => account_name,'transformName' => transform_name,'jobName' => job_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Cancel Job + # + # Cancel a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def cancel_job(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + response = cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + nil + end + + # + # Cancel Job + # + # Cancel a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def cancel_job_with_http_info(resource_group_name, account_name, transform_name, job_name, custom_headers = nil) + cancel_job_async(resource_group_name, account_name, transform_name, job_name, custom_headers).value! + end + + # + # Cancel Job + # + # Cancel a Job. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param job_name [String] The Job name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def cancel_job_async(resource_group_name, account_name, transform_name, job_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'job_name is nil' if job_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.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob' + + 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,'accountName' => account_name,'transformName' => transform_name,'jobName' => job_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Jobs + # + # Lists all of the Jobs for the Transform. + # + # @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 [JobCollection] 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 Jobs + # + # Lists all of the Jobs for the Transform. + # + # @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 Jobs + # + # Lists all of the Jobs for the Transform. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::JobCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Jobs + # + # Lists all of the Jobs for the Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [JobCollection] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_events.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_events.rb new file mode 100644 index 0000000000..6dcf8f7212 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_events.rb @@ -0,0 +1,1261 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # LiveEvents + # + class LiveEvents + include MsRestAzure + + # + # Creates and initializes a new instance of the LiveEvents class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Live Events + # + # Lists the Live Events in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(resource_group_name, account_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, custom_headers) + first_page.get_all_items + end + + # + # List Live Events + # + # Lists the Live Events in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_async(resource_group_name, account_name, custom_headers).value! + end + + # + # List Live Events + # + # Lists the Live Events in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(resource_group_name, account_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_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.Media/mediaservices/{accountName}/liveEvents' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Event + # + # Gets a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEvent] operation results. + # + def get(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, live_event_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get Live Event + # + # Gets a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_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, account_name, live_event_name, custom_headers = nil) + get_async(resource_group_name, account_name, live_event_name, custom_headers).value! + end + + # + # Get Live Event + # + # Gets a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param [Hash{String => String}] 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, account_name, live_event_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Event + # + # Creates a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEvent] operation results. + # + def create(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + response = create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_async(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + # Send request + promise = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.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 + + # + # Updates a existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEvent] operation results. + # + def update(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.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 Live Event + # + # Deletes a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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, account_name, live_event_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, account_name, live_event_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 Live Event + # + # Starts an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def start(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = start_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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, account_name, live_event_name, custom_headers = nil) + # Send request + promise = begin_start_async(resource_group_name, account_name, live_event_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 Live Event + # + # Stops an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEventActionInput] LiveEvent stop parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def stop(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEventActionInput] LiveEvent stop 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 stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + # Send request + promise = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Reset Live Event + # + # Resets an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def reset(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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 reset_async(resource_group_name, account_name, live_event_name, custom_headers = nil) + # Send request + promise = begin_reset_async(resource_group_name, account_name, live_event_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 Live Event + # + # Creates a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEvent] operation results. + # + def begin_create(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! + response.body unless response.nil? + end + + # + # Create Live Event + # + # Creates a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_with_http_info(resource_group_name, account_name, live_event_name, parameters, auto_start = nil, custom_headers = nil) + begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start, custom_headers).value! + end + + # + # Create Live Event + # + # Creates a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_async(resource_group_name, account_name, live_event_name, parameters, auto_start = 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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_name}, + query_params: {'api-version' => @client.api_version,'autoStart' => auto_start}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + result.body = @client.deserialize(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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Updates a existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEvent] operation results. + # + def begin_update(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates a existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_update_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + end + + # + # Updates a existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEvent] Live Event properties needed for creation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_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 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + result.body = @client.deserialize(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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEvent.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Event + # + # Deletes a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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, account_name, live_event_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # Delete Live Event + # + # Deletes a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_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, account_name, live_event_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, live_event_name, custom_headers).value! + end + + # + # Delete Live Event + # + # Deletes a Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param [Hash{String => String}] 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, account_name, live_event_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Start Live Event + # + # Starts an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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, account_name, live_event_name, custom_headers = nil) + response = begin_start_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # Start Live Event + # + # Starts an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_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, account_name, live_event_name, custom_headers = nil) + begin_start_async(resource_group_name, account_name, live_event_name, custom_headers).value! + end + + # + # Start Live Event + # + # Starts an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param [Hash{String => String}] 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, account_name, live_event_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/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,'accountName' => account_name,'liveEventName' => live_event_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Stop Live Event + # + # Stops an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEventActionInput] LiveEvent stop parameters + # @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, account_name, live_event_name, parameters, custom_headers = nil) + response = begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + nil + end + + # + # Stop Live Event + # + # Stops an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEventActionInput] LiveEvent stop 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_stop_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + begin_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers).value! + end + + # + # Stop Live Event + # + # Stops an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param parameters [LiveEventActionInput] LiveEvent stop 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_stop_async(resource_group_name, account_name, live_event_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventActionInput.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/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,'accountName' => account_name,'liveEventName' => live_event_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Reset Live Event + # + # Resets an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_reset(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! + nil + end + + # + # Reset Live Event + # + # Resets an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_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_reset_with_http_info(resource_group_name, account_name, live_event_name, custom_headers = nil) + begin_reset_async(resource_group_name, account_name, live_event_name, custom_headers).value! + end + + # + # Reset Live Event + # + # Resets an existing Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param [Hash{String => String}] 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_reset_async(resource_group_name, account_name, live_event_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/reset' + + 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,'accountName' => account_name,'liveEventName' => live_event_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Live Events + # + # Lists the Live Events in the account. + # + # @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 [LiveEventListResult] 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 Live Events + # + # Lists the Live Events in the account. + # + # @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 Live Events + # + # Lists the Live Events in the account. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveEventListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Events + # + # Lists the Live Events in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveEventListResult] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, account_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_outputs.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_outputs.rb new file mode 100644 index 0000000000..5db1fd0bc3 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/live_outputs.rb @@ -0,0 +1,682 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # LiveOutputs + # + class LiveOutputs + include MsRestAzure + + # + # Creates and initializes a new instance of the LiveOutputs class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @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, account_name, live_event_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers) + first_page.get_all_items + end + + # + # List Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_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, account_name, live_event_name, custom_headers = nil) + list_async(resource_group_name, account_name, live_event_name, custom_headers).value! + end + + # + # List Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param [Hash{String => String}] 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, account_name, live_event_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs' + + 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,'accountName' => account_name,'liveEventName' => live_event_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Output + # + # Gets a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveOutput] operation results. + # + def get(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get Live Output + # + # Gets a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param custom_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, account_name, live_event_name, live_output_name, custom_headers = nil) + get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! + end + + # + # Get Live Output + # + # Gets a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param [Hash{String => String}] 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, account_name, live_event_name, live_output_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, 'live_output_name is nil' if live_output_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_name,'liveOutputName' => live_output_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Output + # + # Creates a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param parameters [LiveOutput] Live Output properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveOutput] operation results. + # + def create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param parameters [LiveOutput] Live Output properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + # Send request + promise = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput.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 Live Output + # + # Deletes a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, account_name, live_event_name, live_output_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @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, account_name, live_event_name, live_output_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_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 Live Output + # + # Creates a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param parameters [LiveOutput] Live Output properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveOutput] operation results. + # + def begin_create(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create Live Output + # + # Creates a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param parameters [LiveOutput] Live Output properties needed for creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers).value! + end + + # + # Create Live Output + # + # Creates a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param parameters [LiveOutput] Live Output properties needed for creation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_async(resource_group_name, account_name, live_event_name, live_output_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, 'live_output_name is nil' if live_output_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_name,'liveOutputName' => live_output_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput.mapper() + result.body = @client.deserialize(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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutput.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Output + # + # Deletes a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @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, account_name, live_event_name, live_output_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! + nil + end + + # + # Delete Live Output + # + # Deletes a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param custom_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, account_name, live_event_name, live_output_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers).value! + end + + # + # Delete Live Output + # + # Deletes a Live Output. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param live_output_name [String] The name of the Live Output. + # @param [Hash{String => String}] 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, account_name, live_event_name, live_output_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'live_event_name is nil' if live_event_name.nil? + fail ArgumentError, 'live_output_name is nil' if live_output_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.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}' + + 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,'accountName' => account_name,'liveEventName' => live_event_name,'liveOutputName' => live_output_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @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 [LiveOutputListResult] 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 Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @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 Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::LiveOutputListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Live Outputs + # + # Lists the Live Outputs in the Live Event. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param live_event_name [String] The name of the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LiveOutputListResult] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, account_name, live_event_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, live_event_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/locations.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/locations.rb new file mode 100644 index 0000000000..4f3c71e151 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/locations.rb @@ -0,0 +1,131 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Locations + # + class Locations + include MsRestAzure + + # + # Creates and initializes a new instance of the Locations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # Check Name Availability + # + # Checks whether the Media Service resource name is available. + # + # @param location_name [String] + # @param parameters [CheckNameAvailabilityInput] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EntityNameAvailabilityCheckOutput] operation results. + # + def check_name_availability(location_name, parameters, custom_headers = nil) + response = check_name_availability_async(location_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Check Name Availability + # + # Checks whether the Media Service resource name is available. + # + # @param location_name [String] + # @param parameters [CheckNameAvailabilityInput] The request 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 check_name_availability_with_http_info(location_name, parameters, custom_headers = nil) + check_name_availability_async(location_name, parameters, custom_headers).value! + end + + # + # Check Name Availability + # + # Checks whether the Media Service resource name is available. + # + # @param location_name [String] + # @param parameters [CheckNameAvailabilityInput] The request 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 check_name_availability_async(location_name, parameters, 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, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::CheckNameAvailabilityInput.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability' + + 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}, + 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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::EntityNameAvailabilityCheckOutput.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/mediaservices.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/mediaservices.rb new file mode 100644 index 0000000000..51f70da3b4 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/mediaservices.rb @@ -0,0 +1,1065 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Mediaservices + # + class Mediaservices + include MsRestAzure + + # + # Creates and initializes a new instance of the Mediaservices class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Media Services accounts + # + # List Media Services accounts in the resource group + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # List Media Services accounts + # + # List Media Services accounts in the resource group + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! + end + + # + # List Media Services accounts + # + # List Media Services accounts in the resource group + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(resource_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaServiceCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MediaService] operation results. + # + def get(resource_group_name, account_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, custom_headers = nil) + get_async(resource_group_name, account_name, custom_headers).value! + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_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.Media/mediaservices/{accountName}' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update a Media Services account + # + # Creates or updates a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MediaService] operation results. + # + def create_or_update(resource_group_name, account_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update a Media Services account + # + # Creates or updates a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request 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 create_or_update_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, parameters, custom_headers).value! + end + + # + # Create or update a Media Services account + # + # Creates or updates a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request 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 create_or_update_async(resource_group_name, account_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}' + + 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,'accountName' => account_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + result.body = @client.deserialize(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::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete a Media Services account. + # + # Deletes a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, custom_headers).value! + nil + end + + # + # Delete a Media Services account. + # + # Deletes a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, custom_headers = nil) + delete_async(resource_group_name, account_name, custom_headers).value! + end + + # + # Delete a Media Services account. + # + # Deletes a Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_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.Media/mediaservices/{accountName}' + + 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,'accountName' => account_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 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Update a Media Services account + # + # Updates an existing Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MediaService] operation results. + # + def update(resource_group_name, account_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update a Media Services account + # + # Updates an existing Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request 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, account_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, parameters, custom_headers).value! + end + + # + # Update a Media Services account + # + # Updates an existing Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [MediaService] The request 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, account_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}' + + 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,'accountName' => account_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaService.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Synchronizes Storage Account Keys + # + # Synchronizes storage account keys for a storage account associated with the + # Media Service account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [SyncStorageKeysInput] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def sync_storage_keys(resource_group_name, account_name, parameters, custom_headers = nil) + response = sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers).value! + nil + end + + # + # Synchronizes Storage Account Keys + # + # Synchronizes storage account keys for a storage account associated with the + # Media Service account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [SyncStorageKeysInput] The request 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 sync_storage_keys_with_http_info(resource_group_name, account_name, parameters, custom_headers = nil) + sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers).value! + end + + # + # Synchronizes Storage Account Keys + # + # Synchronizes storage account keys for a storage account associated with the + # Media Service account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param parameters [SyncStorageKeysInput] The request 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 sync_storage_keys_async(resource_group_name, account_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SyncStorageKeysInput.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/syncStorageKeys' + + 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,'accountName' => account_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_subscription(custom_headers = nil) + first_page = list_by_subscription_as_lazy(custom_headers) + first_page.get_all_items + end + + # + # List Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_by_subscription_with_http_info(custom_headers = nil) + list_by_subscription_async(custom_headers).value! + end + + # + # List Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_by_subscription_async(custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaServiceCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [SubscriptionMediaService] operation results. + # + def get_by_subscription(account_name, custom_headers = nil) + response = get_by_subscription_async(account_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_by_subscription_with_http_info(account_name, custom_headers = nil) + get_by_subscription_async(account_name, custom_headers).value! + end + + # + # Get a Media Services account + # + # Get the details of a Media Services account + # + # @param account_name [String] The Media Services account name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_by_subscription_async(account_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'account_name is nil' if account_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.Media/mediaservices/{accountName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaService.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Media Services accounts + # + # List Media Services accounts in the 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 [MediaServiceCollection] 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 Media Services accounts + # + # List Media Services accounts in the 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_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! + end + + # + # List Media Services accounts + # + # List Media Services accounts in the 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_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::MediaServiceCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [SubscriptionMediaServiceCollection] 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 Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_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 Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::SubscriptionMediaServiceCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Media Services accounts + # + # List Media Services accounts in the resource group + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MediaServiceCollection] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).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 + + # + # List Media Services accounts + # + # List Media Services accounts in the subscription. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [SubscriptionMediaServiceCollection] which provide lazy access to + # pages of the response. + # + def list_by_subscription_as_lazy(custom_headers = nil) + response = list_by_subscription_async(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 + + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio.rb new file mode 100644 index 0000000000..0e4abcedd9 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio.rb @@ -0,0 +1,88 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes Advanced Audio Codec (AAC) audio encoding settings. + # + class AacAudio < Audio + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.AacAudio" + end + + attr_accessor :@odatatype + + # @return [AacAudioProfile] The encoding profile to be used when encoding + # audio with AAC. Possible values include: 'AacLc', 'HeAacV1', 'HeAacV2' + attr_accessor :profile + + + # + # Mapper for AacAudio class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.AacAudio', + type: { + name: 'Composite', + class_name: 'AacAudio', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + channels: { + required: false, + serialized_name: 'channels', + type: { + name: 'Number' + } + }, + sampling_rate: { + required: false, + serialized_name: 'samplingRate', + type: { + name: 'Number' + } + }, + bitrate: { + required: false, + serialized_name: 'bitrate', + type: { + name: 'Number' + } + }, + profile: { + required: false, + serialized_name: 'profile', + type: { + name: 'Enum', + module: 'AacAudioProfile' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio_profile.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio_profile.rb new file mode 100644 index 0000000000..8ce740f8ca --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/aac_audio_profile.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for AacAudioProfile + # + module AacAudioProfile + AacLc = "AacLc" + HeAacV1 = "HeAacV1" + HeAacV2 = "HeAacV2" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb new file mode 100644 index 0000000000..9d352f2a44 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_access_control.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Akamai access control + # + class AkamaiAccessControl + + include MsRestAzure + + # @return [Array] authentication + # key list + attr_accessor :akamai_signature_header_authentication_key_list + + + # + # Mapper for AkamaiAccessControl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AkamaiAccessControl', + type: { + name: 'Composite', + class_name: 'AkamaiAccessControl', + model_properties: { + akamai_signature_header_authentication_key_list: { + required: false, + serialized_name: 'akamaiSignatureHeaderAuthenticationKeyList', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'AkamaiSignatureHeaderAuthenticationKeyElementType', + type: { + name: 'Composite', + class_name: 'AkamaiSignatureHeaderAuthenticationKey' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb new file mode 100644 index 0000000000..199470c238 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Akamai Signature Header authentication key. + # + class AkamaiSignatureHeaderAuthenticationKey + + include MsRestAzure + + # @return [String] identifier of the key + attr_accessor :identifier + + # @return [String] authentication key + attr_accessor :base64key + + # @return [DateTime] The exact time the authentication key. + attr_accessor :expiration + + + # + # Mapper for AkamaiSignatureHeaderAuthenticationKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AkamaiSignatureHeaderAuthenticationKey', + type: { + name: 'Composite', + class_name: 'AkamaiSignatureHeaderAuthenticationKey', + model_properties: { + identifier: { + required: false, + serialized_name: 'identifier', + type: { + name: 'String' + } + }, + base64key: { + required: false, + serialized_name: 'base64Key', + type: { + name: 'String' + } + }, + expiration: { + required: false, + serialized_name: 'expiration', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/api_error.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/api_error.rb new file mode 100644 index 0000000000..b84ba35577 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/api_error.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The API error. + # + class ApiError + + include MsRestAzure + + # @return [ODataError] The error properties. + attr_accessor :error + + + # + # Mapper for ApiError class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ApiError', + type: { + name: 'Composite', + class_name: 'ApiError', + model_properties: { + error: { + required: false, + serialized_name: 'error', + type: { + name: 'Composite', + class_name: 'ODataError' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset.rb new file mode 100644 index 0000000000..c6be3f2d6f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset.rb @@ -0,0 +1,145 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # An Asset. + # + class Asset < ProxyResource + + include MsRestAzure + + # @return The Asset ID. + attr_accessor :asset_id + + # @return [DateTime] The creation date of the Asset. + attr_accessor :created + + # @return [DateTime] The last modified date of the Asset. + attr_accessor :last_modified + + # @return [String] The alternate ID of the Asset. + attr_accessor :alternate_id + + # @return [String] The Asset description. + attr_accessor :description + + # @return [String] The name of the asset blob container. + attr_accessor :container + + # @return [String] The name of the storage account. + attr_accessor :storage_account_name + + # @return [AssetStorageEncryptionFormat] The Asset encryption format. One + # of None or MediaStorageEncryption. Possible values include: 'None', + # 'MediaStorageClientEncryption' + attr_accessor :storage_encryption_format + + + # + # Mapper for Asset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Asset', + type: { + name: 'Composite', + class_name: 'Asset', + 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' + } + }, + asset_id: { + required: false, + read_only: true, + serialized_name: 'properties.assetId', + type: { + name: 'String' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + }, + alternate_id: { + required: false, + serialized_name: 'properties.alternateId', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + container: { + required: false, + serialized_name: 'properties.container', + type: { + name: 'String' + } + }, + storage_account_name: { + required: false, + serialized_name: 'properties.storageAccountName', + type: { + name: 'String' + } + }, + storage_encryption_format: { + required: false, + read_only: true, + serialized_name: 'properties.storageEncryptionFormat', + type: { + name: 'Enum', + module: 'AssetStorageEncryptionFormat' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_collection.rb new file mode 100644 index 0000000000..39ba044377 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of Asset items. + # + class AssetCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of Asset items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [AssetCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for AssetCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AssetCollection', + type: { + name: 'Composite', + class_name: 'AssetCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'AssetElementType', + type: { + name: 'Composite', + class_name: 'Asset' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_permission.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_permission.rb new file mode 100644 index 0000000000..84e7ce8edb --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_permission.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for AssetContainerPermission + # + module AssetContainerPermission + Read = "Read" + ReadWrite = "ReadWrite" + ReadWriteDelete = "ReadWriteDelete" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb new file mode 100644 index 0000000000..4a64057944 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_container_sas.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Asset Storage container SAS URLs. + # + class AssetContainerSas + + include MsRestAzure + + # @return [Array] The list of Asset container SAS URLs. + attr_accessor :asset_container_sas_urls + + + # + # Mapper for AssetContainerSas class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AssetContainerSas', + type: { + name: 'Composite', + class_name: 'AssetContainerSas', + model_properties: { + asset_container_sas_urls: { + required: false, + serialized_name: 'assetContainerSasUrls', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_format.rb new file mode 100644 index 0000000000..b8b6b34965 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for AssetStorageEncryptionFormat + # + module AssetStorageEncryptionFormat + None = "None" + MediaStorageClientEncryption = "MediaStorageClientEncryption" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.rb new file mode 100644 index 0000000000..33f1cb5f7a --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Asset Storage encryption key. + # + class AssetStorageEncryptionKey + + include MsRestAzure + + # @return [String] The Asset storage encryption key. + attr_accessor :storage_encryption_key + + + # + # Mapper for AssetStorageEncryptionKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AssetStorageEncryptionKey', + type: { + name: 'Composite', + class_name: 'AssetStorageEncryptionKey', + model_properties: { + storage_encryption_key: { + required: false, + serialized_name: 'storageEncryptionKey', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio.rb new file mode 100644 index 0000000000..5193c72d50 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio.rb @@ -0,0 +1,86 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines the common properties for all audio codecs. + # + class Audio < Codec + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.Audio" + end + + attr_accessor :@odatatype + + # @return [Integer] The number of channels in the audio. + attr_accessor :channels + + # @return [Integer] The sampling rate to use for encoding in hertz. + attr_accessor :sampling_rate + + # @return [Integer] The bitrate, in bits per second, of the output + # encoded audio. + attr_accessor :bitrate + + + # + # Mapper for Audio class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.Audio', + type: { + name: 'Composite', + class_name: 'Audio', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + channels: { + required: false, + serialized_name: 'channels', + type: { + name: 'Number' + } + }, + sampling_rate: { + required: false, + serialized_name: 'samplingRate', + type: { + name: 'Number' + } + }, + bitrate: { + required: false, + serialized_name: 'bitrate', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb new file mode 100644 index 0000000000..e0dbae2aed --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Audio Analyzer preset applies a pre-defined set of AI-based analysis + # operations, including speech transcription. Currently, the preset + # supports processing of content with a single audio track. + # + class AudioAnalyzerPreset < Preset + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.AudioAnalyzerPreset" + end + + attr_accessor :@odatatype + + # @return [String] The language for the audio payload in the input using + # the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of + # supported languages are, 'en-US', 'en-GB', 'es-ES', 'es-MX', 'fr-FR', + # 'it-IT', 'ja-JP', 'pt-BR', 'zh-CN'. + attr_accessor :audio_language + + + # + # Mapper for AudioAnalyzerPreset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.AudioAnalyzerPreset', + type: { + name: 'Composite', + class_name: 'AudioAnalyzerPreset', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + audio_language: { + required: false, + serialized_name: 'audioLanguage', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb new file mode 100644 index 0000000000..868889cc6f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_overlay.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties of an audio overlay. + # + class AudioOverlay < Overlay + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.AudioOverlay" + end + + attr_accessor :@odatatype + + + # + # Mapper for AudioOverlay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.AudioOverlay', + type: { + name: 'Composite', + class_name: 'AudioOverlay', + model_properties: { + input_label: { + required: false, + serialized_name: 'inputLabel', + type: { + name: 'String' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'TimeSpan' + } + }, + end_property: { + required: false, + serialized_name: 'end', + type: { + name: 'TimeSpan' + } + }, + fade_in_duration: { + required: false, + serialized_name: 'fadeInDuration', + type: { + name: 'TimeSpan' + } + }, + fade_out_duration: { + required: false, + serialized_name: 'fadeOutDuration', + type: { + name: 'TimeSpan' + } + }, + audio_gain_level: { + required: false, + serialized_name: 'audioGainLevel', + type: { + name: 'Double' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb new file mode 100644 index 0000000000..79edca3243 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes a built-in preset for encoding the input video with the + # Standard Encoder. + # + class BuiltInStandardEncoderPreset < Preset + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.BuiltInStandardEncoderPreset" + end + + attr_accessor :@odatatype + + # @return [EncoderNamedPreset] The built-in preset to be used for + # encoding videos. Possible values include: 'AdaptiveStreaming', + # 'AACGoodQualityAudio', 'H264MultipleBitrate1080p', + # 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' + attr_accessor :preset_name + + + # + # Mapper for BuiltInStandardEncoderPreset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.BuiltInStandardEncoderPreset', + type: { + name: 'Composite', + class_name: 'BuiltInStandardEncoderPreset', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + preset_name: { + required: true, + serialized_name: 'presetName', + type: { + name: 'Enum', + module: 'EncoderNamedPreset' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb new file mode 100644 index 0000000000..94b8a9ca4c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify DRM configurations of CommonEncryptionCbcs scheme in + # Streaming Policy + # + class CbcsDrmConfiguration + + include MsRestAzure + + # @return [StreamingPolicyFairPlayConfiguration] FairPlay configurations + attr_accessor :fair_play + + # @return [StreamingPolicyPlayReadyConfiguration] PlayReady + # configurations + attr_accessor :play_ready + + # @return [StreamingPolicyWidevineConfiguration] Widevine configurations + attr_accessor :widevine + + + # + # Mapper for CbcsDrmConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CbcsDrmConfiguration', + type: { + name: 'Composite', + class_name: 'CbcsDrmConfiguration', + model_properties: { + fair_play: { + required: false, + serialized_name: 'fairPlay', + type: { + name: 'Composite', + class_name: 'StreamingPolicyFairPlayConfiguration' + } + }, + play_ready: { + required: false, + serialized_name: 'playReady', + type: { + name: 'Composite', + class_name: 'StreamingPolicyPlayReadyConfiguration' + } + }, + widevine: { + required: false, + serialized_name: 'widevine', + type: { + name: 'Composite', + class_name: 'StreamingPolicyWidevineConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb new file mode 100644 index 0000000000..a54b7d95ca --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify DRM configurations of CommonEncryptionCenc scheme in + # Streaming Policy + # + class CencDrmConfiguration + + include MsRestAzure + + # @return [StreamingPolicyPlayReadyConfiguration] PlayReady + # configurations + attr_accessor :play_ready + + # @return [StreamingPolicyWidevineConfiguration] Widevine configurations + attr_accessor :widevine + + + # + # Mapper for CencDrmConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CencDrmConfiguration', + type: { + name: 'Composite', + class_name: 'CencDrmConfiguration', + model_properties: { + play_ready: { + required: false, + serialized_name: 'playReady', + type: { + name: 'Composite', + class_name: 'StreamingPolicyPlayReadyConfiguration' + } + }, + widevine: { + required: false, + serialized_name: 'widevine', + type: { + name: 'Composite', + class_name: 'StreamingPolicyWidevineConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb new file mode 100644 index 0000000000..b3c57b8302 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The input to the check name availability request. + # + class CheckNameAvailabilityInput + + include MsRestAzure + + # @return [String] The account name. + attr_accessor :name + + # @return [String] The account type. For a Media Services account, this + # should be 'MediaServices'. + attr_accessor :type + + + # + # Mapper for CheckNameAvailabilityInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CheckNameAvailabilityInput', + type: { + name: 'Composite', + class_name: 'CheckNameAvailabilityInput', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/codec.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/codec.rb new file mode 100644 index 0000000000..045906f593 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/codec.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the basic properties of all codecs. + # + class Codec + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.Audio"] = "Audio" + @@discriminatorMap["#Microsoft.Media.AacAudio"] = "AacAudio" + @@discriminatorMap["#Microsoft.Media.CopyVideo"] = "CopyVideo" + @@discriminatorMap["#Microsoft.Media.Video"] = "Video" + @@discriminatorMap["#Microsoft.Media.Image"] = "Image" + @@discriminatorMap["#Microsoft.Media.CopyAudio"] = "CopyAudio" + @@discriminatorMap["#Microsoft.Media.H264Video"] = "H264Video" + @@discriminatorMap["#Microsoft.Media.JpgImage"] = "JpgImage" + @@discriminatorMap["#Microsoft.Media.PngImage"] = "PngImage" + + def initialize + @@odatatype = "Codec" + end + + attr_accessor :@odatatype + + # @return [String] An optional label for the codec. The label can be used + # to control muxing behavior. + attr_accessor :label + + + # + # Mapper for Codec class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Codec', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Codec', + class_name: 'Codec', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb new file mode 100644 index 0000000000..07d4f0af4d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb @@ -0,0 +1,89 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class for CommonEncryptionCbcs encryption scheme + # + class CommonEncryptionCbcs + + include MsRestAzure + + # @return [EnabledProtocols] Representing supported protocols + attr_accessor :enabled_protocols + + # @return [Array] Representing which tracks should not be + # encrypted + attr_accessor :clear_tracks + + # @return [StreamingPolicyContentKeys] Representing default content key + # for each encryption scheme and separate content keys for specific + # tracks + attr_accessor :content_keys + + # @return [CbcsDrmConfiguration] Configuration of DRMs for current + # encryption scheme + attr_accessor :drm + + + # + # Mapper for CommonEncryptionCbcs class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CommonEncryptionCbcs', + type: { + name: 'Composite', + class_name: 'CommonEncryptionCbcs', + model_properties: { + enabled_protocols: { + required: false, + serialized_name: 'enabledProtocols', + type: { + name: 'Composite', + class_name: 'EnabledProtocols' + } + }, + clear_tracks: { + required: false, + serialized_name: 'clearTracks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackSelectionElementType', + type: { + name: 'Composite', + class_name: 'TrackSelection' + } + } + } + }, + content_keys: { + required: false, + serialized_name: 'contentKeys', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKeys' + } + }, + drm: { + required: false, + serialized_name: 'drm', + type: { + name: 'Composite', + class_name: 'CbcsDrmConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb new file mode 100644 index 0000000000..af76e22ad9 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb @@ -0,0 +1,89 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class for envelope encryption scheme + # + class CommonEncryptionCenc + + include MsRestAzure + + # @return [EnabledProtocols] Representing supported protocols + attr_accessor :enabled_protocols + + # @return [Array] Representing which tracks should not be + # encrypted + attr_accessor :clear_tracks + + # @return [StreamingPolicyContentKeys] Representing default content key + # for each encryption scheme and separate content keys for specific + # tracks + attr_accessor :content_keys + + # @return [CencDrmConfiguration] Configuration of DRMs for + # CommonEncryptionCenc encryption scheme + attr_accessor :drm + + + # + # Mapper for CommonEncryptionCenc class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CommonEncryptionCenc', + type: { + name: 'Composite', + class_name: 'CommonEncryptionCenc', + model_properties: { + enabled_protocols: { + required: false, + serialized_name: 'enabledProtocols', + type: { + name: 'Composite', + class_name: 'EnabledProtocols' + } + }, + clear_tracks: { + required: false, + serialized_name: 'clearTracks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackSelectionElementType', + type: { + name: 'Composite', + class_name: 'TrackSelection' + } + } + } + }, + content_keys: { + required: false, + serialized_name: 'contentKeys', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKeys' + } + }, + drm: { + required: false, + serialized_name: 'drm', + type: { + name: 'Composite', + class_name: 'CencDrmConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb new file mode 100644 index 0000000000..1888813038 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb @@ -0,0 +1,119 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Content Key Policy resource. + # + class ContentKeyPolicy < ProxyResource + + include MsRestAzure + + # @return The legacy Policy ID. + attr_accessor :policy_id + + # @return [DateTime] The creation date of the Policy + attr_accessor :created + + # @return [DateTime] The last modified date of the Policy + attr_accessor :last_modified + + # @return [String] A description for the Policy. + attr_accessor :description + + # @return [Array] The Key Policy options. + attr_accessor :options + + + # + # Mapper for ContentKeyPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicy', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicy', + 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' + } + }, + policy_id: { + required: false, + read_only: true, + serialized_name: 'properties.policyId', + type: { + name: 'String' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + options: { + required: true, + serialized_name: 'properties.options', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyOptionElementType', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyOption' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb new file mode 100644 index 0000000000..2edc29708d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb @@ -0,0 +1,48 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a configuration for non-DRM keys. + # + class ContentKeyPolicyClearKeyConfiguration < ContentKeyPolicyConfiguration + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyClearKeyConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyClearKeyConfiguration', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb new file mode 100644 index 0000000000..940d75e8e2 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb @@ -0,0 +1,96 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of ContentKeyPolicy items. + # + class ContentKeyPolicyCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of ContentKeyPolicy + # items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ContentKeyPolicyCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for ContentKeyPolicyCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyCollection', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyElementType', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicy' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb new file mode 100644 index 0000000000..a792123e81 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb @@ -0,0 +1,50 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for Content Key Policy configuration. A derived class must be + # used to create a configuration. + # + class ContentKeyPolicyConfiguration + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"] = "ContentKeyPolicyClearKeyConfiguration" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyUnknownConfiguration"] = "ContentKeyPolicyUnknownConfiguration" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"] = "ContentKeyPolicyWidevineConfiguration" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration"] = "ContentKeyPolicyPlayReadyConfiguration" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration"] = "ContentKeyPolicyFairPlayConfiguration" + + def initialize + @@odatatype = "ContentKeyPolicyConfiguration" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyConfiguration', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyConfiguration', + class_name: 'ContentKeyPolicyConfiguration', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb new file mode 100644 index 0000000000..63e588ec39 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a configuration for FairPlay licenses. + # + class ContentKeyPolicyFairPlayConfiguration < ContentKeyPolicyConfiguration + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration" + end + + attr_accessor :@odatatype + + # @return [Array] The key that must be used as FairPlay ASk. + attr_accessor :ask + + # @return [String] The password encrypting FairPlay certificate in PKCS + # 12 (pfx) format. + attr_accessor :fair_play_pfx_password + + # @return [String] The Base64 representation of FairPlay certificate in + # PKCS 12 (pfx) format (including private key). + attr_accessor :fair_play_pfx + + # @return [ContentKeyPolicyFairPlayRentalAndLeaseKeyType] The rental and + # lease key type. Possible values include: 'Unknown', 'Undefined', + # 'PersistentUnlimited', 'PersistentLimited' + attr_accessor :rental_and_lease_key_type + + # @return [Integer] The rental duration. Must be greater than or equal to + # 0. + attr_accessor :rental_duration + + + # + # Mapper for ContentKeyPolicyFairPlayConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyFairPlayConfiguration', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + ask: { + required: true, + serialized_name: 'ask', + type: { + name: 'ByteArray' + } + }, + fair_play_pfx_password: { + required: true, + serialized_name: 'fairPlayPfxPassword', + type: { + name: 'String' + } + }, + fair_play_pfx: { + required: true, + serialized_name: 'fairPlayPfx', + type: { + name: 'String' + } + }, + rental_and_lease_key_type: { + required: true, + serialized_name: 'rentalAndLeaseKeyType', + type: { + name: 'Enum', + module: 'ContentKeyPolicyFairPlayRentalAndLeaseKeyType' + } + }, + rental_duration: { + required: true, + serialized_name: 'rentalDuration', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb new file mode 100644 index 0000000000..360c79560a --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for ContentKeyPolicyFairPlayRentalAndLeaseKeyType + # + module ContentKeyPolicyFairPlayRentalAndLeaseKeyType + Unknown = "Unknown" + Undefined = "Undefined" + PersistentUnlimited = "PersistentUnlimited" + PersistentLimited = "PersistentLimited" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb new file mode 100644 index 0000000000..cda13f53ac --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb @@ -0,0 +1,49 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents an open restriction. License or key will be delivered on every + # request. + # + class ContentKeyPolicyOpenRestriction < ContentKeyPolicyRestriction + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyOpenRestriction" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyOpenRestriction class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyOpenRestriction', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyOpenRestriction', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb new file mode 100644 index 0000000000..eb6cb80a5e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb @@ -0,0 +1,82 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a policy option. + # + class ContentKeyPolicyOption + + include MsRestAzure + + # @return The legacy Policy Option ID. + attr_accessor :policy_option_id + + # @return [String] The Policy Option description. + attr_accessor :name + + # @return [ContentKeyPolicyConfiguration] The key delivery configuration. + attr_accessor :configuration + + # @return [ContentKeyPolicyRestriction] The requirements that must be met + # to deliver keys with this configuration + attr_accessor :restriction + + + # + # Mapper for ContentKeyPolicyOption class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyOption', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyOption', + model_properties: { + policy_option_id: { + required: false, + read_only: true, + serialized_name: 'policyOptionId', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + configuration: { + required: true, + serialized_name: 'configuration', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyConfiguration', + class_name: 'ContentKeyPolicyConfiguration' + } + }, + restriction: { + required: true, + serialized_name: 'restriction', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyRestriction', + class_name: 'ContentKeyPolicyRestriction' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb new file mode 100644 index 0000000000..0a560b7b2b --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb @@ -0,0 +1,77 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a configuration for PlayReady licenses. + # + class ContentKeyPolicyPlayReadyConfiguration < ContentKeyPolicyConfiguration + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration" + end + + attr_accessor :@odatatype + + # @return [Array] The PlayReady + # licenses. + attr_accessor :licenses + + # @return [String] The custom response data. + attr_accessor :response_custom_data + + + # + # Mapper for ContentKeyPolicyPlayReadyConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyConfiguration', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + licenses: { + required: true, + serialized_name: 'licenses', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyPlayReadyLicenseElementType', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyLicense' + } + } + } + }, + response_custom_data: { + required: false, + serialized_name: 'responseCustomData', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb new file mode 100644 index 0000000000..1cefc8c903 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb @@ -0,0 +1,49 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies that the content key ID is in the PlayReady header. + # + class ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader < ContentKeyPolicyPlayReadyContentKeyLocation + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + # class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb new file mode 100644 index 0000000000..12c3b5253b --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb @@ -0,0 +1,61 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies that the content key ID is specified in the PlayReady + # configuration. + # + class ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier < ContentKeyPolicyPlayReadyContentKeyLocation + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" + end + + attr_accessor :@odatatype + + # @return The content key ID. + attr_accessor :key_id + + + # + # Mapper for + # ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_id: { + required: true, + serialized_name: 'keyId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb new file mode 100644 index 0000000000..9e49a3f681 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb @@ -0,0 +1,48 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for content key ID location. A derived class must be used to + # represent the location. + # + class ContentKeyPolicyPlayReadyContentKeyLocation + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier"] = "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier" + + def initialize + @@odatatype = "ContentKeyPolicyPlayReadyContentKeyLocation" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyPlayReadyContentKeyLocation class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyPlayReadyContentKeyLocation', + class_name: 'ContentKeyPolicyPlayReadyContentKeyLocation', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_type.rb new file mode 100644 index 0000000000..42038eb605 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_type.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for ContentKeyPolicyPlayReadyContentType + # + module ContentKeyPolicyPlayReadyContentType + Unknown = "Unknown" + Unspecified = "Unspecified" + UltraVioletDownload = "UltraVioletDownload" + UltraVioletStreaming = "UltraVioletStreaming" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb new file mode 100644 index 0000000000..54c858e5ce --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Configures the Explicit Analog Television Output Restriction control + # bits. For further details see the PlayReady Compliance Rules. + # + class ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction + + include MsRestAzure + + # @return [Boolean] Indicates whether this restriction is enforced on a + # Best Effort basis. + attr_accessor :best_effort + + # @return [Integer] Configures the restriction control bits. Must be + # between 0 and 3 inclusive. + attr_accessor :configuration_data + + + # + # Mapper for ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction + # class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction', + model_properties: { + best_effort: { + required: true, + serialized_name: 'bestEffort', + type: { + name: 'Boolean' + } + }, + configuration_data: { + required: true, + serialized_name: 'configurationData', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb new file mode 100644 index 0000000000..0267235003 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb @@ -0,0 +1,145 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The PlayReady license + # + class ContentKeyPolicyPlayReadyLicense + + include MsRestAzure + + # @return [Boolean] A flag indicating whether test devices can use the + # license. + attr_accessor :allow_test_devices + + # @return [DateTime] The begin date of license + attr_accessor :begin_date + + # @return [DateTime] The expiration date of license. + attr_accessor :expiration_date + + # @return [Duration] The relative begin date of license. + attr_accessor :relative_begin_date + + # @return [Duration] The relative expiration date of license. + attr_accessor :relative_expiration_date + + # @return [Duration] The grace period of license. + attr_accessor :grace_period + + # @return [ContentKeyPolicyPlayReadyPlayRight] The license PlayRight + attr_accessor :play_right + + # @return [ContentKeyPolicyPlayReadyLicenseType] The license type. + # Possible values include: 'Unknown', 'NonPersistent', 'Persistent' + attr_accessor :license_type + + # @return [ContentKeyPolicyPlayReadyContentKeyLocation] The content key + # location. + attr_accessor :content_key_location + + # @return [ContentKeyPolicyPlayReadyContentType] The PlayReady content + # type. Possible values include: 'Unknown', 'Unspecified', + # 'UltraVioletDownload', 'UltraVioletStreaming' + attr_accessor :content_type + + + # + # Mapper for ContentKeyPolicyPlayReadyLicense class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyPlayReadyLicense', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyLicense', + model_properties: { + allow_test_devices: { + required: true, + serialized_name: 'allowTestDevices', + type: { + name: 'Boolean' + } + }, + begin_date: { + required: false, + serialized_name: 'beginDate', + type: { + name: 'DateTime' + } + }, + expiration_date: { + required: false, + serialized_name: 'expirationDate', + type: { + name: 'DateTime' + } + }, + relative_begin_date: { + required: false, + serialized_name: 'relativeBeginDate', + type: { + name: 'TimeSpan' + } + }, + relative_expiration_date: { + required: false, + serialized_name: 'relativeExpirationDate', + type: { + name: 'TimeSpan' + } + }, + grace_period: { + required: false, + serialized_name: 'gracePeriod', + type: { + name: 'TimeSpan' + } + }, + play_right: { + required: false, + serialized_name: 'playRight', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyPlayRight' + } + }, + license_type: { + required: true, + serialized_name: 'licenseType', + type: { + name: 'Enum', + module: 'ContentKeyPolicyPlayReadyLicenseType' + } + }, + content_key_location: { + required: true, + serialized_name: 'contentKeyLocation', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyPlayReadyContentKeyLocation', + class_name: 'ContentKeyPolicyPlayReadyContentKeyLocation' + } + }, + content_type: { + required: true, + serialized_name: 'contentType', + type: { + name: 'Enum', + module: 'ContentKeyPolicyPlayReadyContentType' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license_type.rb new file mode 100644 index 0000000000..daf4fb0222 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for ContentKeyPolicyPlayReadyLicenseType + # + module ContentKeyPolicyPlayReadyLicenseType + Unknown = "Unknown" + NonPersistent = "NonPersistent" + Persistent = "Persistent" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb new file mode 100644 index 0000000000..9e014817a5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb @@ -0,0 +1,182 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Configures the Play Right in the PlayReady license. + # + class ContentKeyPolicyPlayReadyPlayRight + + include MsRestAzure + + # @return [Duration] The amount of time that the license is valid after + # the license is first used to play content. + attr_accessor :first_play_expiration + + # @return [Integer] Configures the Serial Copy Management System (SCMS) + # in the license. Must be between 0 and 3 inclusive. + attr_accessor :scms_restriction + + # @return [Integer] Configures Automatic Gain Control (AGC) and Color + # Stripe in the license. Must be between 0 and 3 inclusive. + attr_accessor :agc_and_color_stripe_restriction + + # @return [ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction] + # Configures the Explicit Analog Television Output Restriction in the + # license. Configuration data must be between 0 and 3 inclusive. + attr_accessor :explicit_analog_television_output_restriction + + # @return [Boolean] Enables the Image Constraint For Analog Component + # Video Restriction in the license. + attr_accessor :digital_video_only_content_restriction + + # @return [Boolean] Enables the Image Constraint For Analog Component + # Video Restriction in the license. + attr_accessor :image_constraint_for_analog_component_video_restriction + + # @return [Boolean] Enables the Image Constraint For Analog Component + # Video Restriction in the license. + attr_accessor :image_constraint_for_analog_computer_monitor_restriction + + # @return [ContentKeyPolicyPlayReadyUnknownOutputPassingOption] + # Configures Unknown output handling settings of the license. Possible + # values include: 'Unknown', 'NotAllowed', 'Allowed', + # 'AllowedWithVideoConstriction' + attr_accessor :allow_passing_video_content_to_unknown_output + + # @return [Integer] Specifies the output protection level for + # uncompressed digital video. + attr_accessor :uncompressed_digital_video_opl + + # @return [Integer] Specifies the output protection level for compressed + # digital video. + attr_accessor :compressed_digital_video_opl + + # @return [Integer] Specifies the output protection level for compressed + # digital audio. + attr_accessor :analog_video_opl + + # @return [Integer] Specifies the output protection level for compressed + # digital audio. + attr_accessor :compressed_digital_audio_opl + + # @return [Integer] Specifies the output protection level for + # uncompressed digital audio. + attr_accessor :uncompressed_digital_audio_opl + + + # + # Mapper for ContentKeyPolicyPlayReadyPlayRight class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyPlayReadyPlayRight', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyPlayRight', + model_properties: { + first_play_expiration: { + required: false, + serialized_name: 'firstPlayExpiration', + type: { + name: 'TimeSpan' + } + }, + scms_restriction: { + required: false, + serialized_name: 'scmsRestriction', + type: { + name: 'Number' + } + }, + agc_and_color_stripe_restriction: { + required: false, + serialized_name: 'agcAndColorStripeRestriction', + type: { + name: 'Number' + } + }, + explicit_analog_television_output_restriction: { + required: false, + serialized_name: 'explicitAnalogTelevisionOutputRestriction', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction' + } + }, + digital_video_only_content_restriction: { + required: true, + serialized_name: 'digitalVideoOnlyContentRestriction', + type: { + name: 'Boolean' + } + }, + image_constraint_for_analog_component_video_restriction: { + required: true, + serialized_name: 'imageConstraintForAnalogComponentVideoRestriction', + type: { + name: 'Boolean' + } + }, + image_constraint_for_analog_computer_monitor_restriction: { + required: true, + serialized_name: 'imageConstraintForAnalogComputerMonitorRestriction', + type: { + name: 'Boolean' + } + }, + allow_passing_video_content_to_unknown_output: { + required: true, + serialized_name: 'allowPassingVideoContentToUnknownOutput', + type: { + name: 'Enum', + module: 'ContentKeyPolicyPlayReadyUnknownOutputPassingOption' + } + }, + uncompressed_digital_video_opl: { + required: false, + serialized_name: 'uncompressedDigitalVideoOpl', + type: { + name: 'Number' + } + }, + compressed_digital_video_opl: { + required: false, + serialized_name: 'compressedDigitalVideoOpl', + type: { + name: 'Number' + } + }, + analog_video_opl: { + required: false, + serialized_name: 'analogVideoOpl', + type: { + name: 'Number' + } + }, + compressed_digital_audio_opl: { + required: false, + serialized_name: 'compressedDigitalAudioOpl', + type: { + name: 'Number' + } + }, + uncompressed_digital_audio_opl: { + required: false, + serialized_name: 'uncompressedDigitalAudioOpl', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_unknown_output_passing_option.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_unknown_output_passing_option.rb new file mode 100644 index 0000000000..7fb52b1df5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_unknown_output_passing_option.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for ContentKeyPolicyPlayReadyUnknownOutputPassingOption + # + module ContentKeyPolicyPlayReadyUnknownOutputPassingOption + Unknown = "Unknown" + NotAllowed = "NotAllowed" + Allowed = "Allowed" + AllowedWithVideoConstriction = "AllowedWithVideoConstriction" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb new file mode 100644 index 0000000000..f0f520ec0e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The properties of the Content Key Policy. + # + class ContentKeyPolicyProperties + + include MsRestAzure + + # @return The legacy Policy ID. + attr_accessor :policy_id + + # @return [DateTime] The creation date of the Policy + attr_accessor :created + + # @return [DateTime] The last modified date of the Policy + attr_accessor :last_modified + + # @return [String] A description for the Policy. + attr_accessor :description + + # @return [Array] The Key Policy options. + attr_accessor :options + + + # + # Mapper for ContentKeyPolicyProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyProperties', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyProperties', + model_properties: { + policy_id: { + required: false, + read_only: true, + serialized_name: 'policyId', + type: { + name: 'String' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'lastModified', + type: { + name: 'DateTime' + } + }, + description: { + required: false, + serialized_name: 'description', + type: { + name: 'String' + } + }, + options: { + required: true, + serialized_name: 'options', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyOptionElementType', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyOption' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb new file mode 100644 index 0000000000..9037f79ce5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb @@ -0,0 +1,48 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for Content Key Policy restrictions. A derived class must be + # used to create a restriction. + # + class ContentKeyPolicyRestriction + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyOpenRestriction"] = "ContentKeyPolicyOpenRestriction" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyUnknownRestriction"] = "ContentKeyPolicyUnknownRestriction" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyTokenRestriction"] = "ContentKeyPolicyTokenRestriction" + + def initialize + @@odatatype = "ContentKeyPolicyRestriction" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyRestriction class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyRestriction', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyRestriction', + class_name: 'ContentKeyPolicyRestriction', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb new file mode 100644 index 0000000000..68364feb1a --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb @@ -0,0 +1,48 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for Content Key Policy key for token validation. A derived + # class must be used to create a token key. + # + class ContentKeyPolicyRestrictionTokenKey + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicySymmetricTokenKey"] = "ContentKeyPolicySymmetricTokenKey" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyRsaTokenKey"] = "ContentKeyPolicyRsaTokenKey" + @@discriminatorMap["#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey"] = "ContentKeyPolicyX509CertificateTokenKey" + + def initialize + @@odatatype = "ContentKeyPolicyRestrictionTokenKey" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyRestrictionTokenKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyRestrictionTokenKey', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyRestrictionTokenKey', + class_name: 'ContentKeyPolicyRestrictionTokenKey', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_type.rb new file mode 100644 index 0000000000..61baec3c75 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for ContentKeyPolicyRestrictionTokenType + # + module ContentKeyPolicyRestrictionTokenType + Unknown = "Unknown" + Swt = "Swt" + Jwt = "Jwt" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb new file mode 100644 index 0000000000..9f4e79a6ee --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a RSA key for token validation + # + class ContentKeyPolicyRsaTokenKey < ContentKeyPolicyRestrictionTokenKey + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey" + end + + attr_accessor :@odatatype + + # @return [Array] The RSA Parameter exponent + attr_accessor :exponent + + # @return [Array] The RSA Parameter modulus + attr_accessor :modulus + + + # + # Mapper for ContentKeyPolicyRsaTokenKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyRsaTokenKey', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyRsaTokenKey', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + exponent: { + required: true, + serialized_name: 'exponent', + type: { + name: 'ByteArray' + } + }, + modulus: { + required: true, + serialized_name: 'modulus', + type: { + name: 'ByteArray' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb new file mode 100644 index 0000000000..fb083ec821 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a symmetric key for token validation. + # + class ContentKeyPolicySymmetricTokenKey < ContentKeyPolicyRestrictionTokenKey + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey" + end + + attr_accessor :@odatatype + + # @return [Array] The key value of the key + attr_accessor :key_value + + + # + # Mapper for ContentKeyPolicySymmetricTokenKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicySymmetricTokenKey', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_value: { + required: true, + serialized_name: 'keyValue', + type: { + name: 'ByteArray' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb new file mode 100644 index 0000000000..22fce421c4 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a token claim. + # + class ContentKeyPolicyTokenClaim + + include MsRestAzure + + # @return [String] Token claim type. + attr_accessor :claim_type + + # @return [String] Token claim value. + attr_accessor :claim_value + + + # + # Mapper for ContentKeyPolicyTokenClaim class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContentKeyPolicyTokenClaim', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyTokenClaim', + model_properties: { + claim_type: { + required: false, + serialized_name: 'claimType', + type: { + name: 'String' + } + }, + claim_value: { + required: false, + serialized_name: 'claimValue', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb new file mode 100644 index 0000000000..dbb8eb234a --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb @@ -0,0 +1,145 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a token restriction. Provided token must match these + # requirements for successful license or key delivery. + # + class ContentKeyPolicyTokenRestriction < ContentKeyPolicyRestriction + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyTokenRestriction" + end + + attr_accessor :@odatatype + + # @return [String] The token issuer. + attr_accessor :issuer + + # @return [String] The audience for the token. + attr_accessor :audience + + # @return [ContentKeyPolicyRestrictionTokenKey] The primary verification + # key. + attr_accessor :primary_verification_key + + # @return [Array] A list of + # alternative verification keys. + attr_accessor :alternate_verification_keys + + # @return [Array] A list of required token + # claims. + attr_accessor :required_claims + + # @return [ContentKeyPolicyRestrictionTokenType] The type of token. + # Possible values include: 'Unknown', 'Swt', 'Jwt' + attr_accessor :restriction_token_type + + # @return [String] The OpenID connect discovery document. + attr_accessor :open_id_connect_discovery_document + + + # + # Mapper for ContentKeyPolicyTokenRestriction class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyTokenRestriction', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyTokenRestriction', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + issuer: { + required: true, + serialized_name: 'issuer', + type: { + name: 'String' + } + }, + audience: { + required: true, + serialized_name: 'audience', + type: { + name: 'String' + } + }, + primary_verification_key: { + required: true, + serialized_name: 'primaryVerificationKey', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyRestrictionTokenKey', + class_name: 'ContentKeyPolicyRestrictionTokenKey' + } + }, + alternate_verification_keys: { + required: false, + serialized_name: 'alternateVerificationKeys', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyRestrictionTokenKeyElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'ContentKeyPolicyRestrictionTokenKey', + class_name: 'ContentKeyPolicyRestrictionTokenKey' + } + } + } + }, + required_claims: { + required: false, + serialized_name: 'requiredClaims', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContentKeyPolicyTokenClaimElementType', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyTokenClaim' + } + } + } + }, + restriction_token_type: { + required: true, + serialized_name: 'restrictionTokenType', + type: { + name: 'Enum', + module: 'ContentKeyPolicyRestrictionTokenType' + } + }, + open_id_connect_discovery_document: { + required: false, + serialized_name: 'openIdConnectDiscoveryDocument', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb new file mode 100644 index 0000000000..29c72d2a94 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb @@ -0,0 +1,49 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a ContentKeyPolicyConfiguration that is unavailable in the + # current API version. + # + class ContentKeyPolicyUnknownConfiguration < ContentKeyPolicyConfiguration + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyUnknownConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyUnknownConfiguration', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyUnknownConfiguration', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb new file mode 100644 index 0000000000..9e1b5374c8 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb @@ -0,0 +1,49 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents a ContentKeyPolicyRestriction that is unavailable in the + # current API version. + # + class ContentKeyPolicyUnknownRestriction < ContentKeyPolicyRestriction + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyUnknownRestriction" + end + + attr_accessor :@odatatype + + + # + # Mapper for ContentKeyPolicyUnknownRestriction class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyUnknownRestriction', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyUnknownRestriction', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb new file mode 100644 index 0000000000..30bb642c32 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a configuration for Widevine licenses. + # + class ContentKeyPolicyWidevineConfiguration < ContentKeyPolicyConfiguration + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration" + end + + attr_accessor :@odatatype + + # @return [String] The Widevine template. + attr_accessor :widevine_template + + + # + # Mapper for ContentKeyPolicyWidevineConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyWidevineConfiguration', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + widevine_template: { + required: true, + serialized_name: 'widevineTemplate', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb new file mode 100644 index 0000000000..605c1c6621 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb @@ -0,0 +1,59 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Specifies a certificate for token validation. + # + class ContentKeyPolicyX509CertificateTokenKey < ContentKeyPolicyRestrictionTokenKey + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey" + end + + attr_accessor :@odatatype + + # @return [Array] The raw data field of a certificate in PKCS 12 + # format (X509Certificate2 in .NET) + attr_accessor :raw_body + + + # + # Mapper for ContentKeyPolicyX509CertificateTokenKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey', + type: { + name: 'Composite', + class_name: 'ContentKeyPolicyX509CertificateTokenKey', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + raw_body: { + required: true, + serialized_name: 'rawBody', + type: { + name: 'ByteArray' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_audio.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_audio.rb new file mode 100644 index 0000000000..87561e9d21 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_audio.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A codec flag, which tells the encoder to copy the input audio bitstream. + # + class CopyAudio < Codec + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.CopyAudio" + end + + attr_accessor :@odatatype + + + # + # Mapper for CopyAudio class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.CopyAudio', + type: { + name: 'Composite', + class_name: 'CopyAudio', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_video.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_video.rb new file mode 100644 index 0000000000..fb285853b0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/copy_video.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A codec flag, which tells the encoder to copy the input video bitstream + # without re-encoding. + # + class CopyVideo < Codec + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.CopyVideo" + end + + attr_accessor :@odatatype + + + # + # Mapper for CopyVideo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.CopyVideo', + type: { + name: 'Composite', + class_name: 'CopyVideo', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb new file mode 100644 index 0000000000..dbbe239140 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The client access policy. + # + class CrossSiteAccessPolicies + + include MsRestAzure + + # @return [String] The content of clientaccesspolicy.xml used by + # Silverlight. + attr_accessor :client_access_policy + + # @return [String] The content of crossdomain.xml used by Silverlight. + attr_accessor :cross_domain_policy + + + # + # Mapper for CrossSiteAccessPolicies class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CrossSiteAccessPolicies', + type: { + name: 'Composite', + class_name: 'CrossSiteAccessPolicies', + model_properties: { + client_access_policy: { + required: false, + serialized_name: 'clientAccessPolicy', + type: { + name: 'String' + } + }, + cross_domain_policy: { + required: false, + serialized_name: 'crossDomainPolicy', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/default_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/default_key.rb new file mode 100644 index 0000000000..d4799f6dfa --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/default_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify properties of default content key for each encryption + # scheme + # + class DefaultKey + + include MsRestAzure + + # @return [String] Label can be used to specify Content Key when creating + # a Streaming Locator + attr_accessor :label + + # @return [String] Policy used by Default Key + attr_accessor :policy_name + + + # + # Mapper for DefaultKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DefaultKey', + type: { + name: 'Composite', + class_name: 'DefaultKey', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + policy_name: { + required: false, + serialized_name: 'policyName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace.rb new file mode 100644 index 0000000000..0ca0041fdd --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace.rb @@ -0,0 +1,59 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the de-interlacing settings. + # + class Deinterlace + + include MsRestAzure + + # @return [DeinterlaceParity] The field parity for de-interlacing, + # defaults to Auto. Possible values include: 'Auto', 'TopFieldFirst', + # 'BottomFieldFirst' + attr_accessor :parity + + # @return [DeinterlaceMode] The deinterlacing mode. Defaults to + # AutoPixelAdaptive. Possible values include: 'Off', 'AutoPixelAdaptive' + attr_accessor :mode + + + # + # Mapper for Deinterlace class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Deinterlace', + type: { + name: 'Composite', + class_name: 'Deinterlace', + model_properties: { + parity: { + required: false, + serialized_name: 'parity', + type: { + name: 'Enum', + module: 'DeinterlaceParity' + } + }, + mode: { + required: false, + serialized_name: 'mode', + type: { + name: 'Enum', + module: 'DeinterlaceMode' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_mode.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_mode.rb new file mode 100644 index 0000000000..e053afe189 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_mode.rb @@ -0,0 +1,16 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for DeinterlaceMode + # + module DeinterlaceMode + Off = "Off" + AutoPixelAdaptive = "AutoPixelAdaptive" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_parity.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_parity.rb new file mode 100644 index 0000000000..9c0cf74f22 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/deinterlace_parity.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for DeinterlaceParity + # + module DeinterlaceParity + Auto = "Auto" + TopFieldFirst = "TopFieldFirst" + BottomFieldFirst = "BottomFieldFirst" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb new file mode 100644 index 0000000000..8dbbcbf5e2 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/enabled_protocols.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify which protocols are enabled + # + class EnabledProtocols + + include MsRestAzure + + # @return [Boolean] Enable Download protocol or not + attr_accessor :download + + # @return [Boolean] Enable DASH protocol or not + attr_accessor :dash + + # @return [Boolean] Enable HLS protocol or not + attr_accessor :hls + + # @return [Boolean] Enable SmoothStreaming protocol or not + attr_accessor :smooth_streaming + + + # + # Mapper for EnabledProtocols class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnabledProtocols', + type: { + name: 'Composite', + class_name: 'EnabledProtocols', + model_properties: { + download: { + required: true, + serialized_name: 'download', + type: { + name: 'Boolean' + } + }, + dash: { + required: true, + serialized_name: 'dash', + type: { + name: 'Boolean' + } + }, + hls: { + required: true, + serialized_name: 'hls', + type: { + name: 'Boolean' + } + }, + smooth_streaming: { + required: true, + serialized_name: 'smoothStreaming', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encoder_named_preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encoder_named_preset.rb new file mode 100644 index 0000000000..477d95e327 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encoder_named_preset.rb @@ -0,0 +1,19 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for EncoderNamedPreset + # + module EncoderNamedPreset + AdaptiveStreaming = "AdaptiveStreaming" + AACGoodQualityAudio = "AACGoodQualityAudio" + H264MultipleBitrate1080p = "H264MultipleBitrate1080p" + H264MultipleBitrate720p = "H264MultipleBitrate720p" + H264MultipleBitrateSD = "H264MultipleBitrateSD" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encryption_scheme.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encryption_scheme.rb new file mode 100644 index 0000000000..11f3cabc97 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/encryption_scheme.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for EncryptionScheme + # + module EncryptionScheme + NoEncryption = "NoEncryption" + EnvelopeEncryption = "EnvelopeEncryption" + CommonEncryptionCenc = "CommonEncryptionCenc" + CommonEncryptionCbcs = "CommonEncryptionCbcs" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb new file mode 100644 index 0000000000..5fa054f0b0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The response from the check name availability request. + # + class EntityNameAvailabilityCheckOutput + + include MsRestAzure + + # @return [Boolean] Specifies if the name is available. + attr_accessor :name_available + + # @return [String] Specifies the reason if the name is not available. + attr_accessor :reason + + # @return [String] Specifies the detailed reason if the name is not + # available. + attr_accessor :message + + + # + # Mapper for EntityNameAvailabilityCheckOutput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EntityNameAvailabilityCheckOutput', + type: { + name: 'Composite', + class_name: 'EntityNameAvailabilityCheckOutput', + model_properties: { + name_available: { + required: true, + serialized_name: 'nameAvailable', + type: { + name: 'Boolean' + } + }, + reason: { + required: false, + serialized_name: 'reason', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entropy_mode.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entropy_mode.rb new file mode 100644 index 0000000000..9544bafe1c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/entropy_mode.rb @@ -0,0 +1,16 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for EntropyMode + # + module EntropyMode + Cabac = "Cabac" + Cavlc = "Cavlc" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb new file mode 100644 index 0000000000..141bcaefe5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb @@ -0,0 +1,88 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class for EnvelopeEncryption encryption scheme + # + class EnvelopeEncryption + + include MsRestAzure + + # @return [EnabledProtocols] Representing supported protocols + attr_accessor :enabled_protocols + + # @return [Array] Representing which tracks should not be + # encrypted + attr_accessor :clear_tracks + + # @return [StreamingPolicyContentKeys] Representing default content key + # for each encryption scheme and separate content keys for specific + # tracks + attr_accessor :content_keys + + # @return [String] KeyAcquistionUrlTemplate is used to point to user + # specified service to delivery content keys + attr_accessor :custom_key_acquisition_url_template + + + # + # Mapper for EnvelopeEncryption class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnvelopeEncryption', + type: { + name: 'Composite', + class_name: 'EnvelopeEncryption', + model_properties: { + enabled_protocols: { + required: false, + serialized_name: 'enabledProtocols', + type: { + name: 'Composite', + class_name: 'EnabledProtocols' + } + }, + clear_tracks: { + required: false, + serialized_name: 'clearTracks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackSelectionElementType', + type: { + name: 'Composite', + class_name: 'TrackSelection' + } + } + } + }, + content_keys: { + required: false, + serialized_name: 'contentKeys', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKeys' + } + }, + custom_key_acquisition_url_template: { + required: false, + serialized_name: 'customKeyAcquisitionUrlTemplate', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/filters.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/filters.rb new file mode 100644 index 0000000000..80e54d70bf --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/filters.rb @@ -0,0 +1,92 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes all the filtering operations, such as de-interlacing, rotation + # etc. that are to be applied to the input media before encoding. + # + class Filters + + include MsRestAzure + + # @return [Deinterlace] The de-interlacing settings. + attr_accessor :deinterlace + + # @return [Rotation] The rotation, if any, to be applied to the input + # video, before it is encoded. Default is Auto. Possible values include: + # 'Auto', 'None', 'Rotate0', 'Rotate90', 'Rotate180', 'Rotate270' + attr_accessor :rotation + + # @return [Rectangle] The parameters for the rectangular window with + # which to crop the input video. + attr_accessor :crop + + # @return [Array] The properties of overlays to be applied to + # the input video. These could be audio, image or video overlays. + attr_accessor :overlays + + + # + # Mapper for Filters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Filters', + type: { + name: 'Composite', + class_name: 'Filters', + model_properties: { + deinterlace: { + required: false, + serialized_name: 'deinterlace', + type: { + name: 'Composite', + class_name: 'Deinterlace' + } + }, + rotation: { + required: false, + serialized_name: 'rotation', + type: { + name: 'Enum', + module: 'Rotation' + } + }, + crop: { + required: false, + serialized_name: 'crop', + type: { + name: 'Composite', + class_name: 'Rectangle' + } + }, + overlays: { + required: false, + serialized_name: 'overlays', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OverlayElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Overlay', + class_name: 'Overlay' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/format.rb new file mode 100644 index 0000000000..9d0b7f48ec --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for output. + # + class Format + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.ImageFormat"] = "ImageFormat" + @@discriminatorMap["#Microsoft.Media.JpgFormat"] = "JpgFormat" + @@discriminatorMap["#Microsoft.Media.PngFormat"] = "PngFormat" + @@discriminatorMap["#Microsoft.Media.MultiBitrateFormat"] = "MultiBitrateFormat" + @@discriminatorMap["#Microsoft.Media.Mp4Format"] = "Mp4Format" + @@discriminatorMap["#Microsoft.Media.TransportStreamFormat"] = "TransportStreamFormat" + + def initialize + @@odatatype = "Format" + end + + attr_accessor :@odatatype + + # @return [String] The pattern of the file names for the generated output + # files. The following macros are supported in the file name: {Basename} + # - The base name of the input video {Extension} - The appropriate + # extension for this format. {Label} - The label assigned to the + # codec/layer. {Index} - A unique index for thumbnails. Only applicable + # to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to + # thumbnails. {Codec} - The type of the audio/video codec. Any + # unsubstituted macros will be collapsed and removed from the filename. + attr_accessor :filename_pattern + + + # + # Mapper for Format class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Format', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Format', + class_name: 'Format', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264complexity.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264complexity.rb new file mode 100644 index 0000000000..58280ab0f6 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264complexity.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for H264Complexity + # + module H264Complexity + Speed = "Speed" + Balanced = "Balanced" + Quality = "Quality" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264layer.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264layer.rb new file mode 100644 index 0000000000..4cf9daba07 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264layer.rb @@ -0,0 +1,175 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings to be used when encoding the input video into a + # desired output bitrate layer with the H.264 video codec. + # + class H264Layer < VideoLayer + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.H264Layer" + end + + attr_accessor :@odatatype + + # @return [H264VideoProfile] Which profile of the H.264 standard should + # be used when encoding this layer. Default is Auto. Possible values + # include: 'Auto', 'Baseline', 'Main', 'High', 'High422', 'High444' + attr_accessor :profile + + # @return [String] Which level of the H.264 standard should be used when + # encoding this layer. The value can be Auto, or a number that matches + # the H.264 profile. If not specified, the default is Auto, which lets + # the encoder choose the Level that is appropriate for this layer. + attr_accessor :level + + # @return [Duration] The VBV buffer window length. The value should be in + # ISO 8601 format. The value should be in the range [0.1-100] seconds. + # The default is 5 seconds (for example, PT5S). + attr_accessor :buffer_window + + # @return [Integer] The number of reference frames to be used when + # encoding this layer. If not specified, the encoder determines an + # appropriate number based on the encoder complexity setting. + attr_accessor :reference_frames + + # @return [EntropyMode] The entropy mode to be used for this layer. If + # not specified, the encoder chooses the mode that is appropriate for the + # profile and level. Possible values include: 'Cabac', 'Cavlc' + attr_accessor :entropy_mode + + + # + # Mapper for H264Layer class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.H264Layer', + type: { + name: 'Composite', + class_name: 'H264Layer', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + bitrate: { + required: false, + serialized_name: 'bitrate', + type: { + name: 'Number' + } + }, + max_bitrate: { + required: false, + serialized_name: 'maxBitrate', + type: { + name: 'Number' + } + }, + b_frames: { + required: false, + serialized_name: 'bFrames', + type: { + name: 'Number' + } + }, + frame_rate: { + required: false, + serialized_name: 'frameRate', + type: { + name: 'String' + } + }, + slices: { + required: false, + serialized_name: 'slices', + type: { + name: 'Number' + } + }, + adaptive_bframe: { + required: false, + serialized_name: 'adaptiveBFrame', + type: { + name: 'Boolean' + } + }, + profile: { + required: false, + serialized_name: 'profile', + type: { + name: 'Enum', + module: 'H264VideoProfile' + } + }, + level: { + required: false, + serialized_name: 'level', + type: { + name: 'String' + } + }, + buffer_window: { + required: false, + serialized_name: 'bufferWindow', + type: { + name: 'TimeSpan' + } + }, + reference_frames: { + required: false, + serialized_name: 'referenceFrames', + type: { + name: 'Number' + } + }, + entropy_mode: { + required: false, + serialized_name: 'entropyMode', + type: { + name: 'Enum', + module: 'EntropyMode' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video.rb new file mode 100644 index 0000000000..4f716b7571 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video.rb @@ -0,0 +1,115 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes all the properties for encoding a video with the H.264 codec. + # + class H264Video < Video + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.H264Video" + end + + attr_accessor :@odatatype + + # @return [Boolean] Whether or not the encoder should insert key frames + # at scene changes. If not specified, the default is false. This flag + # should be set to true only when the encoder is being configured to + # produce a single output video. + attr_accessor :scene_change_detection + + # @return [H264Complexity] Tells the encoder how to choose its encoding + # settings. The default value is Balanced. Possible values include: + # 'Speed', 'Balanced', 'Quality' + attr_accessor :complexity + + # @return [Array] The collection of output H.264 layers to be + # produced by the encoder. + attr_accessor :layers + + + # + # Mapper for H264Video class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.H264Video', + type: { + name: 'Composite', + class_name: 'H264Video', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_frame_interval: { + required: false, + serialized_name: 'keyFrameInterval', + type: { + name: 'TimeSpan' + } + }, + stretch_mode: { + required: false, + serialized_name: 'stretchMode', + type: { + name: 'Enum', + module: 'StretchMode' + } + }, + scene_change_detection: { + required: false, + serialized_name: 'sceneChangeDetection', + type: { + name: 'Boolean' + } + }, + complexity: { + required: false, + serialized_name: 'complexity', + type: { + name: 'Enum', + module: 'H264Complexity' + } + }, + layers: { + required: false, + serialized_name: 'layers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'H264LayerElementType', + type: { + name: 'Composite', + class_name: 'H264Layer' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video_profile.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video_profile.rb new file mode 100644 index 0000000000..a00eead18f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/h264video_profile.rb @@ -0,0 +1,20 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for H264VideoProfile + # + module H264VideoProfile + Auto = "Auto" + Baseline = "Baseline" + Main = "Main" + High = "High" + High422 = "High422" + High444 = "High444" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/hls.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/hls.rb new file mode 100644 index 0000000000..3b26c62eb5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/hls.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The HLS configuration. + # + class Hls + + include MsRestAzure + + # @return [Integer] The amount of fragments per HTTP Live Streaming (HLS) + # segment. + attr_accessor :fragments_per_ts_segment + + + # + # Mapper for Hls class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Hls', + type: { + name: 'Composite', + class_name: 'Hls', + model_properties: { + fragments_per_ts_segment: { + required: false, + serialized_name: 'fragmentsPerTsSegment', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image.rb new file mode 100644 index 0000000000..f174b48959 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image.rb @@ -0,0 +1,113 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the basic properties for generating thumbnails from the input + # video + # + class Image < Video + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.Image" + end + + attr_accessor :@odatatype + + # @return [String] The position in the input video from where to start + # generating thumbnails. The value can be in absolute timestamp (ISO + # 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th + # frame), or a relative value (For example, 1%). Also supports a macro + # {Best}, which tells the encoder to select the best thumbnail from the + # first few seconds of the video. + attr_accessor :start + + # @return [String] The intervals at which thumbnails are generated. The + # value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image + # every 5 seconds), or a frame count (For example, 30 for every 30 + # frames), or a relative value (For example, 1%). + attr_accessor :step + + # @return [String] The position in the input video at which to stop + # generating thumbnails. The value can be in absolute timestamp (ISO + # 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame + # count (For example, 300 to stop at the 300th frame), or a relative + # value (For example, 100%). + attr_accessor :range + + + # + # Mapper for Image class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.Image', + type: { + name: 'Composite', + class_name: 'Image', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_frame_interval: { + required: false, + serialized_name: 'keyFrameInterval', + type: { + name: 'TimeSpan' + } + }, + stretch_mode: { + required: false, + serialized_name: 'stretchMode', + type: { + name: 'Enum', + module: 'StretchMode' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'String' + } + }, + step: { + required: false, + serialized_name: 'step', + type: { + name: 'String' + } + }, + range: { + required: false, + serialized_name: 'range', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image_format.rb new file mode 100644 index 0000000000..a4b292b7a0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/image_format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for an output image file. + # + class ImageFormat < Format + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.ImageFormat" + end + + attr_accessor :@odatatype + + + # + # Mapper for ImageFormat class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.ImageFormat', + type: { + name: 'Composite', + class_name: 'ImageFormat', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb new file mode 100644 index 0000000000..b008d796fa --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/ipaccess_control.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The IP access control. + # + class IPAccessControl + + include MsRestAzure + + # @return [Array] The IP allow list. + attr_accessor :allow + + + # + # Mapper for IPAccessControl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IPAccessControl', + type: { + name: 'Composite', + class_name: 'IPAccessControl', + model_properties: { + allow: { + required: false, + serialized_name: 'allow', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'IPRangeElementType', + type: { + name: 'Composite', + class_name: 'IPRange' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/iprange.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/iprange.rb new file mode 100644 index 0000000000..8fba14a25e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/iprange.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The IP address range in the CIDR scheme. + # + class IPRange + + include MsRestAzure + + # @return [String] The friendly name for the IP address range. + attr_accessor :name + + # @return [String] The IP address. + attr_accessor :address + + # @return [Integer] The subnet mask prefix length (see CIDR notation). + attr_accessor :subnet_prefix_length + + + # + # Mapper for IPRange class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IPRange', + type: { + name: 'Composite', + class_name: 'IPRange', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + address: { + required: false, + serialized_name: 'address', + type: { + name: 'String' + } + }, + subnet_prefix_length: { + required: false, + serialized_name: 'subnetPrefixLength', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job.rb new file mode 100644 index 0000000000..c738786544 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job.rb @@ -0,0 +1,172 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Job resource type. The progress and state can be obtained by polling a + # Job or subscribing to events using EventGrid. + # + class Job < ProxyResource + + include MsRestAzure + + # @return [DateTime] The UTC date and time when the Job was created, in + # 'YYYY-MM-DDThh:mm:ssZ' format. + attr_accessor :created + + # @return [JobState] The current state of the job. Possible values + # include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', + # 'Queued', 'Scheduled' + attr_accessor :state + + # @return [String] Optional customer supplied description of the Job. + attr_accessor :description + + # @return [JobInput] The inputs for the Job. + attr_accessor :input + + # @return [DateTime] The UTC date and time when the Job was last updated, + # in 'YYYY-MM-DDThh:mm:ssZ' format. + attr_accessor :last_modified + + # @return [Array] The outputs for the Job. + attr_accessor :outputs + + # @return [Priority] Priority with which the job should be processed. + # Higher priority jobs are processed before lower priority jobs. If not + # set, the default is normal. Possible values include: 'Low', 'Normal', + # 'High' + attr_accessor :priority + + # @return [Hash{String => String}] Customer provided correlation data + # that will be returned in Job completed events. + attr_accessor :correlation_data + + + # + # Mapper for Job class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Job', + type: { + name: 'Composite', + class_name: 'Job', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'properties.state', + type: { + name: 'Enum', + module: 'JobState' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + input: { + required: true, + serialized_name: 'properties.input', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'JobInput', + class_name: 'JobInput' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + }, + outputs: { + required: true, + serialized_name: 'properties.outputs', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobOutputElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'JobOutput', + class_name: 'JobOutput' + } + } + } + }, + priority: { + required: false, + serialized_name: 'properties.priority', + type: { + name: 'Enum', + module: 'Priority' + } + }, + correlation_data: { + required: false, + serialized_name: 'properties.correlationData', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_collection.rb new file mode 100644 index 0000000000..fc3f3e5cf2 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of Job items. + # + class JobCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of Job items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [JobCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for JobCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobCollection', + type: { + name: 'Composite', + class_name: 'JobCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobElementType', + type: { + name: 'Composite', + class_name: 'Job' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error.rb new file mode 100644 index 0000000000..17f728bed0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error.rb @@ -0,0 +1,110 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Details of JobOutput errors. + # + class JobError + + include MsRestAzure + + # @return [JobErrorCode] Error code describing the error. Possible values + # include: 'ServiceError', 'ServiceTransientError', + # 'DownloadNotAccessible', 'DownloadTransientError', + # 'UploadNotAccessible', 'UploadTransientError', + # 'ConfigurationUnsupported', 'ContentMalformed', 'ContentUnsupported' + attr_accessor :code + + # @return [String] A human-readable language-dependent representation of + # the error. + attr_accessor :message + + # @return [JobErrorCategory] Helps with categorization of errors. + # Possible values include: 'Service', 'Download', 'Upload', + # 'Configuration', 'Content' + attr_accessor :category + + # @return [JobRetry] Indicates that it may be possible to retry the Job. + # If retry is unsuccessful, please contact Azure support via Azure + # Portal. Possible values include: 'DoNotRetry', 'MayRetry' + attr_accessor :retry_property + + # @return [Array] An array of details about specific + # errors that led to this reported error. + attr_accessor :details + + + # + # Mapper for JobError class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobError', + type: { + name: 'Composite', + class_name: 'JobError', + model_properties: { + code: { + required: false, + read_only: true, + serialized_name: 'code', + type: { + name: 'Enum', + module: 'JobErrorCode' + } + }, + message: { + required: false, + read_only: true, + serialized_name: 'message', + type: { + name: 'String' + } + }, + category: { + required: false, + read_only: true, + serialized_name: 'category', + type: { + name: 'Enum', + module: 'JobErrorCategory' + } + }, + retry_property: { + required: false, + read_only: true, + serialized_name: 'retry', + type: { + name: 'Enum', + module: 'JobRetry' + } + }, + details: { + required: false, + read_only: true, + serialized_name: 'details', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobErrorDetailElementType', + type: { + name: 'Composite', + class_name: 'JobErrorDetail' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_category.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_category.rb new file mode 100644 index 0000000000..e81ef2fb92 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_category.rb @@ -0,0 +1,19 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for JobErrorCategory + # + module JobErrorCategory + Service = "Service" + Download = "Download" + Upload = "Upload" + Configuration = "Configuration" + Content = "Content" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_code.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_code.rb new file mode 100644 index 0000000000..6e95145cf7 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_code.rb @@ -0,0 +1,23 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for JobErrorCode + # + module JobErrorCode + ServiceError = "ServiceError" + ServiceTransientError = "ServiceTransientError" + DownloadNotAccessible = "DownloadNotAccessible" + DownloadTransientError = "DownloadTransientError" + UploadNotAccessible = "UploadNotAccessible" + UploadTransientError = "UploadTransientError" + ConfigurationUnsupported = "ConfigurationUnsupported" + ContentMalformed = "ContentMalformed" + ContentUnsupported = "ContentUnsupported" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb new file mode 100644 index 0000000000..e4a6d59d44 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_error_detail.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Details of JobOutput errors. + # + class JobErrorDetail + + include MsRestAzure + + # @return [String] Code describing the error detail. + attr_accessor :code + + # @return [String] A human-readable representation of the error. + attr_accessor :message + + + # + # Mapper for JobErrorDetail class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobErrorDetail', + type: { + name: 'Composite', + class_name: 'JobErrorDetail', + model_properties: { + code: { + required: false, + read_only: true, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + read_only: true, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.rb new file mode 100644 index 0000000000..1d5ae0f2a8 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base class for inputs to a Job. + # + class JobInput + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.JobInputClip"] = "JobInputClip" + @@discriminatorMap["#Microsoft.Media.JobInputs"] = "JobInputs" + @@discriminatorMap["#Microsoft.Media.JobInputAsset"] = "JobInputAsset" + @@discriminatorMap["#Microsoft.Media.JobInputHttp"] = "JobInputHttp" + + def initialize + @@odatatype = "JobInput" + end + + attr_accessor :@odatatype + + # @return [String] A label that is assigned to a JobInput, that is used + # to satisfy a reference used in the Transform. For example, a Transform + # can be authored so as to take an image file with the label 'xyz' and + # apply it as an overlay onto the input video before it is encoded. When + # submitting a Job, exactly one of the JobInputs should be the image + # file, and it should have the label 'xyz'. + attr_accessor :label + + + # + # Mapper for JobInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobInput', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'JobInput', + class_name: 'JobInput', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb new file mode 100644 index 0000000000..bb3b596f45 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb @@ -0,0 +1,79 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents an Asset for input into a Job. + # + class JobInputAsset < JobInputClip + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JobInputAsset" + end + + attr_accessor :@odatatype + + # @return [String] The name of the input Asset. + attr_accessor :asset_name + + + # + # Mapper for JobInputAsset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JobInputAsset', + type: { + name: 'Composite', + class_name: 'JobInputAsset', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + files: { + required: false, + serialized_name: 'files', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + asset_name: { + required: true, + serialized_name: 'assetName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb new file mode 100644 index 0000000000..de6f01a479 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb @@ -0,0 +1,72 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents input files for a Job. + # + class JobInputClip < JobInput + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JobInputClip" + end + + attr_accessor :@odatatype + + # @return [Array] List of files. Required for JobInputHttp. + attr_accessor :files + + + # + # Mapper for JobInputClip class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JobInputClip', + type: { + name: 'Composite', + class_name: 'JobInputClip', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + files: { + required: false, + serialized_name: 'files', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_http.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_http.rb new file mode 100644 index 0000000000..f8fa0fbb4b --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_input_http.rb @@ -0,0 +1,81 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents HTTPS job input. + # + class JobInputHttp < JobInputClip + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JobInputHttp" + end + + attr_accessor :@odatatype + + # @return [String] Base URI for HTTPS job input. It will be concatenated + # with provided file names. If no base uri is given, then the provided + # file list is assumed to be fully qualified uris. + attr_accessor :base_uri + + + # + # Mapper for JobInputHttp class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JobInputHttp', + type: { + name: 'Composite', + class_name: 'JobInputHttp', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + files: { + required: false, + serialized_name: 'files', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + base_uri: { + required: false, + serialized_name: 'baseUri', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb new file mode 100644 index 0000000000..5cef2595e1 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes a list of of inputs to a Job. + # + class JobInputs < JobInput + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JobInputs" + end + + attr_accessor :@odatatype + + # @return [Array] List of inputs to a Job. + attr_accessor :inputs + + + # + # Mapper for JobInputs class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JobInputs', + type: { + name: 'Composite', + class_name: 'JobInputs', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + inputs: { + required: false, + serialized_name: 'inputs', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobInputElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'JobInput', + class_name: 'JobInput' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output.rb new file mode 100644 index 0000000000..5510a48318 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output.rb @@ -0,0 +1,86 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes all the properties of a JobOutput. + # + class JobOutput + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.JobOutputAsset"] = "JobOutputAsset" + + def initialize + @@odatatype = "JobOutput" + end + + attr_accessor :@odatatype + + # @return [JobError] If the JobOutput is in the Error state, it contains + # the details of the error. + attr_accessor :error + + # @return [JobState] Describes the state of the JobOutput. Possible + # values include: 'Canceled', 'Canceling', 'Error', 'Finished', + # 'Processing', 'Queued', 'Scheduled' + attr_accessor :state + + # @return [Integer] If the JobOutput is in a Processing state, this + # contains the job completion percentage. The value is an estimate and + # not intended to be used to predict job completion times. To determine + # if the JobOutput is complete, use the State property. + attr_accessor :progress + + + # + # Mapper for JobOutput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobOutput', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'JobOutput', + class_name: 'JobOutput', + model_properties: { + error: { + required: false, + read_only: true, + serialized_name: 'error', + type: { + name: 'Composite', + class_name: 'JobError' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'state', + type: { + name: 'Enum', + module: 'JobState' + } + }, + progress: { + required: false, + read_only: true, + serialized_name: 'progress', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb new file mode 100644 index 0000000000..480a2b3206 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents an Asset used as a JobOutput. + # + class JobOutputAsset < JobOutput + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JobOutputAsset" + end + + attr_accessor :@odatatype + + # @return [String] The name of the output Asset. + attr_accessor :asset_name + + + # + # Mapper for JobOutputAsset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JobOutputAsset', + type: { + name: 'Composite', + class_name: 'JobOutputAsset', + model_properties: { + error: { + required: false, + read_only: true, + serialized_name: 'error', + type: { + name: 'Composite', + class_name: 'JobError' + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'state', + type: { + name: 'Enum', + module: 'JobState' + } + }, + progress: { + required: false, + read_only: true, + serialized_name: 'progress', + type: { + name: 'Number' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + asset_name: { + required: true, + serialized_name: 'assetName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_retry.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_retry.rb new file mode 100644 index 0000000000..f8f8267ab0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_retry.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for JobRetry + # + module JobRetry + DoNotRetry = "DoNotRetry" + MayRetry = "MayRetry" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_state.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_state.rb new file mode 100644 index 0000000000..7ed7857728 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_state.rb @@ -0,0 +1,21 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for JobState + # + module JobState + Canceled = "Canceled" + Canceling = "Canceling" + Error = "Error" + Finished = "Finished" + Processing = "Processing" + Queued = "Queued" + Scheduled = "Scheduled" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_format.rb new file mode 100644 index 0000000000..e5d7a1a1e5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings for producing JPEG thumbnails. + # + class JpgFormat < ImageFormat + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JpgFormat" + end + + attr_accessor :@odatatype + + + # + # Mapper for JpgFormat class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JpgFormat', + type: { + name: 'Composite', + class_name: 'JpgFormat', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_image.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_image.rb new file mode 100644 index 0000000000..dcc34068e9 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_image.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for producing a series of JPEG images from the + # input video. + # + class JpgImage < Image + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JpgImage" + end + + attr_accessor :@odatatype + + # @return [Array] A collection of output JPEG image layers to + # be produced by the encoder. + attr_accessor :layers + + + # + # Mapper for JpgImage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JpgImage', + type: { + name: 'Composite', + class_name: 'JpgImage', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_frame_interval: { + required: false, + serialized_name: 'keyFrameInterval', + type: { + name: 'TimeSpan' + } + }, + stretch_mode: { + required: false, + serialized_name: 'stretchMode', + type: { + name: 'Enum', + module: 'StretchMode' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'String' + } + }, + step: { + required: false, + serialized_name: 'step', + type: { + name: 'String' + } + }, + range: { + required: false, + serialized_name: 'range', + type: { + name: 'String' + } + }, + layers: { + required: false, + serialized_name: 'layers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JpgLayerElementType', + type: { + name: 'Composite', + class_name: 'JpgLayer' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb new file mode 100644 index 0000000000..6a747b85e4 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb @@ -0,0 +1,80 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings to produce a JPEG image from the input video. + # + class JpgLayer < Layer + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.JpgLayer" + end + + attr_accessor :@odatatype + + # @return [Integer] The compression quality of the JPEG output. Range is + # from 0-100 and the default is 70. + attr_accessor :quality + + + # + # Mapper for JpgLayer class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.JpgLayer', + type: { + name: 'Composite', + class_name: 'JpgLayer', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + quality: { + required: false, + serialized_name: 'quality', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/layer.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/layer.rb new file mode 100644 index 0000000000..01a624851e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/layer.rb @@ -0,0 +1,89 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The encoder can be configured to produce video and/or images (thumbnails) + # at different resolutions, by specifying a layer for each desired + # resolution. A layer represents the properties for the video or image at a + # resolution. + # + class Layer + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.VideoLayer"] = "VideoLayer" + @@discriminatorMap["#Microsoft.Media.H264Layer"] = "H264Layer" + @@discriminatorMap["#Microsoft.Media.JpgLayer"] = "JpgLayer" + @@discriminatorMap["#Microsoft.Media.PngLayer"] = "PngLayer" + + def initialize + @@odatatype = "Layer" + end + + attr_accessor :@odatatype + + # @return [String] The width of the output video for this layer. The + # value can be absolute (in pixels) or relative (in percentage). For + # example 50% means the output video has half as many pixels in width as + # the input. + attr_accessor :width + + # @return [String] The height of the output video for this layer. The + # value can be absolute (in pixels) or relative (in percentage). For + # example 50% means the output video has half as many pixels in height as + # the input. + attr_accessor :height + + # @return [String] The alphanumeric label for this layer, which can be + # used in multiplexing different video and audio layers, or in naming the + # output file. + attr_accessor :label + + + # + # Mapper for Layer class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Layer', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Layer', + class_name: 'Layer', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb new file mode 100644 index 0000000000..c400e8e0b7 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The parameters to the list SAS requet. + # + class ListContainerSasInput + + include MsRestAzure + + # @return [AssetContainerPermission] The permissions to set on the SAS + # URL. Possible values include: 'Read', 'ReadWrite', 'ReadWriteDelete' + attr_accessor :permissions + + # @return [DateTime] The SAS URL expiration time. This must be less than + # 24 hours from the current time. + attr_accessor :expiry_time + + + # + # Mapper for ListContainerSasInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ListContainerSasInput', + type: { + name: 'Composite', + class_name: 'ListContainerSasInput', + model_properties: { + permissions: { + required: false, + serialized_name: 'permissions', + type: { + name: 'Enum', + module: 'AssetContainerPermission' + } + }, + expiry_time: { + required: false, + serialized_name: 'expiryTime', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb new file mode 100644 index 0000000000..b6afe76698 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class of response for listContentKeys action + # + class ListContentKeysResponse + + include MsRestAzure + + # @return [Array] ContentKeys used by current + # Streaming Locator + attr_accessor :content_keys + + + # + # Mapper for ListContentKeysResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ListContentKeysResponse', + type: { + name: 'Composite', + class_name: 'ListContentKeysResponse', + model_properties: { + content_keys: { + required: false, + serialized_name: 'contentKeys', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingLocatorContentKeyElementType', + type: { + name: 'Composite', + class_name: 'StreamingLocatorContentKey' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb new file mode 100644 index 0000000000..7dc63d715e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_paths_response.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class of response for listPaths action + # + class ListPathsResponse + + include MsRestAzure + + # @return [Array] Streaming Paths supported by current + # Streaming Locator + attr_accessor :streaming_paths + + # @return [Array] Download Paths supported by current Streaming + # Locator + attr_accessor :download_paths + + + # + # Mapper for ListPathsResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ListPathsResponse', + type: { + name: 'Composite', + class_name: 'ListPathsResponse', + model_properties: { + streaming_paths: { + required: false, + serialized_name: 'streamingPaths', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingPathElementType', + type: { + name: 'Composite', + class_name: 'StreamingPath' + } + } + } + }, + download_paths: { + required: false, + serialized_name: 'downloadPaths', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event.rb new file mode 100644 index 0000000000..0a2d3d4d87 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event.rb @@ -0,0 +1,208 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Event. + # + class LiveEvent < TrackedResource + + include MsRestAzure + + # @return [String] The Live Event description. + attr_accessor :description + + # @return [LiveEventInput] The Live Event input. + attr_accessor :input + + # @return [LiveEventPreview] The Live Event preview. + attr_accessor :preview + + # @return [LiveEventEncoding] The Live Event encoding. + attr_accessor :encoding + + # @return [String] The provisioning state of the Live Event. + attr_accessor :provisioning_state + + # @return [LiveEventResourceState] The resource state of the Live Event. + # Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping', + # 'Deleting' + attr_accessor :resource_state + + # @return [CrossSiteAccessPolicies] The Live Event access policies. + attr_accessor :cross_site_access_policies + + # @return [Boolean] The Live Event vanity URL flag. + attr_accessor :vanity_url + + # @return [Array] The stream options. + attr_accessor :stream_options + + # @return [DateTime] The exact time the Live Event was created. + attr_accessor :created + + # @return [DateTime] The exact time the Live Event was last modified. + attr_accessor :last_modified + + + # + # Mapper for LiveEvent class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEvent', + type: { + name: 'Composite', + class_name: 'LiveEvent', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + input: { + required: true, + serialized_name: 'properties.input', + type: { + name: 'Composite', + class_name: 'LiveEventInput' + } + }, + preview: { + required: false, + serialized_name: 'properties.preview', + type: { + name: 'Composite', + class_name: 'LiveEventPreview' + } + }, + encoding: { + required: false, + serialized_name: 'properties.encoding', + type: { + name: 'Composite', + class_name: 'LiveEventEncoding' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + resource_state: { + required: false, + read_only: true, + serialized_name: 'properties.resourceState', + type: { + name: 'Enum', + module: 'LiveEventResourceState' + } + }, + cross_site_access_policies: { + required: false, + serialized_name: 'properties.crossSiteAccessPolicies', + type: { + name: 'Composite', + class_name: 'CrossSiteAccessPolicies' + } + }, + vanity_url: { + required: false, + serialized_name: 'properties.vanityUrl', + type: { + name: 'Boolean' + } + }, + stream_options: { + required: false, + serialized_name: 'properties.streamOptions', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamOptionsFlagElementType', + type: { + name: 'Enum', + module: 'StreamOptionsFlag' + } + } + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb new file mode 100644 index 0000000000..8c41cca6d5 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_action_input.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The LiveEvent action input parameter definition. + # + class LiveEventActionInput + + include MsRestAzure + + # @return [Boolean] The flag indicates if remove LiveOutputs on Stop. + attr_accessor :remove_outputs_on_stop + + + # + # Mapper for LiveEventActionInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventActionInput', + type: { + name: 'Composite', + class_name: 'LiveEventActionInput', + model_properties: { + remove_outputs_on_stop: { + required: false, + serialized_name: 'removeOutputsOnStop', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb new file mode 100644 index 0000000000..dca8fdce02 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Event encoding. + # + class LiveEventEncoding + + include MsRestAzure + + # @return [LiveEventEncodingType] The encoding type for Live Event. + # Possible values include: 'None', 'Basic' + attr_accessor :encoding_type + + # @return [String] The encoding preset name. + attr_accessor :preset_name + + + # + # Mapper for LiveEventEncoding class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventEncoding', + type: { + name: 'Composite', + class_name: 'LiveEventEncoding', + model_properties: { + encoding_type: { + required: false, + serialized_name: 'encodingType', + type: { + name: 'Enum', + module: 'LiveEventEncodingType' + } + }, + preset_name: { + required: false, + serialized_name: 'presetName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb new file mode 100644 index 0000000000..6effe31794 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for LiveEventEncodingType + # + module LiveEventEncodingType + None = "None" + Basic = "Basic" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb new file mode 100644 index 0000000000..52ac44e03f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Event endpoint. + # + class LiveEventEndpoint + + include MsRestAzure + + # @return [String] The endpoint protocol. + attr_accessor :protocol + + # @return [String] The endpoint URL. + attr_accessor :url + + + # + # Mapper for LiveEventEndpoint class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventEndpoint', + type: { + name: 'Composite', + class_name: 'LiveEventEndpoint', + model_properties: { + protocol: { + required: false, + serialized_name: 'protocol', + type: { + name: 'String' + } + }, + url: { + required: false, + serialized_name: 'url', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb new file mode 100644 index 0000000000..45b034e059 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb @@ -0,0 +1,86 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Event input. + # + class LiveEventInput + + include MsRestAzure + + # @return [LiveEventInputProtocol] The streaming protocol for the Live + # Event. Possible values include: 'FragmentedMP4', 'RTMP' + attr_accessor :streaming_protocol + + # @return [String] ISO 8601 timespan duration of the key frame interval + # duration. + attr_accessor :key_frame_interval_duration + + # @return [String] The access token. + attr_accessor :access_token + + # @return [Array] The input endpoints for the Live + # Event. + attr_accessor :endpoints + + + # + # Mapper for LiveEventInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventInput', + type: { + name: 'Composite', + class_name: 'LiveEventInput', + model_properties: { + streaming_protocol: { + required: true, + serialized_name: 'streamingProtocol', + type: { + name: 'Enum', + module: 'LiveEventInputProtocol' + } + }, + key_frame_interval_duration: { + required: false, + serialized_name: 'keyFrameIntervalDuration', + type: { + name: 'String' + } + }, + access_token: { + required: false, + serialized_name: 'accessToken', + type: { + name: 'String' + } + }, + endpoints: { + required: false, + serialized_name: 'endpoints', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LiveEventEndpointElementType', + type: { + name: 'Composite', + class_name: 'LiveEventEndpoint' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input_protocol.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input_protocol.rb new file mode 100644 index 0000000000..4d706d646e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_input_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for LiveEventInputProtocol + # + module LiveEventInputProtocol + FragmentedMP4 = "FragmentedMP4" + RTMP = "RTMP" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb new file mode 100644 index 0000000000..1d0ca37feb --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb @@ -0,0 +1,105 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The LiveEvent list result. + # + class LiveEventListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The result of the List Live Event operation. + attr_accessor :value + + # @return [Integer] The number of result. + attr_accessor :odatacount + + # @return [String] Th link to the next set of results. Not empty if value + # contains incomplete list of Live Outputs. + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [LiveEventListResult] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for LiveEventListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventListResult', + type: { + name: 'Composite', + class_name: 'LiveEventListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LiveEventElementType', + type: { + name: 'Composite', + class_name: 'LiveEvent' + } + } + } + }, + odatacount: { + required: false, + serialized_name: '@odata\\.count', + type: { + name: 'Number' + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb new file mode 100644 index 0000000000..9ef01a6624 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Event preview. + # + class LiveEventPreview + + include MsRestAzure + + # @return [Array] The endpoints for preview. + attr_accessor :endpoints + + # @return [LiveEventPreviewAccessControl] The access control for + # LiveEvent preview. + attr_accessor :access_control + + # @return [String] The preview locator Guid. + attr_accessor :preview_locator + + # @return [String] The name of streaming policy used for LiveEvent + # preview + attr_accessor :streaming_policy_name + + # @return [String] An Alternative Media Identifier associated with the + # preview url. This identifier can be used to distinguish the preview of + # different live events for authorization purposes in the + # CustomLicenseAcquisitionUrlTemplate or the + # CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the + # StreamingPolicyName field. + attr_accessor :alternative_media_id + + + # + # Mapper for LiveEventPreview class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventPreview', + type: { + name: 'Composite', + class_name: 'LiveEventPreview', + model_properties: { + endpoints: { + required: false, + serialized_name: 'endpoints', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LiveEventEndpointElementType', + type: { + name: 'Composite', + class_name: 'LiveEventEndpoint' + } + } + } + }, + access_control: { + required: false, + serialized_name: 'accessControl', + type: { + name: 'Composite', + class_name: 'LiveEventPreviewAccessControl' + } + }, + preview_locator: { + required: false, + serialized_name: 'previewLocator', + type: { + name: 'String' + } + }, + streaming_policy_name: { + required: false, + serialized_name: 'streamingPolicyName', + type: { + name: 'String' + } + }, + alternative_media_id: { + required: false, + serialized_name: 'alternativeMediaId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb new file mode 100644 index 0000000000..72ab6241ce --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The IP access control for Live Event preview. + # + class LiveEventPreviewAccessControl + + include MsRestAzure + + # @return [IPAccessControl] The IP access control properties. + attr_accessor :ip + + + # + # Mapper for LiveEventPreviewAccessControl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveEventPreviewAccessControl', + type: { + name: 'Composite', + class_name: 'LiveEventPreviewAccessControl', + model_properties: { + ip: { + required: false, + serialized_name: 'ip', + type: { + name: 'Composite', + class_name: 'IPAccessControl' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_resource_state.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_resource_state.rb new file mode 100644 index 0000000000..4d49b7a726 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_event_resource_state.rb @@ -0,0 +1,19 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for LiveEventResourceState + # + module LiveEventResourceState + Stopped = "Stopped" + Starting = "Starting" + Running = "Running" + Stopping = "Stopping" + Deleting = "Deleting" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.rb new file mode 100644 index 0000000000..3b49ae1ee0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The Live Output. + # + class LiveOutput < ProxyResource + + include MsRestAzure + + # @return [String] The description of the Live Output. + attr_accessor :description + + # @return [String] The asset name. + attr_accessor :asset_name + + # @return [Duration] ISO 8601 timespan duration of the archive window + # length. This is duration that customer want to retain the recorded + # content. + attr_accessor :archive_window_length + + # @return [String] The manifest file name. + attr_accessor :manifest_name + + # @return [Hls] The HLS configuration. + attr_accessor :hls + + # @return [Integer] The output snapshot time. + attr_accessor :output_snap_time + + # @return [DateTime] The exact time the Live Output was created. + attr_accessor :created + + # @return [DateTime] The exact time the Live Output was last modified. + attr_accessor :last_modified + + # @return [String] The provisioning state of the Live Output. + attr_accessor :provisioning_state + + # @return [LiveOutputResourceState] The resource state of the Live + # Output. Possible values include: 'Creating', 'Running', 'Deleting' + attr_accessor :resource_state + + + # + # Mapper for LiveOutput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveOutput', + type: { + name: 'Composite', + class_name: 'LiveOutput', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + asset_name: { + required: true, + serialized_name: 'properties.assetName', + type: { + name: 'String' + } + }, + archive_window_length: { + required: true, + serialized_name: 'properties.archiveWindowLength', + type: { + name: 'TimeSpan' + } + }, + manifest_name: { + required: false, + serialized_name: 'properties.manifestName', + type: { + name: 'String' + } + }, + hls: { + required: false, + serialized_name: 'properties.hls', + type: { + name: 'Composite', + class_name: 'Hls' + } + }, + output_snap_time: { + required: false, + serialized_name: 'properties.outputSnapTime', + type: { + name: 'Number' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + resource_state: { + required: false, + read_only: true, + serialized_name: 'properties.resourceState', + type: { + name: 'Enum', + module: 'LiveOutputResourceState' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb new file mode 100644 index 0000000000..ccb557e5be --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb @@ -0,0 +1,106 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The LiveOutput list result. + # + class LiveOutputListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The result of the List Live Output + # operation. + attr_accessor :value + + # @return [Integer] The number of result. + attr_accessor :odatacount + + # @return [String] Th link to the next set of results. Not empty if value + # contains incomplete list of Live Outputs. + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [LiveOutputListResult] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for LiveOutputListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LiveOutputListResult', + type: { + name: 'Composite', + class_name: 'LiveOutputListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LiveOutputElementType', + type: { + name: 'Composite', + class_name: 'LiveOutput' + } + } + } + }, + odatacount: { + required: false, + serialized_name: '@odata\\.count', + type: { + name: 'Number' + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_resource_state.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_resource_state.rb new file mode 100644 index 0000000000..bf92b9b618 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/live_output_resource_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for LiveOutputResourceState + # + module LiveOutputResourceState + Creating = "Creating" + Running = "Running" + Deleting = "Deleting" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/location.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/location.rb new file mode 100644 index 0000000000..626d15ea72 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/location.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Model object. + # + # + class Location + + include MsRestAzure + + # @return [String] + attr_accessor :name + + + # + # Mapper for Location class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Location', + type: { + name: 'Composite', + class_name: 'Location', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service.rb new file mode 100644 index 0000000000..cfa72a45ee --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service.rb @@ -0,0 +1,108 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Media Services account. + # + class MediaService < TrackedResource + + include MsRestAzure + + # @return The Media Services account ID. + attr_accessor :media_service_id + + # @return [Array] The storage accounts for this resource. + attr_accessor :storage_accounts + + + # + # Mapper for MediaService class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MediaService', + type: { + name: 'Composite', + class_name: 'MediaService', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + media_service_id: { + required: false, + read_only: true, + serialized_name: 'properties.mediaServiceId', + type: { + name: 'String' + } + }, + storage_accounts: { + required: false, + serialized_name: 'properties.storageAccounts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StorageAccountElementType', + type: { + name: 'Composite', + class_name: 'StorageAccount' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb new file mode 100644 index 0000000000..80b9081bdc --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of MediaService items. + # + class MediaServiceCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of MediaService items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [MediaServiceCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for MediaServiceCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MediaServiceCollection', + type: { + name: 'Composite', + class_name: 'MediaServiceCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MediaServiceElementType', + type: { + name: 'Composite', + class_name: 'MediaService' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/mp4format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/mp4format.rb new file mode 100644 index 0000000000..ce04ac384e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/mp4format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for an output ISO MP4 file. + # + class Mp4Format < MultiBitrateFormat + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.Mp4Format" + end + + attr_accessor :@odatatype + + + # + # Mapper for Mp4Format class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.Mp4Format', + type: { + name: 'Composite', + class_name: 'Mp4Format', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + output_files: { + required: false, + serialized_name: 'outputFiles', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OutputFileElementType', + type: { + name: 'Composite', + class_name: 'OutputFile' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb new file mode 100644 index 0000000000..2bc7862456 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb @@ -0,0 +1,79 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for producing a collection of GOP aligned + # multi-bitrate files. The default behavior is to produce one output file + # for each video layer which is muxed together with all the audios. The + # exact output files produced can be controlled by specifying the + # outputFiles collection. + # + class MultiBitrateFormat < Format + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.MultiBitrateFormat" + end + + attr_accessor :@odatatype + + # @return [Array] The list of output files to produce. Each + # entry in the list is a set of audio and video layer labels to be muxed + # together . + attr_accessor :output_files + + + # + # Mapper for MultiBitrateFormat class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.MultiBitrateFormat', + type: { + name: 'Composite', + class_name: 'MultiBitrateFormat', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + output_files: { + required: false, + serialized_name: 'outputFiles', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OutputFileElementType', + type: { + name: 'Composite', + class_name: 'OutputFile' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/no_encryption.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/no_encryption.rb new file mode 100644 index 0000000000..a9192c37fa --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/no_encryption.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class for NoEncryption scheme + # + class NoEncryption + + include MsRestAzure + + # @return [EnabledProtocols] Representing supported protocols + attr_accessor :enabled_protocols + + + # + # Mapper for NoEncryption class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NoEncryption', + type: { + name: 'Composite', + class_name: 'NoEncryption', + model_properties: { + enabled_protocols: { + required: false, + serialized_name: 'enabledProtocols', + type: { + name: 'Composite', + class_name: 'EnabledProtocols' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/odata_error.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/odata_error.rb new file mode 100644 index 0000000000..cffe7883d0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/odata_error.rb @@ -0,0 +1,83 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Information about an error. + # + class ODataError + + include MsRestAzure + + # @return [String] A language-independent error name. + attr_accessor :code + + # @return [String] The error message. + attr_accessor :message + + # @return [String] The target of the error (for example, the name of the + # property in error). + attr_accessor :target + + # @return [Array] The error details. + attr_accessor :details + + + # + # Mapper for ODataError class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ODataError', + type: { + name: 'Composite', + class_name: 'ODataError', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + }, + target: { + required: false, + serialized_name: 'target', + type: { + name: 'String' + } + }, + details: { + required: false, + serialized_name: 'details', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ODataErrorElementType', + type: { + name: 'Composite', + class_name: 'ODataError' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/on_error_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/on_error_type.rb new file mode 100644 index 0000000000..16936d516c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/on_error_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for OnErrorType + # + module OnErrorType + StopProcessingJob = "StopProcessingJob" + ContinueJob = "ContinueJob" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation.rb new file mode 100644 index 0000000000..7bfb4c350e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # An operation. + # + class Operation + + include MsRestAzure + + # @return [String] The operation name. + attr_accessor :name + + # @return [OperationDisplay] The operation display name. + attr_accessor :display + + + # + # Mapper for Operation class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation', + type: { + name: 'Composite', + class_name: 'Operation', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationDisplay' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_collection.rb new file mode 100644 index 0000000000..bffe306907 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of Operation items. + # + class OperationCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of Operation items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [OperationCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for OperationCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationCollection', + type: { + name: 'Composite', + class_name: 'OperationCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_display.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_display.rb new file mode 100644 index 0000000000..1e333a058d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/operation_display.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Operation details. + # + class OperationDisplay + + include MsRestAzure + + # @return [String] The service provider. + attr_accessor :provider + + # @return [String] Resource on which the operation is performed. + attr_accessor :resource + + # @return [String] The operation type. + attr_accessor :operation + + # @return [String] The operation description. + attr_accessor :description + + + # + # Mapper for OperationDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationDisplay', + type: { + name: 'Composite', + class_name: 'OperationDisplay', + model_properties: { + provider: { + required: false, + serialized_name: 'provider', + type: { + name: 'String' + } + }, + resource: { + required: false, + serialized_name: 'resource', + type: { + name: 'String' + } + }, + operation: { + required: false, + serialized_name: 'operation', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'description', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/output_file.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/output_file.rb new file mode 100644 index 0000000000..190973b355 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/output_file.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Represents an output file produced. + # + class OutputFile + + include MsRestAzure + + # @return [Array] The list of labels that describe how the + # encoder should multiplex video and audio into an output file. For + # example, if the encoder is producing two video layers with labels v1 + # and v2, and one audio layer with label a1, then an array like '[v1, + # a1]' tells the encoder to produce an output file with the video track + # represented by v1 and the audio track represented by a1. + attr_accessor :labels + + + # + # Mapper for OutputFile class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OutputFile', + type: { + name: 'Composite', + class_name: 'OutputFile', + model_properties: { + labels: { + required: false, + serialized_name: 'labels', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/overlay.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/overlay.rb new file mode 100644 index 0000000000..6416996d67 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/overlay.rb @@ -0,0 +1,125 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base type for all overlays - image, audio or video. + # + class Overlay + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.AudioOverlay"] = "AudioOverlay" + @@discriminatorMap["#Microsoft.Media.VideoOverlay"] = "VideoOverlay" + + def initialize + @@odatatype = "Overlay" + end + + attr_accessor :@odatatype + + # @return [String] The label of the job input which is to be used as an + # overlay. The Input must specify exactly one file. You can specify an + # image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, + # WMA or M4A file), or a video file. See https://aka.ms/mesformats for + # the complete list of supported audio and video file formats. + attr_accessor :input_label + + # @return [Duration] The start position, with reference to the input + # video, at which the overlay starts. The value should be in ISO 8601 + # format. For example, PT05S to start the overlay at 5 seconds in to the + # input video. If not specified the overlay starts from the beginning of + # the input video. + attr_accessor :start + + # @return [Duration] The position in the input video at which the overlay + # ends. The value should be in ISO 8601 duration format. For example, + # PT30S to end the overlay at 30 seconds in to the input video. If not + # specified the overlay will be applied until the end of the input video + # if inputLoop is true. Else, if inputLoop is false, then overlay will + # last as long as the duration of the overlay media. + attr_accessor :end_property + + # @return [Duration] The duration over which the overlay fades in onto + # the input video. The value should be in ISO 8601 duration format. If + # not specified the default behavior is to have no fade in (same as + # PT0S). + attr_accessor :fade_in_duration + + # @return [Duration] The duration over which the overlay fades out of the + # input video. The value should be in ISO 8601 duration format. If not + # specified the default behavior is to have no fade out (same as PT0S). + attr_accessor :fade_out_duration + + # @return [Float] The gain level of audio in the overlay. The value + # should be in the range [0, 1.0]. The default is 1.0. + attr_accessor :audio_gain_level + + + # + # Mapper for Overlay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Overlay', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Overlay', + class_name: 'Overlay', + model_properties: { + input_label: { + required: false, + serialized_name: 'inputLabel', + type: { + name: 'String' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'TimeSpan' + } + }, + end_property: { + required: false, + serialized_name: 'end', + type: { + name: 'TimeSpan' + } + }, + fade_in_duration: { + required: false, + serialized_name: 'fadeInDuration', + type: { + name: 'TimeSpan' + } + }, + fade_out_duration: { + required: false, + serialized_name: 'fadeOutDuration', + type: { + name: 'TimeSpan' + } + }, + audio_gain_level: { + required: false, + serialized_name: 'audioGainLevel', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_format.rb new file mode 100644 index 0000000000..f279b12d30 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings for producing PNG thumbnails. + # + class PngFormat < ImageFormat + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.PngFormat" + end + + attr_accessor :@odatatype + + + # + # Mapper for PngFormat class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.PngFormat', + type: { + name: 'Composite', + class_name: 'PngFormat', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_image.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_image.rb new file mode 100644 index 0000000000..68df98f7e1 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_image.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for producing a series of PNG images from the + # input video. + # + class PngImage < Image + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.PngImage" + end + + attr_accessor :@odatatype + + # @return [Array] A collection of output PNG image layers to be + # produced by the encoder. + attr_accessor :layers + + + # + # Mapper for PngImage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.PngImage', + type: { + name: 'Composite', + class_name: 'PngImage', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_frame_interval: { + required: false, + serialized_name: 'keyFrameInterval', + type: { + name: 'TimeSpan' + } + }, + stretch_mode: { + required: false, + serialized_name: 'stretchMode', + type: { + name: 'Enum', + module: 'StretchMode' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'String' + } + }, + step: { + required: false, + serialized_name: 'step', + type: { + name: 'String' + } + }, + range: { + required: false, + serialized_name: 'range', + type: { + name: 'String' + } + }, + layers: { + required: false, + serialized_name: 'layers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PngLayerElementType', + type: { + name: 'Composite', + class_name: 'PngLayer' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_layer.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_layer.rb new file mode 100644 index 0000000000..abd95fba55 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/png_layer.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings to produce a PNG image from the input video. + # + class PngLayer < Layer + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.PngLayer" + end + + attr_accessor :@odatatype + + + # + # Mapper for PngLayer class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.PngLayer', + type: { + name: 'Composite', + class_name: 'PngLayer', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb new file mode 100644 index 0000000000..88e2cbcde6 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/preset.rb @@ -0,0 +1,49 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Base type for all Presets, which define the recipe or instructions on how + # the input media files should be processed. + # + class Preset + + include MsRestAzure + + @@discriminatorMap = Hash.new + @@discriminatorMap["#Microsoft.Media.AudioAnalyzerPreset"] = "AudioAnalyzerPreset" + @@discriminatorMap["#Microsoft.Media.BuiltInStandardEncoderPreset"] = "BuiltInStandardEncoderPreset" + @@discriminatorMap["#Microsoft.Media.StandardEncoderPreset"] = "StandardEncoderPreset" + @@discriminatorMap["#Microsoft.Media.VideoAnalyzerPreset"] = "VideoAnalyzerPreset" + + def initialize + @@odatatype = "Preset" + end + + attr_accessor :@odatatype + + + # + # Mapper for Preset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Preset', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Preset', + class_name: 'Preset', + model_properties: { + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/priority.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/priority.rb new file mode 100644 index 0000000000..3a1b41b378 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/priority.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for Priority + # + module Priority + Low = "Low" + Normal = "Normal" + High = "High" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/provider.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/provider.rb new file mode 100644 index 0000000000..443127ea39 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/provider.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A resource provider. + # + class Provider + + include MsRestAzure + + # @return [String] The provider name. + attr_accessor :provider_name + + + # + # Mapper for Provider class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Provider', + type: { + name: 'Composite', + class_name: 'Provider', + model_properties: { + provider_name: { + required: true, + serialized_name: 'providerName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb new file mode 100644 index 0000000000..3b9134ffad --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/proxy_resource.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The resource model definition for a ARM proxy resource. + # + class ProxyResource < Resource + + include MsRestAzure + + + # + # Mapper for ProxyResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ProxyResource', + type: { + name: 'Composite', + class_name: 'ProxyResource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rectangle.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rectangle.rb new file mode 100644 index 0000000000..9940ecf96e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rectangle.rb @@ -0,0 +1,83 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties of a rectangular window applied to the input + # media before processing it. + # + class Rectangle + + include MsRestAzure + + # @return [String] The number of pixels from the left-margin. This can be + # absolute pixel value (e.g 100), or relative to the size of the video + # (For example, 50%). + attr_accessor :left + + # @return [String] The number of pixels from the top-margin. This can be + # absolute pixel value (e.g 100), or relative to the size of the video + # (For example, 50%). + attr_accessor :top + + # @return [String] The width of the rectangular region in pixels. This + # can be absolute pixel value (e.g 100), or relative to the size of the + # video (For example, 50%). + attr_accessor :width + + # @return [String] The height of the rectangular region in pixels. This + # can be absolute pixel value (e.g 100), or relative to the size of the + # video (For example, 50%). + attr_accessor :height + + + # + # Mapper for Rectangle class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Rectangle', + type: { + name: 'Composite', + class_name: 'Rectangle', + model_properties: { + left: { + required: false, + serialized_name: 'left', + type: { + name: 'String' + } + }, + top: { + required: false, + serialized_name: 'top', + type: { + name: 'String' + } + }, + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/resource.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/resource.rb new file mode 100644 index 0000000000..70c56c633f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/resource.rb @@ -0,0 +1,67 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The core properties of ARM resources. + # + class Resource + + include MsRestAzure + + # @return [String] Fully qualified resource ID for 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 + + + # + # Mapper for Resource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Resource', + type: { + name: 'Composite', + class_name: 'Resource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rotation.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rotation.rb new file mode 100644 index 0000000000..2e874ea8a6 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/rotation.rb @@ -0,0 +1,20 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for Rotation + # + module Rotation + Auto = "Auto" + None = "None" + Rotate0 = "Rotate0" + Rotate90 = "Rotate90" + Rotate180 = "Rotate180" + Rotate270 = "Rotate270" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb new file mode 100644 index 0000000000..5168c06312 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes all the settings to be used when encoding the input video with + # the Standard Encoder. + # + class StandardEncoderPreset < Preset + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.StandardEncoderPreset" + end + + attr_accessor :@odatatype + + # @return [Filters] One or more filtering operations that are applied to + # the input media before encoding. + attr_accessor :filters + + # @return [Array] The list of codecs to be used when encoding the + # input video. + attr_accessor :codecs + + # @return [Array] The list of outputs to be produced by the + # encoder. + attr_accessor :formats + + + # + # Mapper for StandardEncoderPreset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.StandardEncoderPreset', + type: { + name: 'Composite', + class_name: 'StandardEncoderPreset', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + filters: { + required: false, + serialized_name: 'filters', + type: { + name: 'Composite', + class_name: 'Filters' + } + }, + codecs: { + required: false, + serialized_name: 'codecs', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CodecElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Codec', + class_name: 'Codec' + } + } + } + }, + formats: { + required: false, + serialized_name: 'formats', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'FormatElementType', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Format', + class_name: 'Format' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account.rb new file mode 100644 index 0000000000..540bd064a7 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account.rb @@ -0,0 +1,60 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The storage account details. + # + class StorageAccount + + include MsRestAzure + + # @return [String] The ID of the storage account resource. Media Services + # relies on tables and queues as well as blobs, so the primary storage + # account must be a Standard Storage account (either + # Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage + # accounts can be added as secondary storage accounts. + attr_accessor :id + + # @return [StorageAccountType] The type of the storage account. Possible + # values include: 'Primary', 'Secondary' + attr_accessor :type + + + # + # Mapper for StorageAccount class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StorageAccount', + type: { + name: 'Composite', + class_name: 'StorageAccount', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + type: { + required: true, + serialized_name: 'type', + type: { + name: 'Enum', + module: 'StorageAccountType' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account_type.rb new file mode 100644 index 0000000000..15e4917a40 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/storage_account_type.rb @@ -0,0 +1,16 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StorageAccountType + # + module StorageAccountType + Primary = "Primary" + Secondary = "Secondary" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stream_options_flag.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stream_options_flag.rb new file mode 100644 index 0000000000..09161986a6 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stream_options_flag.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StreamOptionsFlag + # + module StreamOptionsFlag + Default = "Default" + LowLatency = "LowLatency" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb new file mode 100644 index 0000000000..8590cdb807 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb @@ -0,0 +1,260 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The StreamingEndpoint. + # + class StreamingEndpoint < TrackedResource + + include MsRestAzure + + # @return [String] The StreamingEndpoint description. + attr_accessor :description + + # @return [Integer] The number of scale units. + attr_accessor :scale_units + + # @return [String] AvailabilitySet name + attr_accessor :availability_set_name + + # @return [StreamingEndpointAccessControl] The access control definition + # of the StreamingEndpoint. + attr_accessor :access_control + + # @return [Integer] Max cache age + attr_accessor :max_cache_age + + # @return [Array] The custom host names of the StreamingEndpoint + attr_accessor :custom_host_names + + # @return [String] The StreamingEndpoint host name. + attr_accessor :host_name + + # @return [Boolean] The CDN enabled flag. + attr_accessor :cdn_enabled + + # @return [String] The CDN provider name. + attr_accessor :cdn_provider + + # @return [String] The CDN profile name. + attr_accessor :cdn_profile + + # @return [String] The provisioning state of the StreamingEndpoint. + attr_accessor :provisioning_state + + # @return [StreamingEndpointResourceState] The resource state of the + # StreamingEndpoint. Possible values include: 'Stopped', 'Starting', + # 'Running', 'Stopping', 'Deleting', 'Scaling' + attr_accessor :resource_state + + # @return [CrossSiteAccessPolicies] The StreamingEndpoint access + # policies. + attr_accessor :cross_site_access_policies + + # @return [DateTime] The free trial expiration time. + attr_accessor :free_trial_end_time + + # @return [DateTime] The exact time the StreamingEndpoint was created. + attr_accessor :created + + # @return [DateTime] The exact time the StreamingEndpoint was last + # modified. + attr_accessor :last_modified + + + # + # Mapper for StreamingEndpoint class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingEndpoint', + type: { + name: 'Composite', + class_name: 'StreamingEndpoint', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + scale_units: { + required: false, + serialized_name: 'properties.scaleUnits', + type: { + name: 'Number' + } + }, + availability_set_name: { + required: false, + serialized_name: 'properties.availabilitySetName', + type: { + name: 'String' + } + }, + access_control: { + required: false, + serialized_name: 'properties.accessControl', + type: { + name: 'Composite', + class_name: 'StreamingEndpointAccessControl' + } + }, + max_cache_age: { + required: false, + serialized_name: 'properties.maxCacheAge', + type: { + name: 'Number' + } + }, + custom_host_names: { + required: false, + serialized_name: 'properties.customHostNames', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + host_name: { + required: false, + read_only: true, + serialized_name: 'properties.hostName', + type: { + name: 'String' + } + }, + cdn_enabled: { + required: false, + serialized_name: 'properties.cdnEnabled', + type: { + name: 'Boolean' + } + }, + cdn_provider: { + required: false, + serialized_name: 'properties.cdnProvider', + type: { + name: 'String' + } + }, + cdn_profile: { + required: false, + serialized_name: 'properties.cdnProfile', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + resource_state: { + required: false, + read_only: true, + serialized_name: 'properties.resourceState', + type: { + name: 'Enum', + module: 'StreamingEndpointResourceState' + } + }, + cross_site_access_policies: { + required: false, + serialized_name: 'properties.crossSiteAccessPolicies', + type: { + name: 'Composite', + class_name: 'CrossSiteAccessPolicies' + } + }, + free_trial_end_time: { + required: false, + read_only: true, + serialized_name: 'properties.freeTrialEndTime', + type: { + name: 'DateTime' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb new file mode 100644 index 0000000000..f7746143b8 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # StreamingEndpoint access control definition. + # + class StreamingEndpointAccessControl + + include MsRestAzure + + # @return [AkamaiAccessControl] The access control of Akamai + attr_accessor :akamai + + # @return [IPAccessControl] The IP access control of the + # StreamingEndpoint. + attr_accessor :ip + + + # + # Mapper for StreamingEndpointAccessControl class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingEndpointAccessControl', + type: { + name: 'Composite', + class_name: 'StreamingEndpointAccessControl', + model_properties: { + akamai: { + required: false, + serialized_name: 'akamai', + type: { + name: 'Composite', + class_name: 'AkamaiAccessControl' + } + }, + ip: { + required: false, + serialized_name: 'ip', + type: { + name: 'Composite', + class_name: 'IPAccessControl' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb new file mode 100644 index 0000000000..7cb992349d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb @@ -0,0 +1,106 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The StreamingEndpoint list result. + # + class StreamingEndpointListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The result of the List + # StreamingEndpoint operation. + attr_accessor :value + + # @return [Integer] The number of result. + attr_accessor :odatacount + + # @return [String] Th link to the next set of results. Not empty if value + # contains incomplete list of StreamingEndpoints. + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [StreamingEndpointListResult] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for StreamingEndpointListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingEndpointListResult', + type: { + name: 'Composite', + class_name: 'StreamingEndpointListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingEndpointElementType', + type: { + name: 'Composite', + class_name: 'StreamingEndpoint' + } + } + } + }, + odatacount: { + required: false, + serialized_name: '@odata\\.count', + type: { + name: 'Number' + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_resource_state.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_resource_state.rb new file mode 100644 index 0000000000..ce311c062a --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_resource_state.rb @@ -0,0 +1,20 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StreamingEndpointResourceState + # + module StreamingEndpointResourceState + Stopped = "Stopped" + Starting = "Starting" + Running = "Running" + Stopping = "Stopping" + Deleting = "Deleting" + Scaling = "Scaling" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb new file mode 100644 index 0000000000..c5a15a205c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # scale units definition + # + class StreamingEntityScaleUnit + + include MsRestAzure + + # @return [Integer] ScaleUnit. The scale unit number of the + # StreamingEndpoint. + attr_accessor :scale_unit + + + # + # Mapper for StreamingEntityScaleUnit class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingEntityScaleUnit', + type: { + name: 'Composite', + class_name: 'StreamingEntityScaleUnit', + model_properties: { + scale_unit: { + required: false, + serialized_name: 'scaleUnit', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb new file mode 100644 index 0000000000..f8ae81fd54 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb @@ -0,0 +1,171 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Streaming Locator resource + # + class StreamingLocator < ProxyResource + + include MsRestAzure + + # @return [String] Asset Name + attr_accessor :asset_name + + # @return [DateTime] Creation time of Streaming Locator + attr_accessor :created + + # @return [DateTime] StartTime of Streaming Locator + attr_accessor :start_time + + # @return [DateTime] EndTime of Streaming Locator + attr_accessor :end_time + + # @return StreamingLocatorId of Streaming Locator + attr_accessor :streaming_locator_id + + # @return [String] Streaming policy name used by this streaming locator. + # Either specify the name of streaming policy you created or use one of + # the predefined streaming polices. The predefined streaming policies + # available are: 'Predefined_DownloadOnly', + # 'Predefined_ClearStreamingOnly', + # 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', + # 'Predefined_SecureStreaming' and + # 'Predefined_SecureStreamingWithFairPlay' + attr_accessor :streaming_policy_name + + # @return [String] Default ContentKeyPolicy used by this Streaming + # Locator + attr_accessor :default_content_key_policy_name + + # @return [Array] ContentKeys used by this + # Streaming Locator + attr_accessor :content_keys + + # @return [String] An Alternative Media Identifier associated with the + # StreamingLocator. This identifier can be used to distinguish different + # StreamingLocators for the same Asset for authorization purposes in the + # CustomLicenseAcquisitionUrlTemplate or the + # CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the + # StreamingPolicyName field. + attr_accessor :alternative_media_id + + + # + # Mapper for StreamingLocator class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingLocator', + type: { + name: 'Composite', + class_name: 'StreamingLocator', + 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' + } + }, + asset_name: { + required: true, + serialized_name: 'properties.assetName', + type: { + name: 'String' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + start_time: { + required: false, + serialized_name: 'properties.startTime', + type: { + name: 'DateTime' + } + }, + end_time: { + required: false, + serialized_name: 'properties.endTime', + type: { + name: 'DateTime' + } + }, + streaming_locator_id: { + required: false, + serialized_name: 'properties.streamingLocatorId', + type: { + name: 'String' + } + }, + streaming_policy_name: { + required: true, + serialized_name: 'properties.streamingPolicyName', + type: { + name: 'String' + } + }, + default_content_key_policy_name: { + required: false, + serialized_name: 'properties.defaultContentKeyPolicyName', + type: { + name: 'String' + } + }, + content_keys: { + required: false, + serialized_name: 'properties.contentKeys', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingLocatorContentKeyElementType', + type: { + name: 'Composite', + class_name: 'StreamingLocatorContentKey' + } + } + } + }, + alternative_media_id: { + required: false, + serialized_name: 'properties.alternativeMediaId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb new file mode 100644 index 0000000000..208d2b5f3d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb @@ -0,0 +1,96 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of StreamingLocator items. + # + class StreamingLocatorCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of StreamingLocator + # items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [StreamingLocatorCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for StreamingLocatorCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingLocatorCollection', + type: { + name: 'Composite', + class_name: 'StreamingLocatorCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingLocatorElementType', + type: { + name: 'Composite', + class_name: 'StreamingLocator' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb new file mode 100644 index 0000000000..73955684a2 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class for content key in Streaming Locator + # + class StreamingLocatorContentKey + + include MsRestAzure + + # @return ID of Content Key + attr_accessor :id + + # @return [StreamingLocatorContentKeyType] Encryption type of Content + # Key. Possible values include: 'CommonEncryptionCenc', + # 'CommonEncryptionCbcs', 'EnvelopeEncryption' + attr_accessor :type + + # @return [String] Label of Content Key + attr_accessor :label + + # @return [String] Value of of Content Key + attr_accessor :value + + # @return [String] ContentKeyPolicy used by Content Key + attr_accessor :policy_name + + # @return [Array] Tracks which use this Content Key + attr_accessor :tracks + + + # + # Mapper for StreamingLocatorContentKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingLocatorContentKey', + type: { + name: 'Composite', + class_name: 'StreamingLocatorContentKey', + model_properties: { + id: { + required: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'Enum', + module: 'StreamingLocatorContentKeyType' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + }, + policy_name: { + required: false, + read_only: true, + serialized_name: 'policyName', + type: { + name: 'String' + } + }, + tracks: { + required: false, + serialized_name: 'tracks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackSelectionElementType', + type: { + name: 'Composite', + class_name: 'TrackSelection' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key_type.rb new file mode 100644 index 0000000000..327cd34475 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StreamingLocatorContentKeyType + # + module StreamingLocatorContentKeyType + CommonEncryptionCenc = "CommonEncryptionCenc" + CommonEncryptionCbcs = "CommonEncryptionCbcs" + EnvelopeEncryption = "EnvelopeEncryption" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_path.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_path.rb new file mode 100644 index 0000000000..6e03658879 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_path.rb @@ -0,0 +1,77 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class of paths for streaming + # + class StreamingPath + + include MsRestAzure + + # @return [StreamingPolicyStreamingProtocol] Streaming protocol. Possible + # values include: 'Hls', 'Dash', 'SmoothStreaming', 'Download' + attr_accessor :streaming_protocol + + # @return [EncryptionScheme] Encryption scheme. Possible values include: + # 'NoEncryption', 'EnvelopeEncryption', 'CommonEncryptionCenc', + # 'CommonEncryptionCbcs' + attr_accessor :encryption_scheme + + # @return [Array] Streaming paths for each protocol and + # encryptionScheme pair + attr_accessor :paths + + + # + # Mapper for StreamingPath class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPath', + type: { + name: 'Composite', + class_name: 'StreamingPath', + model_properties: { + streaming_protocol: { + required: true, + serialized_name: 'streamingProtocol', + type: { + name: 'Enum', + module: 'StreamingPolicyStreamingProtocol' + } + }, + encryption_scheme: { + required: true, + serialized_name: 'encryptionScheme', + type: { + name: 'Enum', + module: 'EncryptionScheme' + } + }, + paths: { + required: false, + serialized_name: 'paths', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb new file mode 100644 index 0000000000..5c11ab382c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Streaming Policy resource + # + class StreamingPolicy < ProxyResource + + include MsRestAzure + + # @return [DateTime] Creation time of Streaming Policy + attr_accessor :created + + # @return [String] Default ContentKey used by current Streaming Policy + attr_accessor :default_content_key_policy_name + + # @return [EnvelopeEncryption] Configuration of EnvelopeEncryption + attr_accessor :envelope_encryption + + # @return [CommonEncryptionCenc] Configuration of CommonEncryptionCenc + attr_accessor :common_encryption_cenc + + # @return [CommonEncryptionCbcs] Configuration of CommonEncryptionCbcs + attr_accessor :common_encryption_cbcs + + # @return [NoEncryption] Configurations of NoEncryption + attr_accessor :no_encryption + + + # + # Mapper for StreamingPolicy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicy', + type: { + name: 'Composite', + class_name: 'StreamingPolicy', + 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' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + default_content_key_policy_name: { + required: false, + serialized_name: 'properties.defaultContentKeyPolicyName', + type: { + name: 'String' + } + }, + envelope_encryption: { + required: false, + serialized_name: 'properties.envelopeEncryption', + type: { + name: 'Composite', + class_name: 'EnvelopeEncryption' + } + }, + common_encryption_cenc: { + required: false, + serialized_name: 'properties.commonEncryptionCenc', + type: { + name: 'Composite', + class_name: 'CommonEncryptionCenc' + } + }, + common_encryption_cbcs: { + required: false, + serialized_name: 'properties.commonEncryptionCbcs', + type: { + name: 'Composite', + class_name: 'CommonEncryptionCbcs' + } + }, + no_encryption: { + required: false, + serialized_name: 'properties.noEncryption', + type: { + name: 'Composite', + class_name: 'NoEncryption' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb new file mode 100644 index 0000000000..dfc21078d3 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of StreamingPolicy items. + # + class StreamingPolicyCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of StreamingPolicy items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [StreamingPolicyCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for StreamingPolicyCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyCollection', + type: { + name: 'Composite', + class_name: 'StreamingPolicyCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingPolicyElementType', + type: { + name: 'Composite', + class_name: 'StreamingPolicy' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb new file mode 100644 index 0000000000..3d4fbe179e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify properties of content key + # + class StreamingPolicyContentKey + + include MsRestAzure + + # @return [String] Label can be used to specify Content Key when creating + # a Streaming Locator + attr_accessor :label + + # @return [String] Policy used by Content Key + attr_accessor :policy_name + + # @return [Array] Tracks which use this content key + attr_accessor :tracks + + + # + # Mapper for StreamingPolicyContentKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyContentKey', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKey', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + policy_name: { + required: false, + serialized_name: 'policyName', + type: { + name: 'String' + } + }, + tracks: { + required: false, + serialized_name: 'tracks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackSelectionElementType', + type: { + name: 'Composite', + class_name: 'TrackSelection' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb new file mode 100644 index 0000000000..ec844dda21 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify properties of all content keys in Streaming Policy + # + class StreamingPolicyContentKeys + + include MsRestAzure + + # @return [DefaultKey] Default content key for an encryption scheme + attr_accessor :default_key + + # @return [Array] Representing tracks needs + # separate content key + attr_accessor :key_to_track_mappings + + + # + # Mapper for StreamingPolicyContentKeys class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyContentKeys', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKeys', + model_properties: { + default_key: { + required: false, + serialized_name: 'defaultKey', + type: { + name: 'Composite', + class_name: 'DefaultKey' + } + }, + key_to_track_mappings: { + required: false, + serialized_name: 'keyToTrackMappings', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StreamingPolicyContentKeyElementType', + type: { + name: 'Composite', + class_name: 'StreamingPolicyContentKey' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb new file mode 100644 index 0000000000..8e9ad06753 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify configurations of FairPlay in Streaming Policy + # + class StreamingPolicyFairPlayConfiguration + + include MsRestAzure + + # @return [String] The template for a customer service to deliver keys to + # end users. Not needed when using Azure Media Services for issuing + # keys. + attr_accessor :custom_license_acquisition_url_template + + # @return [Boolean] All license to be persistent or not + attr_accessor :allow_persistent_license + + + # + # Mapper for StreamingPolicyFairPlayConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyFairPlayConfiguration', + type: { + name: 'Composite', + class_name: 'StreamingPolicyFairPlayConfiguration', + model_properties: { + custom_license_acquisition_url_template: { + required: false, + serialized_name: 'customLicenseAcquisitionUrlTemplate', + type: { + name: 'String' + } + }, + allow_persistent_license: { + required: true, + serialized_name: 'allowPersistentLicense', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb new file mode 100644 index 0000000000..ea51aa51e7 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify configurations of PlayReady in Streaming Policy + # + class StreamingPolicyPlayReadyConfiguration + + include MsRestAzure + + # @return [String] The template for a customer service to deliver keys to + # end users. Not needed when using Azure Media Services for issuing + # keys. + attr_accessor :custom_license_acquisition_url_template + + # @return [String] Custom attributes for PlayReady + attr_accessor :play_ready_custom_attributes + + + # + # Mapper for StreamingPolicyPlayReadyConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyPlayReadyConfiguration', + type: { + name: 'Composite', + class_name: 'StreamingPolicyPlayReadyConfiguration', + model_properties: { + custom_license_acquisition_url_template: { + required: false, + serialized_name: 'customLicenseAcquisitionUrlTemplate', + type: { + name: 'String' + } + }, + play_ready_custom_attributes: { + required: false, + serialized_name: 'playReadyCustomAttributes', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_streaming_protocol.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_streaming_protocol.rb new file mode 100644 index 0000000000..581b1444d7 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_streaming_protocol.rb @@ -0,0 +1,18 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StreamingPolicyStreamingProtocol + # + module StreamingPolicyStreamingProtocol + Hls = "Hls" + Dash = "Dash" + SmoothStreaming = "SmoothStreaming" + Download = "Download" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb new file mode 100644 index 0000000000..3a58fbc058 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify configurations of Widevine in Streaming Policy + # + class StreamingPolicyWidevineConfiguration + + include MsRestAzure + + # @return [String] The template for a customer service to deliver keys to + # end users. Not needed when using Azure Media Services for issuing + # keys. + attr_accessor :custom_license_acquisition_url_template + + + # + # Mapper for StreamingPolicyWidevineConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StreamingPolicyWidevineConfiguration', + type: { + name: 'Composite', + class_name: 'StreamingPolicyWidevineConfiguration', + model_properties: { + custom_license_acquisition_url_template: { + required: false, + serialized_name: 'customLicenseAcquisitionUrlTemplate', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stretch_mode.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stretch_mode.rb new file mode 100644 index 0000000000..1631abd40d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/stretch_mode.rb @@ -0,0 +1,17 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for StretchMode + # + module StretchMode + None = "None" + AutoSize = "AutoSize" + AutoFit = "AutoFit" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb new file mode 100644 index 0000000000..34a9bdd663 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb @@ -0,0 +1,108 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Media Services account. + # + class SubscriptionMediaService < TrackedResource + + include MsRestAzure + + # @return The Media Services account ID. + attr_accessor :media_service_id + + # @return [Array] The storage accounts for this resource. + attr_accessor :storage_accounts + + + # + # Mapper for SubscriptionMediaService class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubscriptionMediaService', + type: { + name: 'Composite', + class_name: 'SubscriptionMediaService', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + media_service_id: { + required: false, + read_only: true, + serialized_name: 'properties.mediaServiceId', + type: { + name: 'String' + } + }, + storage_accounts: { + required: false, + serialized_name: 'properties.storageAccounts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StorageAccountElementType', + type: { + name: 'Composite', + class_name: 'StorageAccount' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb new file mode 100644 index 0000000000..bef033680e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb @@ -0,0 +1,96 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of SubscriptionMediaService items. + # + class SubscriptionMediaServiceCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of + # SubscriptionMediaService items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [SubscriptionMediaServiceCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for SubscriptionMediaServiceCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubscriptionMediaServiceCollection', + type: { + name: 'Composite', + class_name: 'SubscriptionMediaServiceCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SubscriptionMediaServiceElementType', + type: { + name: 'Composite', + class_name: 'SubscriptionMediaService' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb new file mode 100644 index 0000000000..7f73b117ea --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The input to the sync storage keys request. + # + class SyncStorageKeysInput + + include MsRestAzure + + # @return [String] The ID of the storage account resource. + attr_accessor :id + + + # + # Mapper for SyncStorageKeysInput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SyncStorageKeysInput', + type: { + name: 'Composite', + class_name: 'SyncStorageKeysInput', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_compare_operation.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_compare_operation.rb new file mode 100644 index 0000000000..d469746c61 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_compare_operation.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for TrackPropertyCompareOperation + # + module TrackPropertyCompareOperation + Unknown = "Unknown" + Equal = "Equal" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb new file mode 100644 index 0000000000..b7d8a0e06f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb @@ -0,0 +1,68 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to specify one track property condition + # + class TrackPropertyCondition + + include MsRestAzure + + # @return [TrackPropertyType] Track property type. Possible values + # include: 'Unknown', 'FourCC' + attr_accessor :property + + # @return [TrackPropertyCompareOperation] Track property condition + # operation. Possible values include: 'Unknown', 'Equal' + attr_accessor :operation + + # @return [String] Track property value + attr_accessor :value + + + # + # Mapper for TrackPropertyCondition class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrackPropertyCondition', + type: { + name: 'Composite', + class_name: 'TrackPropertyCondition', + model_properties: { + property: { + required: true, + serialized_name: 'property', + type: { + name: 'Enum', + module: 'TrackPropertyType' + } + }, + operation: { + required: true, + serialized_name: 'operation', + type: { + name: 'Enum', + module: 'TrackPropertyCompareOperation' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_type.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_type.rb new file mode 100644 index 0000000000..16db4dadc0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_property_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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Defines values for TrackPropertyType + # + module TrackPropertyType + Unknown = "Unknown" + FourCC = "FourCC" + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb new file mode 100644 index 0000000000..328178b008 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/track_selection.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Class to select a track + # + class TrackSelection + + include MsRestAzure + + # @return [Array] TrackSelections is a track + # property condition list which can specify track(s) + attr_accessor :track_selections + + + # + # Mapper for TrackSelection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrackSelection', + type: { + name: 'Composite', + class_name: 'TrackSelection', + model_properties: { + track_selections: { + required: false, + serialized_name: 'trackSelections', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackPropertyConditionElementType', + type: { + name: 'Composite', + class_name: 'TrackPropertyCondition' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb new file mode 100644 index 0000000000..ec33dc6512 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb @@ -0,0 +1,85 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # The resource model definition for a ARM tracked resource. + # + class TrackedResource < Resource + + include MsRestAzure + + # @return [Hash{String => String}] Resource tags. + attr_accessor :tags + + # @return [String] The Azure Region of the resource. + attr_accessor :location + + + # + # Mapper for TrackedResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrackedResource', + type: { + name: 'Composite', + class_name: 'TrackedResource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform.rb new file mode 100644 index 0000000000..6df30cd629 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A Transform encapsulates the rules or instructions for generating desired + # outputs from input media, such as by transcoding or by extracting + # insights. After the Transform is created, it can be applied to input + # media by creating Jobs. + # + class Transform < ProxyResource + + include MsRestAzure + + # @return [DateTime] The UTC date and time when the Transform was + # created, in 'YYYY-MM-DDThh:mm:ssZ' format. + attr_accessor :created + + # @return [String] An optional verbose description of the Transform. + attr_accessor :description + + # @return [DateTime] The UTC date and time when the Transform was last + # updated, in 'YYYY-MM-DDThh:mm:ssZ' format. + attr_accessor :last_modified + + # @return [Array] An array of one or more + # TransformOutputs that the Transform should generate. + attr_accessor :outputs + + + # + # Mapper for Transform class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Transform', + type: { + name: 'Composite', + class_name: 'Transform', + 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' + } + }, + created: { + required: false, + read_only: true, + serialized_name: 'properties.created', + type: { + name: 'DateTime' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + last_modified: { + required: false, + read_only: true, + serialized_name: 'properties.lastModified', + type: { + name: 'DateTime' + } + }, + outputs: { + required: true, + serialized_name: 'properties.outputs', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TransformOutputElementType', + type: { + name: 'Composite', + class_name: 'TransformOutput' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_collection.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_collection.rb new file mode 100644 index 0000000000..06167d8494 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_collection.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A collection of Transform items. + # + class TransformCollection + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] A collection of Transform items. + attr_accessor :value + + # @return [String] A link to the next page of the collection (when the + # collection contains too many results to return in one response). + attr_accessor :odatanext_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.odatanext_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [TransformCollection] with next page content. + # + def get_next_page + response = @next_method.call(@odatanext_link).value! unless @next_method.nil? + unless response.nil? + @odatanext_link = response.body.odatanext_link + @value = response.body.value + self + end + end + + # + # Mapper for TransformCollection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TransformCollection', + type: { + name: 'Composite', + class_name: 'TransformCollection', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TransformElementType', + type: { + name: 'Composite', + class_name: 'Transform' + } + } + } + }, + odatanext_link: { + required: false, + serialized_name: '@odata\\.nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb new file mode 100644 index 0000000000..0d61bc7aec --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb @@ -0,0 +1,79 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties of a TransformOutput, which are the rules to be + # applied while generating the desired output. + # + class TransformOutput + + include MsRestAzure + + # @return [OnErrorType] A Transform can define more than one outputs. + # This property defines what the service should do when one output fails + # - either continue to produce other outputs, or, stop the other outputs. + # The default is stop. Possible values include: 'StopProcessingJob', + # 'ContinueJob' + attr_accessor :on_error + + # @return [Priority] Sets the relative priority of the TransformOutputs + # within a Transform. This sets the priority that the service uses for + # processing TransformOutputs. The default priority is Normal. Possible + # values include: 'Low', 'Normal', 'High' + attr_accessor :relative_priority + + # @return [Preset] Preset that describes the operations that will be used + # to modify, transcode, or extract insights from the source file to + # generate the output. + attr_accessor :preset + + + # + # Mapper for TransformOutput class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TransformOutput', + type: { + name: 'Composite', + class_name: 'TransformOutput', + model_properties: { + on_error: { + required: false, + serialized_name: 'onError', + type: { + name: 'Enum', + module: 'OnErrorType' + } + }, + relative_priority: { + required: false, + serialized_name: 'relativePriority', + type: { + name: 'Enum', + module: 'Priority' + } + }, + preset: { + required: true, + serialized_name: 'preset', + type: { + name: 'Composite', + polymorphic_discriminator: '@odata.type', + uber_parent: 'Preset', + class_name: 'Preset' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb new file mode 100644 index 0000000000..11cc1fdd1e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/transport_stream_format.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties for generating an MPEG-2 Transport Stream + # (ISO/IEC 13818-1) output video file(s). + # + class TransportStreamFormat < MultiBitrateFormat + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.TransportStreamFormat" + end + + attr_accessor :@odatatype + + + # + # Mapper for TransportStreamFormat class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.TransportStreamFormat', + type: { + name: 'Composite', + class_name: 'TransportStreamFormat', + model_properties: { + filename_pattern: { + required: false, + serialized_name: 'filenamePattern', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + output_files: { + required: false, + serialized_name: 'outputFiles', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OutputFileElementType', + type: { + name: 'Composite', + class_name: 'OutputFile' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video.rb new file mode 100644 index 0000000000..c1a5a850c8 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video.rb @@ -0,0 +1,81 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the basic properties for encoding the input video. + # + class Video < Codec + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.Video" + end + + attr_accessor :@odatatype + + # @return [Duration] The distance between two key frames, thereby + # defining a group of pictures (GOP). The value should be a non-zero + # integer in the range [1, 30] seconds, specified in ISO 8601 format. The + # default is 2 seconds (PT2S). + attr_accessor :key_frame_interval + + # @return [StretchMode] The resizing mode - how the input video will be + # resized to fit the desired output resolution(s). Default is AutoSize. + # Possible values include: 'None', 'AutoSize', 'AutoFit' + attr_accessor :stretch_mode + + + # + # Mapper for Video class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.Video', + type: { + name: 'Composite', + class_name: 'Video', + model_properties: { + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + key_frame_interval: { + required: false, + serialized_name: 'keyFrameInterval', + type: { + name: 'TimeSpan' + } + }, + stretch_mode: { + required: false, + serialized_name: 'stretchMode', + type: { + name: 'Enum', + module: 'StretchMode' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb new file mode 100644 index 0000000000..ea4f1a1238 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.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::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # A video analyzer preset that extracts insights (rich metadata) from both + # audio and video, and outputs a JSON format file. + # + class VideoAnalyzerPreset < AudioAnalyzerPreset + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.VideoAnalyzerPreset" + end + + attr_accessor :@odatatype + + # @return [Boolean] Whether to only extract audio insights when + # processing a video file. + attr_accessor :audio_insights_only + + + # + # Mapper for VideoAnalyzerPreset class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.VideoAnalyzerPreset', + type: { + name: 'Composite', + class_name: 'VideoAnalyzerPreset', + model_properties: { + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + audio_language: { + required: false, + serialized_name: 'audioLanguage', + type: { + name: 'String' + } + }, + audio_insights_only: { + required: false, + serialized_name: 'audioInsightsOnly', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_layer.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_layer.rb new file mode 100644 index 0000000000..850566e0f0 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_layer.rb @@ -0,0 +1,145 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the settings to be used when encoding the input video into a + # desired output bitrate layer. + # + class VideoLayer < Layer + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.VideoLayer" + end + + attr_accessor :@odatatype + + # @return [Integer] The average bitrate in bits per second at which to + # encode the input video when generating this layer. This is a required + # field. + attr_accessor :bitrate + + # @return [Integer] The maximum bitrate (in bits per second), at which + # the VBV buffer should be assumed to refill. If not specified, defaults + # to the same value as bitrate. + attr_accessor :max_bitrate + + # @return [Integer] The number of B-frames to be used when encoding this + # layer. If not specified, the encoder chooses an appropriate number + # based on the video profile and level. + attr_accessor :b_frames + + # @return [String] The frame rate (in frames per second) at which to + # encode this layer. The value can be in the form of M/N where M and N + # are integers (For example, 30000/1001), or in the form of a number (For + # example, 30, or 29.97). The encoder enforces constraints on allowed + # frame rates based on the profile and level. If it is not specified, the + # encoder will use the same frame rate as the input video. + attr_accessor :frame_rate + + # @return [Integer] The number of slices to be used when encoding this + # layer. If not specified, default is zero, which means that encoder will + # use a single slice for each frame. + attr_accessor :slices + + # @return [Boolean] Whether or not adaptive B-frames are to be used when + # encoding this layer. If not specified, the encoder will turn it on + # whenever the video profile permits its use. + attr_accessor :adaptive_bframe + + + # + # Mapper for VideoLayer class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.VideoLayer', + type: { + name: 'Composite', + class_name: 'VideoLayer', + model_properties: { + width: { + required: false, + serialized_name: 'width', + type: { + name: 'String' + } + }, + height: { + required: false, + serialized_name: 'height', + type: { + name: 'String' + } + }, + label: { + required: false, + serialized_name: 'label', + type: { + name: 'String' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + bitrate: { + required: false, + serialized_name: 'bitrate', + type: { + name: 'Number' + } + }, + max_bitrate: { + required: false, + serialized_name: 'maxBitrate', + type: { + name: 'Number' + } + }, + b_frames: { + required: false, + serialized_name: 'bFrames', + type: { + name: 'Number' + } + }, + frame_rate: { + required: false, + serialized_name: 'frameRate', + type: { + name: 'String' + } + }, + slices: { + required: false, + serialized_name: 'slices', + type: { + name: 'Number' + } + }, + adaptive_bframe: { + required: false, + serialized_name: 'adaptiveBFrame', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_overlay.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_overlay.rb new file mode 100644 index 0000000000..2467400ccd --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/video_overlay.rb @@ -0,0 +1,125 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + module Models + # + # Describes the properties of a video overlay. + # + class VideoOverlay < Overlay + + include MsRestAzure + + + def initialize + @@odatatype = "#Microsoft.Media.VideoOverlay" + end + + attr_accessor :@odatatype + + # @return [Rectangle] The location in the input video where the overlay + # is applied. + attr_accessor :position + + # @return [Float] The opacity of the overlay. This is a value in the + # range [0 - 1.0]. Default is 1.0 which mean the overlay is opaque. + attr_accessor :opacity + + # @return [Rectangle] An optional rectangular window used to crop the + # overlay image or video. + attr_accessor :crop_rectangle + + + # + # Mapper for VideoOverlay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: '#Microsoft.Media.VideoOverlay', + type: { + name: 'Composite', + class_name: 'VideoOverlay', + model_properties: { + input_label: { + required: false, + serialized_name: 'inputLabel', + type: { + name: 'String' + } + }, + start: { + required: false, + serialized_name: 'start', + type: { + name: 'TimeSpan' + } + }, + end_property: { + required: false, + serialized_name: 'end', + type: { + name: 'TimeSpan' + } + }, + fade_in_duration: { + required: false, + serialized_name: 'fadeInDuration', + type: { + name: 'TimeSpan' + } + }, + fade_out_duration: { + required: false, + serialized_name: 'fadeOutDuration', + type: { + name: 'TimeSpan' + } + }, + audio_gain_level: { + required: false, + serialized_name: 'audioGainLevel', + type: { + name: 'Double' + } + }, + @odatatype: { + required: true, + serialized_name: '@odata\\.type', + type: { + name: 'String' + } + }, + position: { + required: false, + serialized_name: 'position', + type: { + name: 'Composite', + class_name: 'Rectangle' + } + }, + opacity: { + required: false, + serialized_name: 'opacity', + type: { + name: 'Double' + } + }, + crop_rectangle: { + required: false, + serialized_name: 'cropRectangle', + type: { + name: 'Composite', + class_name: 'Rectangle' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/module_definition.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/module_definition.rb new file mode 100644 index 0000000000..b4ac5b9f0d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/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::MediaServices end +module Azure::MediaServices::Mgmt end +module Azure::MediaServices::Mgmt::V2018_06_01_preview end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/operations.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/operations.rb new file mode 100644 index 0000000000..20bb95fb5d --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/operations.rb @@ -0,0 +1,227 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Operations + # + class Operations + include MsRestAzure + + # + # Creates and initializes a new instance of the Operations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Operations + # + # Lists all the Media Services 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 + + # + # List Operations + # + # Lists all the Media Services 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 + + # + # List Operations + # + # Lists all the Media Services 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.Media/operations' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Operations + # + # Lists all the Media Services 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 [OperationCollection] 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 Operations + # + # Lists all the Media Services 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 + + # + # List Operations + # + # Lists all the Media Services operations. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::OperationCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Operations + # + # Lists all the Media Services operations. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationCollection] 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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb new file mode 100644 index 0000000000..eaca4a5fde --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb @@ -0,0 +1,1284 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # StreamingEndpoints + # + class StreamingEndpoints + include MsRestAzure + + # + # Creates and initializes a new instance of the StreamingEndpoints class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(resource_group_name, account_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, custom_headers) + first_page.get_all_items + end + + # + # List StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(resource_group_name, account_name, custom_headers = nil) + list_async(resource_group_name, account_name, custom_headers).value! + end + + # + # List StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(resource_group_name, account_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_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.Media/mediaservices/{accountName}/streamingEndpoints' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpointListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 StreamingEndpoint + # + # Gets a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpoint] operation results. + # + def get(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get StreamingEndpoint + # + # Gets a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_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, account_name, streaming_endpoint_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + end + + # + # Get StreamingEndpoint + # + # Gets a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param [Hash{String => String}] 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, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_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.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}' + + 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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 StreamingEndpoint + # + # Creates a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpoint] operation results. + # + def create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + # Send request + promise = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Update StreamingEndpoint + # + # Updates a existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpoint] operation results. + # + def update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + # Send request + promise = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.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 StreamingEndpoint + # + # Deletes a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, account_name, streaming_endpoint_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 StreamingEndpoint + # + # Starts an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def start(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + # Send request + promise = begin_start_async(resource_group_name, account_name, streaming_endpoint_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 StreamingEndpoint + # + # Stops an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def stop(resource_group_name, account_name, streaming_endpoint_name, custom_headers = nil) + response = stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + # Send request + promise = begin_stop_async(resource_group_name, account_name, streaming_endpoint_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 + + # + # Scale StreamingEndpoint + # + # Scales an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEntityScaleUnit] StreamingEndpoint scale + # parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEntityScaleUnit] StreamingEndpoint scale + # 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 scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + # Send request + promise = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Create StreamingEndpoint + # + # Creates a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpoint] operation results. + # + def begin_create(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + response = begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! + response.body unless response.nil? + end + + # + # Create StreamingEndpoint + # + # Creates a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = nil, custom_headers = nil) + begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start, custom_headers).value! + end + + # + # Create StreamingEndpoint + # + # Creates a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param auto_start [Boolean] The flag indicates if auto start the Live Event. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_async(resource_group_name, account_name, streaming_endpoint_name, parameters, auto_start = 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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}' + + 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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_name}, + query_params: {'api-version' => @client.api_version,'autoStart' => auto_start}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + result.body = @client.deserialize(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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Update StreamingEndpoint + # + # Updates a existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpoint] operation results. + # + def begin_update(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update StreamingEndpoint + # + # Updates a existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_update_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + end + + # + # Update StreamingEndpoint + # + # Updates a existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEndpoint] StreamingEndpoint properties needed for + # creation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_update_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}' + + 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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + result.body = @client.deserialize(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 == 202 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpoint.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 StreamingEndpoint + # + # Deletes a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # Delete StreamingEndpoint + # + # Deletes a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_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, account_name, streaming_endpoint_name, custom_headers = nil) + begin_delete_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + end + + # + # Delete StreamingEndpoint + # + # Deletes a StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param [Hash{String => String}] 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, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_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.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}' + + 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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Start StreamingEndpoint + # + # Starts an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # Start StreamingEndpoint + # + # Starts an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_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, account_name, streaming_endpoint_name, custom_headers = nil) + begin_start_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + end + + # + # Start StreamingEndpoint + # + # Starts an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param [Hash{String => String}] 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, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_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.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Stop StreamingEndpoint + # + # Stops an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @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, account_name, streaming_endpoint_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + nil + end + + # + # Stop StreamingEndpoint + # + # Stops an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param custom_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, account_name, streaming_endpoint_name, custom_headers = nil) + begin_stop_async(resource_group_name, account_name, streaming_endpoint_name, custom_headers).value! + end + + # + # Stop StreamingEndpoint + # + # Stops an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param [Hash{String => String}] 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, account_name, streaming_endpoint_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_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.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Scale StreamingEndpoint + # + # Scales an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEntityScaleUnit] StreamingEndpoint scale + # parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_scale(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + response = begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + nil + end + + # + # Scale StreamingEndpoint + # + # Scales an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEntityScaleUnit] StreamingEndpoint scale + # 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_scale_with_http_info(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + begin_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers).value! + end + + # + # Scale StreamingEndpoint + # + # Scales an existing StreamingEndpoint. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_endpoint_name [String] The name of the StreamingEndpoint. + # @param parameters [StreamingEntityScaleUnit] StreamingEndpoint scale + # 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_scale_async(resource_group_name, account_name, streaming_endpoint_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_endpoint_name is nil' if streaming_endpoint_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEntityScaleUnit.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/scale' + + 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,'accountName' => account_name,'streamingEndpointName' => streaming_endpoint_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @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 [StreamingEndpointListResult] 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 StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @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 StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingEndpointListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 StreamingEndpoints + # + # Lists the StreamingEndpoints in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingEndpointListResult] which provide lazy access to pages of + # the response. + # + def list_as_lazy(resource_group_name, account_name, custom_headers = nil) + response = list_async(resource_group_name, account_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb new file mode 100644 index 0000000000..0bb9c16613 --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb @@ -0,0 +1,789 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # StreamingLocators + # + class StreamingLocators + include MsRestAzure + + # + # Creates and initializes a new instance of the StreamingLocators class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! + end + + # + # List Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param [Hash{String => String}] 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, account_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, 'account_name is nil' if account_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.Media/mediaServices/{accountName}/streamingLocators' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$orderby' => orderby}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocatorCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Streaming Locator + # + # Get the details of a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingLocator] operation results. + # + def get(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Streaming Locator + # + # Get the details of a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + end + + # + # Get a Streaming Locator + # + # Get the details of a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_locator_name is nil' if streaming_locator_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.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}' + + 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,'accountName' => account_name,'streamingLocatorName' => streaming_locator_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocator.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create a Streaming Locator + # + # Create a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param parameters [StreamingLocator] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingLocator] operation results. + # + def create(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create a Streaming Locator + # + # Create a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param parameters [StreamingLocator] The request 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 create_with_http_info(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers).value! + end + + # + # Create a Streaming Locator + # + # Create a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param parameters [StreamingLocator] The request 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 create_async(resource_group_name, account_name, streaming_locator_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_locator_name is nil' if streaming_locator_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocator.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}' + + 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,'accountName' => account_name,'streamingLocatorName' => streaming_locator_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 201 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocator.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete a Streaming Locator + # + # Deletes a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + nil + end + + # + # Delete a Streaming Locator + # + # Deletes a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + end + + # + # Delete a Streaming Locator + # + # Deletes a Streaming Locator in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_locator_name is nil' if streaming_locator_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.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}' + + 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,'accountName' => account_name,'streamingLocatorName' => streaming_locator_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Content Keys + # + # List Content Keys used by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ListContentKeysResponse] operation results. + # + def list_content_keys(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List Content Keys + # + # List Content Keys used by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_content_keys_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + list_content_keys_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + end + + # + # List Content Keys + # + # List Content Keys used by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_content_keys_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_locator_name is nil' if streaming_locator_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.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys' + + 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,'accountName' => account_name,'streamingLocatorName' => streaming_locator_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ListContentKeysResponse.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Paths + # + # List Paths supported by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ListPathsResponse] operation results. + # + def list_paths(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + response = list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + response.body unless response.nil? + end + + # + # List Paths + # + # List Paths supported by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_paths_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers = nil) + list_paths_async(resource_group_name, account_name, streaming_locator_name, custom_headers).value! + end + + # + # List Paths + # + # List Paths supported by this Streaming Locator + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_locator_name [String] The Streaming Locator name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_paths_async(resource_group_name, account_name, streaming_locator_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_locator_name is nil' if streaming_locator_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.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths' + + 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,'accountName' => account_name,'streamingLocatorName' => streaming_locator_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::ListPathsResponse.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @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 [StreamingLocatorCollection] 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 Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @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 Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingLocatorCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Streaming Locators + # + # Lists the Streaming Locators in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingLocatorCollection] which provide lazy access to pages of + # the response. + # + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb new file mode 100644 index 0000000000..0fb6c5634e --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb @@ -0,0 +1,581 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # StreamingPolicies + # + class StreamingPolicies + include MsRestAzure + + # + # Creates and initializes a new instance of the StreamingPolicies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_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, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, orderby, custom_headers).value! + end + + # + # List Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param [Hash{String => String}] 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, account_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, 'account_name is nil' if account_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.Media/mediaServices/{accountName}/streamingPolicies' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$orderby' => orderby}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a Streaming Policy + # + # Get the details of a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingPolicy] operation results. + # + def get(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a Streaming Policy + # + # Get the details of a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + get_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! + end + + # + # Get a Streaming Policy + # + # Get the details of a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, streaming_policy_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_policy_name is nil' if streaming_policy_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.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}' + + 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,'accountName' => account_name,'streamingPolicyName' => streaming_policy_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create a Streaming Policy + # + # Create a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param parameters [StreamingPolicy] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingPolicy] operation results. + # + def create(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create a Streaming Policy + # + # Create a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param parameters [StreamingPolicy] The request 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 create_with_http_info(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) + create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers).value! + end + + # + # Create a Streaming Policy + # + # Create a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param parameters [StreamingPolicy] The request 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 create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_policy_name is nil' if streaming_policy_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}' + + 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,'accountName' => account_name,'streamingPolicyName' => streaming_policy_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 201 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete a Streaming Policy + # + # Deletes a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! + nil + end + + # + # Delete a Streaming Policy + # + # Deletes a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers = nil) + delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers).value! + end + + # + # Delete a Streaming Policy + # + # Deletes a Streaming Policy in the Media Services account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param streaming_policy_name [String] The Streaming Policy name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, streaming_policy_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'streaming_policy_name is nil' if streaming_policy_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.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}' + + 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,'accountName' => account_name,'streamingPolicyName' => streaming_policy_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @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 [StreamingPolicyCollection] 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 Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @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 Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::StreamingPolicyCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Streaming Policies + # + # Lists the Streaming Policies in the account + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param orderby [String] Specifies the the key by which the result collection + # should be ordered. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StreamingPolicyCollection] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/transforms.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/transforms.rb new file mode 100644 index 0000000000..2a28f5913f --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/transforms.rb @@ -0,0 +1,712 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::MediaServices::Mgmt::V2018_06_01_preview + # + # Transforms + # + class Transforms + include MsRestAzure + + # + # Creates and initializes a new instance of the Transforms class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [AzureMediaServices] reference to the AzureMediaServices + attr_reader :client + + # + # List Transforms + # + # Lists the Transforms in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @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, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, top, skip, custom_headers) + first_page.get_all_items + end + + # + # List Transforms + # + # Lists the Transforms in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param custom_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, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, top, skip, custom_headers).value! + end + + # + # List Transforms + # + # Lists the Transforms in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param [Hash{String => String}] 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, account_name, filter = nil, top = nil, skip = 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, 'account_name is nil' if account_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.Media/mediaServices/{accountName}/transforms' + + 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,'accountName' => account_name}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransformCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Transform + # + # Gets a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Transform] operation results. + # + def get(resource_group_name, account_name, transform_name, custom_headers = nil) + response = get_async(resource_group_name, account_name, transform_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get Transform + # + # Gets a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, account_name, transform_name, custom_headers = nil) + get_async(resource_group_name, account_name, transform_name, custom_headers).value! + end + + # + # Get Transform + # + # Gets a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, account_name, transform_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_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.Media/mediaServices/{accountName}/transforms/{transformName}' + + 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,'accountName' => account_name,'transformName' => transform_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 || status_code == 404 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or Update Transform + # + # Creates or updates a new Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Transform] operation results. + # + def create_or_update(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or Update Transform + # + # Creates or updates a new Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request 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 create_or_update_with_http_info(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! + end + + # + # Create or Update Transform + # + # Creates or updates a new Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request 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 create_or_update_async(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}' + + 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,'accountName' => account_name,'transformName' => transform_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + result.body = @client.deserialize(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::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Transform + # + # Deletes a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, account_name, transform_name, custom_headers = nil) + response = delete_async(resource_group_name, account_name, transform_name, custom_headers).value! + nil + end + + # + # Delete Transform + # + # Deletes a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, account_name, transform_name, custom_headers = nil) + delete_async(resource_group_name, account_name, transform_name, custom_headers).value! + end + + # + # Delete Transform + # + # Deletes a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, account_name, transform_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, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_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.Media/mediaServices/{accountName}/transforms/{transformName}' + + 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,'accountName' => account_name,'transformName' => transform_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Update Transform + # + # Updates a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Transform] operation results. + # + def update(resource_group_name, account_name, transform_name, parameters, custom_headers = nil) + response = update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! + response.body unless response.nil? + end + + # + # Update Transform + # + # Updates a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request 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, account_name, transform_name, parameters, custom_headers = nil) + update_async(resource_group_name, account_name, transform_name, parameters, custom_headers).value! + end + + # + # Update Transform + # + # Updates a Transform. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param transform_name [String] The Transform name. + # @param parameters [Transform] The request 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, account_name, transform_name, parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'account_name is nil' if account_name.nil? + fail ArgumentError, 'transform_name is nil' if transform_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + request_content = @client.serialize(request_mapper, parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}' + + 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,'accountName' => account_name,'transformName' => transform_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 MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::Transform.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Transforms + # + # Lists the Transforms in the account. + # + # @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 [TransformCollection] 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 Transforms + # + # Lists the Transforms in the account. + # + # @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 Transforms + # + # Lists the Transforms in the account. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRest::HttpOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::TransformCollection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 Transforms + # + # Lists the Transforms in the account. + # + # @param resource_group_name [String] The name of the resource group within the + # Azure subscription. + # @param account_name [String] The Media Services account name. + # @param filter [String] Restricts the set of items returned. + # @param top [Integer] Specifies a non-negative integer n that limits the + # number of items returned from a collection. The service returns the number of + # available items up to but not greater than the specified value n. + # @param skip [Integer] Specifies a non-negative integer n that excludes the + # first n items of the queried collection from the result. The service returns + # items starting at position n+1. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TransformCollection] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, filter, top, skip, custom_headers).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_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/version.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/version.rb new file mode 100644 index 0000000000..34730ac31c --- /dev/null +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/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::MediaServices::Mgmt::V2018_06_01_preview + VERSION = '0.16.1' +end diff --git a/management/azure_mgmt_media_services/lib/azure_mgmt_media_services.rb b/management/azure_mgmt_media_services/lib/azure_mgmt_media_services.rb index 515aaef90e..44bb0f4ba4 100644 --- a/management/azure_mgmt_media_services/lib/azure_mgmt_media_services.rb +++ b/management/azure_mgmt_media_services/lib/azure_mgmt_media_services.rb @@ -2,6 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2015-10-01/generated/azure_mgmt_media_services' require '2018-03-30-preview/generated/azure_mgmt_media_services' +require '2018-06-01-preview/generated/azure_mgmt_media_services' +require '2015-10-01/generated/azure_mgmt_media_services' require 'profiles/latest/mediaservices_latest_profile_client' diff --git a/management/azure_mgmt_media_services/lib/profiles/latest/modules/mediaservices_profile_module.rb b/management/azure_mgmt_media_services/lib/profiles/latest/modules/mediaservices_profile_module.rb index 83fa292399..48da539f21 100644 --- a/management/azure_mgmt_media_services/lib/profiles/latest/modules/mediaservices_profile_module.rb +++ b/management/azure_mgmt_media_services/lib/profiles/latest/modules/mediaservices_profile_module.rb @@ -20,7 +20,6 @@ module Mgmt StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_03_30_preview::StreamingEndpoints module Models - Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format Overlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay NoEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::NoEncryption Operation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Operation @@ -31,19 +30,19 @@ module Models EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnvelopeEncryption ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyCollection Preset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset - ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError - Codec = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection + Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format + Codec = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec JobError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError - SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection + ApiError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError JobErrorDetail = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail Resource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Resource LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEndpoint AssetContainerSas = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerSas OperationDisplay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationDisplay CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration - Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location ListContainerSasInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput + SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection StorageAccount = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount ContentKeyPolicyPlayReadyContentKeyLocation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentKeyLocation CbcsDrmConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CbcsDrmConfiguration @@ -66,134 +65,135 @@ module Models Rectangle = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rectangle LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputListResult Filters = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters - ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties Layer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Layer + Location = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location + OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection ODataError = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError - StreamingLocatorContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput StreamingLocatorUserDefinedContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey + StreamingLocatorContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey IPAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPAccessControl - AssetStorageEncryptionKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey StreamingLocatorCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorCollection ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction + AssetStorageEncryptionKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey ContentKeyPolicyTokenClaim = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenClaim - StreamingEndpointListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointListResult StreamingPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyPlayReadyConfiguration OutputFile = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OutputFile + StreamingEndpointListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointListResult StreamingPolicyContentKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyContentKey - StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEntityScaleUnit JobCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobCollection StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointAccessControl + StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEntityScaleUnit ContentKeyPolicyOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOption - AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl - OperationCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey + AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl AssetCollection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetCollection - LiveEventListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestriction LiveEventActionInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventActionInput + LiveEventListResult = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult TrackSelection = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackSelection - CrossSiteAccessPolicies = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CrossSiteAccessPolicies JobOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutput LiveEventEncoding = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncoding + CrossSiteAccessPolicies = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CrossSiteAccessPolicies StreamingPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyFairPlayConfiguration - LiveEventPreview = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreview Hls = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Hls TransformOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransformOutput + LiveEventPreview = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreview ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenKey - LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl EnabledProtocols = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnabledProtocols JobInput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput + LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl TrackedResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource MediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaService SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaService ProxyResource = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ProxyResource Asset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Asset ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier + ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOpenRestriction - ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownRestriction + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicySymmetricTokenKey - ContentKeyPolicyRsaTokenKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRsaTokenKey + ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownRestriction ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyX509CertificateTokenKey - ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenRestriction + ContentKeyPolicyRsaTokenKey = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRsaTokenKey ContentKeyPolicyClearKeyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyClearKeyConfiguration - ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownConfiguration + ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenRestriction ContentKeyPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyWidevineConfiguration - ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyConfiguration + ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownConfiguration ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayConfiguration - ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy + ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyConfiguration Audio = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Audio - AacAudio = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudio + ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioAnalyzerPreset - AudioOverlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay + AacAudio = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudio CopyVideo = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyVideo - Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video + AudioOverlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay Image = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image - ImageFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat + Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video JpgFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgFormat - PngFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat + ImageFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat CopyAudio = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyAudio - VideoLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoLayer + PngFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat H264Layer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Layer - H264Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Video + VideoLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoLayer JpgLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgLayer - JpgImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage + H264Video = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Video MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat - Mp4Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format + JpgImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage PngLayer = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer - PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + Mp4Format = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset - StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset + PngImage = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoAnalyzerPreset - TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransportStreamFormat + StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset VideoOverlay = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoOverlay - Transform = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform + TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransportStreamFormat JobInputClip = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputClip - JobInputs = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputs + Transform = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform JobInputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputAsset - JobInputHttp = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp + JobInputs = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputs JobOutputAsset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset - Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + JobInputHttp = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp StreamingPolicy = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy - StreamingLocator = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator + Job = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job LiveOutput = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutput - LiveEvent = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent + StreamingLocator = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint - StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + LiveEvent = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat - AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission + StorageAccountType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption - ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicenseType + AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentType - ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenType + ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicenseType ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType - AacAudioProfile = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudioProfile + ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenType StretchMode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StretchMode - DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceParity + AacAudioProfile = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudioProfile DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceMode - Rotation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rotation + DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceParity H264VideoProfile = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264VideoProfile - EntropyMode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntropyMode + Rotation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rotation H264Complexity = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Complexity - EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncoderNamedPreset + EntropyMode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntropyMode OnErrorType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OnErrorType - Priority = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Priority + EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncoderNamedPreset JobErrorCode = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCode - JobErrorCategory = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory + Priority = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Priority JobRetry = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry - JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + JobErrorCategory = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory TrackPropertyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType - TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation + JobState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKeyType - StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyStreamingProtocol + TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation EncryptionScheme = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncryptionScheme - LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputResourceState + StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyStreamingProtocol LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventInputProtocol - LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncodingType + LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputResourceState LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventResourceState - StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag + LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncodingType StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState + StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag end # @@ -252,9 +252,6 @@ def method_missing(method, *args) end class ModelClasses - def format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format - end def overlay Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Overlay end @@ -285,20 +282,20 @@ def content_key_policy_collection def preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Preset end - def api_error - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError + def media_service_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection + end + def format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Format end def codec Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Codec end - def media_service_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MediaServiceCollection - end def job_error Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobError end - def subscription_media_service_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection + def api_error + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ApiError end def job_error_detail Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorDetail @@ -318,12 +315,12 @@ def operation_display def cenc_drm_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CencDrmConfiguration end - def location - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location - end def list_container_sas_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ListContainerSasInput end + def subscription_media_service_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::SubscriptionMediaServiceCollection + end def storage_account Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccount end @@ -390,120 +387,120 @@ def live_output_list_result def filters Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Filters end - def content_key_policy_properties - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties - end def layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Layer end - def odata_error - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError + def location + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Location end - def streaming_locator_content_key - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey + def operation_collection + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput + def odata_error + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ODataError end def streaming_locator_user_defined_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorUserDefinedContentKey end + def streaming_locator_content_key + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKey + end def ipaccess_control Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::IPAccessControl end - def asset_storage_encryption_key - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey - end def streaming_locator_collection Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorCollection end def content_key_policy_play_ready_explicit_analog_television_restriction Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction end + def asset_storage_encryption_key + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionKey + end def content_key_policy_token_claim Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenClaim end - def streaming_endpoint_list_result - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointListResult - end def streaming_policy_play_ready_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyPlayReadyConfiguration end def output_file Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OutputFile end + def streaming_endpoint_list_result + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointListResult + end def streaming_policy_content_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyContentKey end - def streaming_entity_scale_unit - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEntityScaleUnit - end def job_collection Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobCollection end def streaming_endpoint_access_control Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointAccessControl end + def streaming_entity_scale_unit + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEntityScaleUnit + end def content_key_policy_option Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOption end - def akamai_access_control - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl - end - def operation_collection - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OperationCollection + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CheckNameAvailabilityInput end def akamai_signature_header_authentication_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiSignatureHeaderAuthenticationKey end + def akamai_access_control + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AkamaiAccessControl + end def asset_collection Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetCollection end - def live_event_list_result - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult - end def content_key_policy_restriction Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestriction end def live_event_action_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventActionInput end + def live_event_list_result + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventListResult + end def track_selection Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackSelection end - def cross_site_access_policies - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CrossSiteAccessPolicies - end def job_output Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutput end def live_event_encoding Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncoding end + def cross_site_access_policies + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CrossSiteAccessPolicies + end def streaming_policy_fair_play_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyFairPlayConfiguration end - def live_event_preview - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreview - end def hls Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Hls end def transform_output Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransformOutput end + def live_event_preview + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreview + end def content_key_policy_restriction_token_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenKey end - def live_event_preview_access_control - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl - end def enabled_protocols Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EnabledProtocols end def job_input Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInput end + def live_event_preview_access_control + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventPreviewAccessControl + end def tracked_resource Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackedResource end @@ -522,258 +519,261 @@ def asset def content_key_policy_play_ready_content_encryption_key_from_header Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end - def content_key_policy_play_ready_content_encryption_key_from_key_identifier - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier + def content_key_policy_properties + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyProperties end def content_key_policy_open_restriction Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyOpenRestriction end - def content_key_policy_unknown_restriction - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownRestriction + def content_key_policy_play_ready_content_encryption_key_from_key_identifier + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier end def content_key_policy_symmetric_token_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicySymmetricTokenKey end - def content_key_policy_rsa_token_key - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRsaTokenKey + def content_key_policy_unknown_restriction + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownRestriction end def content_key_policy_x509_certificate_token_key Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyX509CertificateTokenKey end - def content_key_policy_token_restriction - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenRestriction + def content_key_policy_rsa_token_key + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRsaTokenKey end def content_key_policy_clear_key_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyClearKeyConfiguration end - def content_key_policy_unknown_configuration - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownConfiguration + def content_key_policy_token_restriction + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyTokenRestriction end def content_key_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyWidevineConfiguration end - def content_key_policy_play_ready_configuration - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyConfiguration + def content_key_policy_unknown_configuration + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyUnknownConfiguration end def content_key_policy_fair_play_configuration Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayConfiguration end - def content_key_policy - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy + def content_key_policy_play_ready_configuration + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyConfiguration end def audio Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Audio end - def aac_audio - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudio + def content_key_policy + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicy end def audio_analyzer_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioAnalyzerPreset end - def audio_overlay - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay + def aac_audio + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudio end def copy_video Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyVideo end - def video - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video + def audio_overlay + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AudioOverlay end def image Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Image end - def image_format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat + def video + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Video end def jpg_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgFormat end - def png_format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat + def image_format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ImageFormat end def copy_audio Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::CopyAudio end - def video_layer - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoLayer + def png_format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngFormat end def h264_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Layer end - def h264_video - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Video + def video_layer + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoLayer end def jpg_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgLayer end - def jpg_image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage + def h264_video + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Video end def multi_bitrate_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::MultiBitrateFormat end - def mp4_format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format + def jpg_image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JpgImage end def png_layer Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngLayer end - def png_image - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage + def mp4_format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Mp4Format end def built_in_standard_encoder_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::BuiltInStandardEncoderPreset end - def standard_encoder_preset - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset + def png_image + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::PngImage end def video_analyzer_preset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoAnalyzerPreset end - def transport_stream_format - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransportStreamFormat + def standard_encoder_preset + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StandardEncoderPreset end def video_overlay Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::VideoOverlay end - def transform - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform + def transport_stream_format + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TransportStreamFormat end def job_input_clip Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputClip end - def job_inputs - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputs + def transform + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Transform end def job_input_asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputAsset end - def job_input_http - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp + def job_inputs + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputs end def job_output_asset Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobOutputAsset end - def job - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job + def job_input_http + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobInputHttp end def streaming_policy Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicy end - def streaming_locator - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator + def job + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Job end def live_output Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutput end - def live_event - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent + def streaming_locator + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocator end def streaming_endpoint Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpoint end - def storage_account_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType + def live_event + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEvent end def asset_storage_encryption_format Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetStorageEncryptionFormat end - def asset_container_permission - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission + def storage_account_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StorageAccountType end def content_key_policy_play_ready_unknown_output_passing_option Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption end - def content_key_policy_play_ready_license_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicenseType + def asset_container_permission + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AssetContainerPermission end def content_key_policy_play_ready_content_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyContentType end - def content_key_policy_restriction_token_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenType + def content_key_policy_play_ready_license_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyPlayReadyLicenseType end def content_key_policy_fair_play_rental_and_lease_key_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType end - def aac_audio_profile - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudioProfile + def content_key_policy_restriction_token_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::ContentKeyPolicyRestrictionTokenType end def stretch_mode Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StretchMode end - def deinterlace_parity - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceParity + def aac_audio_profile + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::AacAudioProfile end def deinterlace_mode Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceMode end - def rotation - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rotation + def deinterlace_parity + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::DeinterlaceParity end def h264_video_profile Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264VideoProfile end - def entropy_mode - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntropyMode + def rotation + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Rotation end def h264_complexity Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::H264Complexity end - def encoder_named_preset - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncoderNamedPreset + def entropy_mode + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EntropyMode end def on_error_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::OnErrorType end - def priority - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Priority + def encoder_named_preset + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncoderNamedPreset end def job_error_code Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCode end - def job_error_category - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory + def priority + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::Priority end def job_retry Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobRetry end - def job_state - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState + def job_error_category + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobErrorCategory end def track_property_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyType end - def track_property_compare_operation - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation + def job_state + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::JobState end def streaming_locator_content_key_type Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingLocatorContentKeyType end - def streaming_policy_streaming_protocol - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyStreamingProtocol + def track_property_compare_operation + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::TrackPropertyCompareOperation end def encryption_scheme Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::EncryptionScheme end - def live_output_resource_state - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputResourceState + def streaming_policy_streaming_protocol + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingPolicyStreamingProtocol end def live_event_input_protocol Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventInputProtocol end - def live_event_encoding_type - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncodingType + def live_output_resource_state + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveOutputResourceState end def live_event_resource_state Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventResourceState end - def stream_options_flag - Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag + def live_event_encoding_type + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::LiveEventEncodingType end def streaming_endpoint_resource_state Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamingEndpointResourceState end + def stream_options_flag + Azure::MediaServices::Mgmt::V2018_03_30_preview::Models::StreamOptionsFlag + end end end end