diff --git a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb index ddbf58e578..a3952bafaa 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -39,12 +39,12 @@ module Mgmt SignInSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignUpSettings DelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::DelegationSettings - Product = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Product Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy - ProductApi = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductApi + Product = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Product + ProductGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductGroup ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductSubscriptions + ProductApi = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductApi ProductPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductPolicy - ProductGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductGroup Property = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Property QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByCounterKeys QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByPeriodKeys @@ -116,9 +116,9 @@ module Models TagDescriptionCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionCollection ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails ProductEntityBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters - OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties - TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters + TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties + TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection ProductCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay AuthorizationServerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerCollection @@ -152,49 +152,49 @@ module Models IdentityProviderList = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderList RequestContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestContract IdentityProviderUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters - ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection - TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation + HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract LoggerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection - IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection - HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection RequestReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract RecipientsContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties - LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract X509CertificateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName OperationResultContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract - TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + ReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract RecipientUserCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection ReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection - NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection + ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract RecipientEmailCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection BackendCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection - BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + OperationEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract ApiVersionSetUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters ApiUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract - ReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract + QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract NetworkStatusContractByLocation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation NetworkStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract - ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + SaveConfigurationParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter UserCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters IssueAttachmentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection - OperationEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract + QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection OpenidConnectProviderUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract OpenIdConnectProviderCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection - QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + ApiEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract DeployConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters - BackendProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties - SaveConfigurationParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter QuotaCounterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract - TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties - QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection - TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract IssueCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection - ApiEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract + TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract + TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties + BackendProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties QuotaCounterValueContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties RegistrationDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegistrationDelegationSettingsProperties SubscriptionsDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionsDelegationSettingsProperties @@ -281,7 +281,7 @@ module Models end class ApiManagementManagementClass - attr_reader :group, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :policy, :product_api, :product_subscriptions, :product_policy, :product_group, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :certificate, :configurable, :base_url, :options, :model_classes + attr_reader :group, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :policy, :product, :product_group, :product_subscriptions, :product_api, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :certificate, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -323,12 +323,12 @@ def initialize(configurable, base_url=nil, options=nil) @sign_in_settings = @client_0.sign_in_settings @sign_up_settings = @client_0.sign_up_settings @delegation_settings = @client_0.delegation_settings - @product = @client_0.product @policy = @client_0.policy - @product_api = @client_0.product_api + @product = @client_0.product + @product_group = @client_0.product_group @product_subscriptions = @client_0.product_subscriptions + @product_api = @client_0.product_api @product_policy = @client_0.product_policy - @product_group = @client_0.product_group @property = @client_0.property @quota_by_counter_keys = @client_0.quota_by_counter_keys @quota_by_period_keys = @client_0.quota_by_period_keys @@ -516,14 +516,14 @@ def api_version_set_contract_details def product_entity_base_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters end - def operation_tag_resource_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + def api_management_service_update_hostname_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters end def tag_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties end - def api_management_service_update_hostname_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters + def tag_resource_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection end def product_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection @@ -624,26 +624,35 @@ def request_contract def identity_provider_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters end - def api_version_set_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + def operation_tag_resource_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties + end + def identity_provider_base_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters end def issue_comment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection end - def tag_resource_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection - end def operation Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation end + def http_message_diagnostic + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + end + def api_version_set_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection + end + def logger_update_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + end def logger_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection end def request_report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection end - def identity_provider_base_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + def tenant_configuration_sync_state_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract end def generate_sso_url_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult @@ -651,8 +660,8 @@ def generate_sso_url_result def diagnostic_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection end - def http_message_diagnostic - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + def notification_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection end def request_report_record_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract @@ -660,8 +669,8 @@ def request_report_record_contract def recipients_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties end - def logger_update_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract + def backend_proxy_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract end def x509_certificate_name Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName @@ -669,8 +678,8 @@ def x509_certificate_name def operation_result_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract end - def tenant_configuration_sync_state_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + def report_record_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract end def recipient_user_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection @@ -678,8 +687,8 @@ def recipient_user_collection def report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection end - def notification_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection + def connectivity_status_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract end def recipient_email_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection @@ -687,8 +696,8 @@ def recipient_email_collection def backend_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection end - def backend_proxy_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + def operation_entity_base_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract end def api_version_set_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters @@ -696,8 +705,8 @@ def api_version_set_update_parameters def api_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract end - def report_record_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract + def quota_counter_value_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract end def network_status_contract_by_location Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation @@ -705,8 +714,8 @@ def network_status_contract_by_location def network_status_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract end - def connectivity_status_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + def save_configuration_parameter + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter end def user_create_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters @@ -714,8 +723,8 @@ def user_create_parameters def issue_attachment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection end - def operation_entity_base_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract + def quota_counter_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection end def openid_connect_provider_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract @@ -723,35 +732,26 @@ def openid_connect_provider_update_contract def open_id_connect_provider_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection end - def quota_counter_value_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + def api_entity_base_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract end def deploy_configuration_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters end - def backend_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties - end - def save_configuration_parameter - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter - end def quota_counter_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract end - def terms_of_service_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties - end - def quota_counter_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection + def issue_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection end def tag_resource_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract end - def issue_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection + def terms_of_service_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties end - def api_entity_base_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract + def backend_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties end def quota_counter_value_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index 1696580ac6..8aff49bf7d 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module Automation module Mgmt + CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations ConnectionTypeOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionTypeOperations CredentialOperations = Azure::Automation::Mgmt::V2015_10_31::CredentialOperations @@ -38,7 +39,6 @@ module Mgmt AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations Keys = Azure::Automation::Mgmt::V2015_10_31::Keys - CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations module Models Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job @@ -142,37 +142,37 @@ module Models RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount - Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook - SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions + JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState - Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection - JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName ContentSourceType = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType - JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState - DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState + JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus AgentRegistrationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName GroupTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::GroupTypeEnum - DscConfigurationProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState - RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState + DscConfigurationState = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState - ModuleProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState - ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay + RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse @@ -182,7 +182,7 @@ module Models end class AutomationManagementClass - attr_reader :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :usages, :automation_account_operations, :statistics_operations, :keys, :certificate_operations, :configurable, :base_url, :options, :model_classes + attr_reader :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :usages, :automation_account_operations, :statistics_operations, :keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -192,6 +192,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @certificate_operations = @client_0.certificate_operations @connection_operations = @client_0.connection_operations @connection_type_operations = @client_0.connection_type_operations @credential_operations = @client_0.credential_operations @@ -223,7 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @automation_account_operations = @client_0.automation_account_operations @statistics_operations = @client_0.statistics_operations @keys = @client_0.keys - @certificate_operations = @client_0.certificate_operations @model_classes = ModelClasses.new end @@ -545,8 +545,8 @@ def runbook_create_or_update_draft_properties def credential Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection end def certificate_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters @@ -554,8 +554,8 @@ def certificate_create_or_update_parameters def dsc_node Azure::Automation::Mgmt::V2015_10_31::Models::DscNode end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration @@ -563,8 +563,8 @@ def dsc_configuration def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end - def schedule - Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration end def module_model Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel @@ -572,44 +572,44 @@ def module_model def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end - def sku_name_enum - Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum - end def certificate Azure::Automation::Mgmt::V2015_10_31::Models::Certificate end + def variable + Azure::Automation::Mgmt::V2015_10_31::Models::Variable + end def webhook Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end + def sku_name_enum + Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + end + def schedule + Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + end + def automation_key_name + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName + end def automation_key_permissions Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions end + def job_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState + end def automation_account_state Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState end - def variable - Azure::Automation::Mgmt::V2015_10_31::Models::Variable - end def job_stream_type Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection - end - def job_status - Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus - end - def automation_key_name - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName - end def content_source_type Azure::Automation::Mgmt::V2015_10_31::Models::ContentSourceType end - def job_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState + def dsc_configuration_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState end - def dsc_configuration_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState + def job_status + Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus end def agent_registration_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationKeyName @@ -617,11 +617,11 @@ def agent_registration_key_name def group_type_enum Azure::Automation::Mgmt::V2015_10_31::Models::GroupTypeEnum end - def dsc_configuration_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationProvisioningState + def module_provisioning_state + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState end - def runbook_type_enum - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + def dsc_configuration_state + Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationState end def runbook_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState @@ -629,15 +629,15 @@ def runbook_state def runbook_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState end - def module_provisioning_state - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleProvisioningState + def schedule_day + Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay + end + def runbook_type_enum + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end - def schedule_day - Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay - end def usage Azure::Automation::Mgmt::V2015_10_31::Models::Usage end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 903356eb48..49ca2fc344 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -9,13 +9,14 @@ module Batch module Mgmt Location = Azure::Batch::Mgmt::V2017_09_01::Location Operations = Azure::Batch::Mgmt::V2017_09_01::Operations + CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations - CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations module Models + CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration @@ -51,23 +52,23 @@ module Models PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType - PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState - StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat - InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption - CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType - InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState - AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility - ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay @@ -86,19 +87,18 @@ module Models BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters - AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage - NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota + NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError - AutoScaleRun = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters end class BatchManagementClass - attr_reader :location, :operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :certificate_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :operations, :certificate_operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -110,11 +110,11 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @location = @client_0.location @operations = @client_0.operations + @certificate_operations = @client_0.certificate_operations @batch_account_operations = @client_0.batch_account_operations @application_package_operations = @client_0.application_package_operations @application_operations = @client_0.application_operations @pool_operations = @client_0.pool_operations - @certificate_operations = @client_0.certificate_operations @model_classes = ModelClasses.new end @@ -133,6 +133,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters + end def task_scheduling_policy Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy end @@ -238,17 +241,17 @@ def pool_allocation_mode def account_key_type Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end - def pool_provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState - end def certificate Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end + def certificate_create_or_update_parameters + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + end def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end - def storage_account_type - Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + def pool_provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end def allocation_state Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState @@ -256,14 +259,14 @@ def allocation_state def certificate_format Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat end - def inbound_endpoint_protocol - Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + def storage_account_type + Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType end def compute_node_deallocation_option Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption end - def certificate_create_or_update_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters + def inter_node_communication_state + Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState end def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType @@ -274,11 +277,11 @@ def network_security_group_rule_access def compute_node_fill_type Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType end - def inter_node_communication_state - Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState + def elevation_level + Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel end - def auto_user_scope - Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope + def inbound_endpoint_protocol + Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol end def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation @@ -286,8 +289,8 @@ def certificate_store_location def certificate_visibility Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end - def elevation_level - Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + def auto_user_scope + Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason @@ -343,33 +346,30 @@ def batch_account_regenerate_key_parameters def activate_application_package_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters end - def auto_scale_run_error - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError - end def proxy_resource Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource end - def list_applications_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult - end def application_package Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage end - def network_security_group_rule - Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + def auto_scale_run_error + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError + end + def list_applications_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult + end + def auto_scale_run + Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun end def batch_location_quota Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota end + def network_security_group_rule + Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule + end def delete_certificate_error Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError end - def auto_scale_run - Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRun - end - def check_name_availability_parameters - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/billing_profile_module.rb b/azure_sdk/lib/latest/modules/billing_profile_module.rb index 91abf658cd..a9b798eeee 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module Billing module Mgmt + Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices - Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations module Models ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails @@ -29,7 +29,7 @@ module Models end class BillingManagementClass - attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :enrollment_accounts, :billing_periods, :invoices, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -39,10 +39,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @enrollment_accounts = @client_0.enrollment_accounts @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index ccb1bcc48e..40d53f49c8 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module CDN module Mgmt + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Origins = Azure::CDN::Mgmt::V2017_10_12::Origins CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations module Models + CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput UrlPathConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters @@ -33,32 +34,32 @@ module Models DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction - ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput - IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup - ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin + PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters + ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType - EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode + EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState - CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState - GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState - CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult - PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin @@ -68,17 +69,16 @@ module Models DeliveryRuleAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleAction ProfileUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileUpdateParameters DeliveryRule = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule - SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EndpointUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters - CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult - ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end class CDNManagementClass - attr_reader :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :endpoints, :profiles, :origins, :custom_domains, :resource_usage_operations, :edge_nodes, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -88,13 +88,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @endpoints = @client_0.endpoints @profiles = @client_0.profiles @origins = @client_0.origins @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations @edge_nodes = @client_0.edge_nodes - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -113,6 +113,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + end def delivery_rule_condition Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition end @@ -164,17 +167,17 @@ def delivery_rule_url_file_extension_condition def delivery_rule_cache_expiration_action Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction end - def validate_custom_domain_input - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput + def origin + Azure::CDN::Mgmt::V2017_10_12::Models::Origin end - def ip_address_group - Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + def purge_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters end - def proxy_resource - Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource + def validate_custom_domain_output + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end - def origin - Azure::CDN::Mgmt::V2017_10_12::Models::Origin + def edge_node + Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState @@ -182,8 +185,8 @@ def profile_resource_state def optimization_type Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType end - def edge_node - Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode + def endpoint_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState end def query_string_caching_behavior Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior @@ -191,24 +194,24 @@ def query_string_caching_behavior def tracked_resource Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource end - def endpoint_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState + def origin_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState end - def custom_domain_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState + def proxy_resource + Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource end def geo_filter_actions Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions end - def origin_resource_state - Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState + def custom_https_provisioning_substate + Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + end + def custom_domain_resource_state + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState end def custom_https_provisioning_state Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState end - def custom_https_provisioning_substate - Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate - end def custom_domain Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain end @@ -218,12 +221,12 @@ def resource def operation_display Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def operation + Azure::CDN::Mgmt::V2017_10_12::Models::Operation + end def sku_name Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end @@ -236,12 +239,12 @@ def origin_list_result def profile_list_result Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult end - def purge_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters - end def sku Azure::CDN::Mgmt::V2017_10_12::Models::Sku end + def sso_uri + Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri + end def load_parameters Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters end @@ -269,26 +272,23 @@ def profile_update_parameters def delivery_rule Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRule end - def sso_uri - Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri - end - def custom_domain_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters - end def endpoint_update_parameters Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters end - def custom_domain_list_result - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult + def custom_domain_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters end def edgenode_result Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult end - def validate_custom_domain_output - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput + def validate_custom_domain_input + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput end - def check_name_availability_input - Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + def ip_address_group + Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup + end + def custom_domain_list_result + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end end end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index b1b5038e19..244abd4cfc 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt + Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability - Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations module Models SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier @@ -29,10 +29,10 @@ module Models CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity RegenerateKeyParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters - Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku + OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter - OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult + Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList @@ -43,13 +43,13 @@ module Models UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName - UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus + UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType end class CognitiveServicesManagementClass - attr_reader :resource_skus, :accounts, :check_sku_availability, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_skus, :accounts, :check_sku_availability, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,10 +59,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @resource_skus = @client_0.resource_skus @accounts = @client_0.accounts @check_sku_availability = @client_0.check_sku_availability - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -129,8 +129,8 @@ def operation_entity def regenerate_key_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters end - def sku - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku + def operation_entity_list_result + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult end def cognitive_services_account_enumerate_skus_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult @@ -138,8 +138,8 @@ def cognitive_services_account_enumerate_skus_result def check_sku_availability_parameter Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter end - def operation_entity_list_result - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult + def sku + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end def check_sku_availability_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult @@ -171,15 +171,15 @@ def cognitive_services_resource_and_sku def key_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end - def unit_type - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType - end def error Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error end def quota_usage_status Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus end + def unit_type + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType + end end end end diff --git a/azure_sdk/lib/latest/modules/compute_profile_module.rb b/azure_sdk/lib/latest/modules/compute_profile_module.rb index 93f561162e..2314d80603 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -30,6 +30,7 @@ module Mgmt GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions module Models + ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions @@ -40,7 +41,6 @@ module Models ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts - ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue @@ -112,7 +112,7 @@ module Models KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk - SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault @@ -217,7 +217,7 @@ module Models VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile @@ -226,31 +226,31 @@ module Models VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument - DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage - ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes - PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames - RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes - UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode + RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption AccessLevel = Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion - VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState @@ -335,6 +335,9 @@ def method_missing(method, *args) end class ModelClasses + def resource_sku_location_info + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo + end def resource_sku_capabilities Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end @@ -365,9 +368,6 @@ def resource_sku_capacity def resource_sku_costs Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end - def resource_sku_location_info - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - end def operation_status_response Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end @@ -581,8 +581,8 @@ def sku def virtual_hard_disk Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk end - def ssh_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration + def network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference @@ -896,8 +896,8 @@ def gallery_image_version_publishing_profile def virtual_machine_scale_set_update_public_ipaddress_configuration Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end - def network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + def gallery_data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage end def gallery_image_version Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion @@ -923,8 +923,8 @@ def virtual_machine_size_types def run_command_document Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def disk_create_option_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + def ssh_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration end def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings @@ -938,14 +938,14 @@ def gallery def gallery_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage end - def protocol_types - Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes + def disk_create_option_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes end def gallery_osdisk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage end - def gallery_data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage + def pass_names + Azure::Compute::Mgmt::V2018_06_01::Models::PassNames end def component_names Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames @@ -962,8 +962,8 @@ def resource_identity_type def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes end - def pass_names - Azure::Compute::Mgmt::V2018_06_01::Models::PassNames + def upgrade_mode + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode end def operating_system_state_types Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes @@ -971,8 +971,8 @@ def operating_system_state_types def setting_names Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames end - def rolling_upgrade_action_type - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + def protocol_types + Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes end def caching_types Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes @@ -980,12 +980,15 @@ def caching_types def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes end - def upgrade_mode - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType end def rolling_upgrade_status_code Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode end + def rolling_upgrade_action_type + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + end def disk_create_option Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption end @@ -995,9 +998,6 @@ def access_level def ipversion Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - end def diff_disk_options Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions end diff --git a/azure_sdk/lib/latest/modules/consumption_profile_module.rb b/azure_sdk/lib/latest/modules/consumption_profile_module.rb index 486307ead2..e949d37505 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module Consumption module Mgmt + Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts @@ -18,7 +19,6 @@ module Mgmt ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_06_30::ReservationsDetails ReservationRecommendations = Azure::Consumption::Mgmt::V2018_06_30::ReservationRecommendations - Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets module Models MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails @@ -36,16 +36,16 @@ module Models QueryOptions = Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions PriceSheetProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult + ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem - ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult - ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult ForecastsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult UsageDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance + ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes ReservationSummary = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary - ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult Budget = Azure::Consumption::Mgmt::V2018_06_30::Models::Budget CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult @@ -55,13 +55,13 @@ module Models ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails TimeGrainType = Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain - TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound - ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType - OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain + OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay + ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag @@ -70,7 +70,7 @@ module Models end class ConsumptionManagementClass - attr_reader :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :configurable, :base_url, :options, :model_classes + attr_reader :budgets, :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,6 +80,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @budgets = @client_0.budgets @price_sheet = @client_0.price_sheet @cost_tags = @client_0.cost_tags @forecasts = @client_0.forecasts @@ -91,7 +92,6 @@ def initialize(configurable, base_url=nil, options=nil) @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @reservation_recommendations = @client_0.reservation_recommendations - @budgets = @client_0.budgets @model_classes = ModelClasses.new end @@ -155,18 +155,15 @@ def price_sheet_properties def reservation_recommendations_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult end + def reservation_summaries_list_result + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult + end def forecast_properties_confidence_levels_item Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem end - def resource_attributes - Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes - end def reservation_details_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult end - def reservation_summaries_list_result - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult - end def forecasts_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult end @@ -179,11 +176,14 @@ def marketplace def balance Azure::Consumption::Mgmt::V2018_06_30::Models::Balance end + def resource_attributes + Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes + end def reservation_summary Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary end - def reservation_detail - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + def tags_result + Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult end def budget Azure::Consumption::Mgmt::V2018_06_30::Models::Budget @@ -212,8 +212,8 @@ def time_grain_type def grain Azure::Consumption::Mgmt::V2018_06_30::Models::Grain end - def tags_result - Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + def charge_type + Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType end def resource Azure::Consumption::Mgmt::V2018_06_30::Models::Resource @@ -221,18 +221,18 @@ def resource def bound Azure::Consumption::Mgmt::V2018_06_30::Models::Bound end - def charge_type - Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType + def datagrain + Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain end def operator_type Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType end - def datagrain - Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain - end def operation_display Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay end + def reservation_detail + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail + end def operation Azure::Consumption::Mgmt::V2018_06_30::Models::Operation end diff --git a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb index f8ff75d715..e9551b067d 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -8,15 +8,16 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations + ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage ContainerOperations = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerOperations ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroups - ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage module Models Port = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port IpAddress = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::IpAddress EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::EnvironmentVariable ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView + Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequirements @@ -25,13 +26,12 @@ module Models Container = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential - ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay - Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult + Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult + ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState Volume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume ContainerProbe = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPropertiesInstanceView @@ -56,7 +56,7 @@ module Models end class ContainerInstanceManagementClass - attr_reader :operations, :container_operations, :container_groups, :container_group_usage, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :container_group_usage, :container_operations, :container_groups, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,9 +67,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @operations = @client_0.operations + @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations @container_groups = @client_0.container_groups - @container_group_usage = @client_0.container_group_usage @model_classes = ModelClasses.new end @@ -100,6 +100,9 @@ def environment_variable def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView end + def event + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + end def resource_requests Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests end @@ -124,26 +127,23 @@ def git_repo_volume def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential end - def container_state - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState - end def operation_display Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay end - def event - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits end def operation Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits + def container_group_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult end def operation_list_result Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult end - def container_group_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + def container_state + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState end def volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 2226b78471..72b50cb8ca 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt + Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks - Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations module Models + RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters @@ -24,27 +25,27 @@ module Models EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult + EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage - QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry - EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event - RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState + StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties + PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType - WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook @@ -63,12 +64,11 @@ module Models OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult - StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end class ContainerRegistryManagementClass - attr_reader :registries, :replications, :webhooks, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :registries, :replications, :webhooks, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,10 +78,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @registries = @client_0.registries @replications = @client_0.replications @webhooks = @client_0.webhooks - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -100,6 +100,9 @@ def method_missing(method, *args) end class ModelClasses + def registry_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + end def webhook_create_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters end @@ -133,9 +136,6 @@ def registry_list_result def registry_usage Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor end @@ -145,23 +145,26 @@ def operation_service_specification_definition def registry_list_credentials_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end + def event_content + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + end + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end - def quarantine_policy - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy - end def webhook_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters end def event_response_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end - def registry - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry + def quarantine_policy + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end - def event_content - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end def webhook_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult @@ -169,23 +172,23 @@ def webhook_list_result def replication Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def import_mode - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + def registry_usage_unit + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end - def password_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + def registry + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end def provisioning_state Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + def storage_account_properties + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def registry_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters + def password_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end - def registry_usage_unit - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit + def webhook_status + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus end def policy_status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus @@ -193,8 +196,8 @@ def policy_status def trust_policy_type Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType end - def webhook_status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event end def webhook_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction @@ -250,9 +253,6 @@ def replication_update_parameters def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end - def storage_account_properties - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end diff --git a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb index 5cc055f7e6..2c8f74f0a2 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module ContainerService module Mgmt - ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations + ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters ContainerServices = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServices module Models @@ -23,8 +23,8 @@ module Models ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile - OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile @@ -45,13 +45,13 @@ module Models ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile NetworkPlugin = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin NetworkPolicy = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy + OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult OrchestratorProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile - OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile end class ContainerServiceManagementClass - attr_reader :managed_clusters, :operations, :container_services, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :managed_clusters, :container_services, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,8 +67,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @managed_clusters = @client_1.managed_clusters @operations = @client_1.operations + @managed_clusters = @client_1.managed_clusters @client_2 = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServiceClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -131,12 +131,12 @@ def container_service_ssh_configuration def container_service_service_principal_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile end - def operation_list_result - Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult - end def container_service_linux_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile end + def operation_list_result + Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + end def container_service_vmdiagnostics Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics end @@ -197,15 +197,15 @@ def network_plugin def network_policy Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy end + def orchestrator_version_profile + Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + end def orchestrator_version_profile_list_result Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult end def orchestrator_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end - def orchestrator_version_profile - Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile - end end end end diff --git a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb index 41e9d5ac28..17754cfe34 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,6 +15,7 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex @@ -38,45 +39,44 @@ module Models JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem - MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError - TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata - CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem - RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem - PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem + TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem - ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 - CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN - CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem - BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem - FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces - ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 + CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match - KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen - VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem - CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair + VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem + DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 - Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end class ContentModeratorDataClass @@ -115,6 +115,9 @@ def method_missing(method, *args) end class ModelClasses + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end def face Azure::CognitiveServices::ContentModerator::V1_0::Models::Face end @@ -184,122 +187,119 @@ def image def image_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end def tag Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag end def transcript_moderation_body_item_terms_item Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem end - def match_response - Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - end - def frame - Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame - end def apierror Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError end - def term_list_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata + def match_response + Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def create_video_reviews_body_item_video_frames_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + def transcript_moderation_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem end def refresh_index_advanced_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem end - def transcript_moderation_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem + def term_list_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata end - def pii - Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem end - def classification_category3 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 - end - def create_video_reviews_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem - end def ssn Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN end - def create_video_reviews_body_item_video_frames_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem - end - def body_metadata - Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + def frame + Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame end def create_video_reviews_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end - def found_faces - Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + def classification_category3 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 end - def image_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + def create_video_reviews_body_item_video_frames_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end def match Azure::CognitiveServices::ContentModerator::V1_0::Models::Match end - def key_value_pair - Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair + def create_video_reviews_body_item_video_frames_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem end - def video_frame_body_item_reviewer_result_tags_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + def pii + Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + end + def image_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList + end + def found_faces + Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + end + def create_video_reviews_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end def body Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end + def body_metadata + Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata + end def status Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end - def detected_language - Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage - end def screen Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen end - def video_frame_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem + def key_value_pair + Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair end - def create_review_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + def video_frame_body_item_reviewer_result_tags_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem end def video_frame_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + def video_frame_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem end - def phone - Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone + def detected_language + Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage end def ocr Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def create_review_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + end + def content + Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + end def create_review_body_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem end def classification_category1 Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 end - def content - Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - end def term_list Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList end def azure_region_base_url Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + def phone + Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end end end diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 10d2b61abb..fcd9b15aeb 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -124,8 +124,8 @@ module Models LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType @@ -472,12 +472,12 @@ def instance_operation_type def cardinality_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes end - def role_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - end def status Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status end + def role_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + end def profile_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 676237e086..db6ce9c49a 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -9,6 +9,7 @@ module CustomSearch CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance module Models + Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode @@ -24,10 +25,9 @@ module Models WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer - Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error + Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end class CustomSearchDataClass @@ -60,6 +60,9 @@ def method_missing(method, *args) end class ModelClasses + def thing + Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end @@ -105,18 +108,15 @@ def search_response def search_results_answer Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer end - def identifiable - Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - end def error Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end + def identifiable + Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable + end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end - def thing - Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing - end end end end diff --git a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb index 0ce4e95697..037d042fee 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts - ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies module Models + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation @@ -63,11 +64,10 @@ module Models TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters end class DataLakeAnalyticsManagementClass - attr_reader :firewall_rules, :locations, :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :compute_policies, :configurable, :base_url, :options, :model_classes + attr_reader :compute_policies, :firewall_rules, :locations, :operations, :accounts, :storage_accounts, :data_lake_store_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,13 +77,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @compute_policies = @client_0.compute_policies @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @operations = @client_0.operations @accounts = @client_0.accounts @storage_accounts = @client_0.storage_accounts @data_lake_store_accounts = @client_0.data_lake_store_accounts - @compute_policies = @client_0.compute_policies @model_classes = ModelClasses.new end @@ -102,6 +102,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end def subscription_state Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end @@ -243,9 +246,6 @@ def data_lake_analytics_account_status def operation_origin Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index 0db64e864c..b6ee064f5c 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,14 +7,15 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt + Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations VirtualNetworkRules = Azure::DataLakeStore::Mgmt::V2016_11_01::VirtualNetworkRules TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts - Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations module Models + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity CreateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateVirtualNetworkRuleWithAccountParameters @@ -61,11 +62,10 @@ module Models FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters end class DataLakeStoreManagementClass - attr_reader :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations @virtual_network_rules = @client_0.virtual_network_rules @trusted_id_providers = @client_0.trusted_id_providers @accounts = @client_0.accounts - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -99,6 +99,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end def subscription_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState end @@ -237,9 +240,6 @@ def tier_type def operation_origin Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb index 324fc3abc2..afba20fc66 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module DevSpaces module Mgmt - Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations + Controllers = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Controllers module Models + ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition ResourceProviderOperationList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList @@ -27,11 +28,10 @@ module Models TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters - ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay end class DevSpacesManagementClass - attr_reader :controllers, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :controllers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,8 +41,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @controllers = @client_0.controllers @operations = @client_0.operations + @controllers = @client_0.controllers @model_classes = ModelClasses.new end @@ -61,6 +61,9 @@ def method_missing(method, *args) end class ModelClasses + def resource_provider_operation_display + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay + end def orchestrator_specific_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails end @@ -109,9 +112,6 @@ def controller_connection_details_list def controller_update_parameters Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters end - def resource_provider_operation_display - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index 44bc416a6b..0e485a72a9 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -9,29 +9,30 @@ module DevTestLabs module Mgmt VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations + ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates Artifacts = Azure::DevTestLabs::Mgmt::V2016_05_15::Artifacts Costs = Azure::DevTestLabs::Mgmt::V2016_05_15::Costs CustomImages = Azure::DevTestLabs::Mgmt::V2016_05_15::CustomImages Formulas = Azure::DevTestLabs::Mgmt::V2016_05_15::Formulas - GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages - ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations - PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels - ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners - Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets + GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages + Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules - Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules - Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments + ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies module Models + GenerateArmTemplateRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest ComputeVmInstanceViewStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus GenerateUploadUriParameter = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter ComputeVmProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties @@ -152,8 +153,8 @@ module Models PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port @@ -187,11 +188,10 @@ module Models GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment ParameterInfo = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ParameterInfo ComputeDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeDataDisk - GenerateArmTemplateRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest end class DevTestLabsManagementClass - attr_reader :virtual_machines, :disks, :operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :provider_operations, :policy_sets, :notification_channels, :service_runners, :environments, :secrets, :virtual_machine_schedules, :schedules, :users, :virtual_networks, :policies, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machines, :disks, :provider_operations, :labs, :global_schedules, :operations, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :policy_sets, :gallery_images, :users, :schedules, :secrets, :virtual_machine_schedules, :environments, :service_runners, :virtual_networks, :policies, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -203,25 +203,25 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @virtual_machines = @client_0.virtual_machines @disks = @client_0.disks - @operations = @client_0.operations + @provider_operations = @client_0.provider_operations @labs = @client_0.labs @global_schedules = @client_0.global_schedules + @operations = @client_0.operations @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @artifacts = @client_0.artifacts @costs = @client_0.costs @custom_images = @client_0.custom_images @formulas = @client_0.formulas - @gallery_images = @client_0.gallery_images - @provider_operations = @client_0.provider_operations - @policy_sets = @client_0.policy_sets @notification_channels = @client_0.notification_channels - @service_runners = @client_0.service_runners - @environments = @client_0.environments + @policy_sets = @client_0.policy_sets + @gallery_images = @client_0.gallery_images + @users = @client_0.users + @schedules = @client_0.schedules @secrets = @client_0.secrets @virtual_machine_schedules = @client_0.virtual_machine_schedules - @schedules = @client_0.schedules - @users = @client_0.users + @environments = @client_0.environments + @service_runners = @client_0.service_runners @virtual_networks = @client_0.virtual_networks @policies = @client_0.policies @@ -242,6 +242,9 @@ def method_missing(method, *args) end class ModelClasses + def generate_arm_template_request + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest + end def compute_vm_instance_view_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus end @@ -602,12 +605,12 @@ def policy_status def http_status_code Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def event Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end def policy Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy end @@ -707,9 +710,6 @@ def parameter_info def compute_data_disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeDataDisk end - def generate_arm_template_request - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest - end end end end diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index c46b8b1058..9112329e1d 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2018_03_01_preview::Zones module Models + CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource @@ -33,7 +34,6 @@ module Models AzureEntityResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate - CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord end class DnsManagementClass @@ -67,6 +67,9 @@ def method_missing(method, *args) end class ModelClasses + def caa_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + end def zone_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end @@ -133,9 +136,6 @@ def record_type def zone_update Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate end - def caa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord - end end end end diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 236ba7464b..4d46d6f60b 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -33,7 +33,7 @@ module Models ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure + LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License @@ -52,7 +52,7 @@ module Models EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness + CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse end @@ -159,8 +159,8 @@ def media_object def error Azure::CognitiveServices::EntitySearch::V1_0::Models::Error end - def civic_structure - Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure + def local_business + Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness end def tourist_attraction Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction @@ -216,8 +216,8 @@ def answer_type def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def local_business - Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness + def civic_structure + Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure end def entity_type Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType diff --git a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb index ada63bfa52..a7810bfcc2 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -187,12 +187,12 @@ def job_state end end module Mgmt + Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations Domains = Azure::EventGrid::Mgmt::V2018_09_15_preview::Domains DomainTopics = Azure::EventGrid::Mgmt::V2018_09_15_preview::DomainTopics EventSubscriptions = Azure::EventGrid::Mgmt::V2018_09_15_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_09_15_preview::Topics TopicTypes = Azure::EventGrid::Mgmt::V2018_09_15_preview::TopicTypes - Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicSharedAccessKeys @@ -256,7 +256,7 @@ module Models end class EventGridManagementClass - attr_reader :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -266,12 +266,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @domains = @client_0.domains @domain_topics = @client_0.domain_topics @event_subscriptions = @client_0.event_subscriptions @topics = @client_0.topics @topic_types = @client_0.topic_types - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 617801ec88..26e2d3813e 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module EventHub module Mgmt + Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration - Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations module Models SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName @@ -36,7 +36,7 @@ module Models end class EventHubManagementClass - attr_reader :clusters, :namespaces, :configuration, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :clusters, :namespaces, :configuration, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -46,10 +46,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @clusters = @client_0.clusters @namespaces = @client_0.namespaces @configuration = @client_0.configuration - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/face_profile_module.rb b/azure_sdk/lib/latest/modules/face_profile_module.rb index 04e2a7245f..2f91f0850b 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -12,7 +12,8 @@ module Face PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations module Models - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType + HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType @@ -48,16 +49,15 @@ module Models ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace - TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur - PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList - HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType + PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup Person = Azure::CognitiveServices::Face::V1_0::Models::Person - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType + BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel end class FaceDataClass @@ -93,8 +93,11 @@ def method_missing(method, *args) end class ModelClasses - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender + def glasses_type + Azure::CognitiveServices::Face::V1_0::Models::GlassesType + end + def hair_color_type + Azure::CognitiveServices::Face::V1_0::Models::HairColorType end def accessory_type Azure::CognitiveServices::Face::V1_0::Models::AccessoryType @@ -201,26 +204,26 @@ def update_person_face_request def detected_face Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end - def training_status - Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender end def blur Azure::CognitiveServices::Face::V1_0::Models::Blur end - def person_group - Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + def training_status + Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end def face_list Azure::CognitiveServices::Face::V1_0::Models::FaceList end - def hair_color_type - Azure::CognitiveServices::Face::V1_0::Models::HairColorType + def person_group + Azure::CognitiveServices::Face::V1_0::Models::PersonGroup end def person Azure::CognitiveServices::Face::V1_0::Models::Person end - def glasses_type - Azure::CognitiveServices::Face::V1_0::Models::GlassesType + def blur_level + Azure::CognitiveServices::Face::V1_0::Models::BlurLevel end def exposure_level Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel @@ -228,9 +231,6 @@ def exposure_level def noise_level Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel end - def blur_level - Azure::CognitiveServices::Face::V1_0::Models::BlurLevel - end end end end diff --git a/azure_sdk/lib/latest/modules/features_profile_module.rb b/azure_sdk/lib/latest/modules/features_profile_module.rb index d1a8453c22..189d52eff9 100644 --- a/azure_sdk/lib/latest/modules/features_profile_module.rb +++ b/azure_sdk/lib/latest/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models + OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay end class FeaturesManagementClass @@ -48,6 +48,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end @@ -63,9 +66,6 @@ def feature_operations_list_result def feature_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb index 3bde91c947..244a98bc9c 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -14,6 +14,7 @@ module GraphRbac Users = Azure::GraphRbac::V1_6::Users module Models + DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult UserBase = Azure::GraphRbac::V1_6::Models::UserBase AADObject = Azure::GraphRbac::V1_6::Models::AADObject RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess @@ -55,7 +56,6 @@ module Models PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile - DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult end class GraphRbacDataClass @@ -93,6 +93,9 @@ def method_missing(method, *args) end class ModelClasses + def directory_object_list_result + Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult + end def user_base Azure::GraphRbac::V1_6::Models::UserBase end @@ -216,9 +219,6 @@ def service_principal_list_result def password_profile Azure::GraphRbac::V1_6::Models::PasswordProfile end - def directory_object_list_result - Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - end end end end diff --git a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb index 8672db9989..a5b548a73c 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -24,8 +24,8 @@ module Models ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule @@ -144,12 +144,12 @@ def organization def intangible Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::ImageSearch::V1_0::Models::Error end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end def structured_value Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue end diff --git a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb index ffbd3c76b3..33e4c73cdd 100644 --- a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module IotCentral module Mgmt - Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations + Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps module Models ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails @@ -27,7 +27,7 @@ module Models end class IotCentralManagementClass - attr_reader :apps, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :apps, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,8 +37,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @apps = @client_0.apps @operations = @client_0.operations + @apps = @client_0.apps @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/iothub_profile_module.rb b/azure_sdk/lib/latest/modules/iothub_profile_module.rb index a9344afa6d..ea7d097a67 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module IotHub module Mgmt + Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates - Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations module Models + OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult @@ -89,11 +90,10 @@ module Models RoutingMessage = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput - OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties end class IotHubManagementClass - attr_reader :iot_hub_resource, :resource_provider_common, :certificates, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -103,10 +103,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @iot_hub_resource = @client_0.iot_hub_resource @resource_provider_common = @client_0.resource_provider_common @certificates = @client_0.certificates - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -125,6 +125,9 @@ def method_missing(method, *args) end class ModelClasses + def operations_monitoring_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties + end def matched_route Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute end @@ -353,9 +356,6 @@ def storage_endpoint_properties def test_all_routes_input Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput end - def operations_monitoring_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties - end end end end diff --git a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb index f2230895ba..df3770b7fb 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,6 +9,7 @@ module Azure::Profiles::Latest module KeyVault module Models + BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle @@ -106,7 +107,6 @@ module Models BackupCertificateResult = Azure::KeyVault::V7_0::Models::BackupCertificateResult DeletedSasDefinitionListResult = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters - BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult end class KeyVaultDataClass @@ -138,6 +138,9 @@ def method_missing(method, *args) end class ModelClasses + def backup_storage_result + Azure::KeyVault::V7_0::Models::BackupStorageResult + end def certificate_restore_parameters Azure::KeyVault::V7_0::Models::CertificateRestoreParameters end @@ -429,14 +432,11 @@ def deleted_sas_definition_list_result def storage_restore_parameters Azure::KeyVault::V7_0::Models::StorageRestoreParameters end - def backup_storage_result - Azure::KeyVault::V7_0::Models::BackupStorageResult - end end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations + Vaults = Azure::KeyVault::Mgmt::V2018_02_14::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions @@ -466,11 +466,11 @@ module Models Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation StoragePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions @@ -478,7 +478,7 @@ module Models end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -488,8 +488,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -589,8 +589,8 @@ def storage_permissions def virtual_network_rule Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode @@ -601,8 +601,8 @@ def certificate_permissions def sku Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind end def iprule Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index 32c6c0c1ee..b4436dca48 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module Links module Mgmt - ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks Operations = Azure::Links::Mgmt::V2016_09_01::Operations + ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult @@ -18,11 +19,10 @@ module Models ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter - OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end class LinksManagementClass - attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_links = @client_0.resource_links @operations = @client_0.operations + @resource_links = @client_0.resource_links @model_classes = ModelClasses.new end @@ -52,6 +52,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay + end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end @@ -73,9 +76,6 @@ def resource_link def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end - def operation_display - Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/locks_profile_module.rb b/azure_sdk/lib/latest/modules/locks_profile_module.rb index be6d441742..175a6c7b5d 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end class LocksManagementClass @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay + end def management_lock_owner Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end @@ -69,9 +72,6 @@ def management_lock_object def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end - def operation_display - Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index c3c587afbc..25ddbad93c 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -74,7 +74,7 @@ module Models CallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl X12AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::X12AgreementContent IntegrationAccountSchemaListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaListResult - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + EdifactValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings IntegrationAccountMapPropertiesParametersSchema = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema EdifactFramingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactFramingSettings IntegrationAccountMapListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapListResult @@ -102,24 +102,24 @@ module Models WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter WorkflowRunListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunListResult AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash AssemblyCollection = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyCollection ErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo - GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent IntegrationAccountAgreementListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult - GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters + GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter - IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter + GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault - IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter + IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection - Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression + IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings - IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult + Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings - IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces - EdifactValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings + IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult BatchConfigurationCollection = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties @@ -388,8 +388,8 @@ def x12_agreement_content def integration_account_schema_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaListResult end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + def edifact_validation_settings + Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings end def integration_account_map_properties_parameters_schema Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapPropertiesParametersSchema @@ -472,59 +472,59 @@ def workflow_run_list_result def agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent end + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash + end def assembly_collection Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyCollection end def error_info Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo end - def generate_upgraded_definition_parameters - Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters - end def edifact_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent end def integration_account_agreement_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult end - def get_callback_url_parameters - Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters + def generate_upgraded_definition_parameters + Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters end def integration_account_agreement_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter end - def integration_account_schema_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter + def get_callback_url_parameters + Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end - def integration_account_map_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter + def integration_account_schema_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter end def workflow_run_action_repetition_definition_collection Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection end - def expression - Azure::Logic::Mgmt::V2016_06_01::Models::Expression + def integration_account_map_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end - def integration_account_certificate_list_result - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult + def expression + Azure::Logic::Mgmt::V2016_06_01::Models::Expression end def as2_envelope_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end - def integration_account_session_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter + def integration_account_certificate_list_result + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult end def expression_traces Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces end - def edifact_validation_settings - Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings + def integration_account_session_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end def integration_account_session_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 56c1c9f092..7705bc8c96 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models + ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType @@ -50,7 +51,6 @@ module Models WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel - ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType end class MachineLearningManagementClass @@ -84,6 +84,9 @@ def method_missing(method, *args) end class ModelClasses + def column_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType + end def async_operation_status Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus end @@ -201,9 +204,6 @@ def web_service_properties_for_graph def diagnostics_level Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel end - def column_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - end end end end diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index f064436d24..732279fe8b 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions module Models + ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType GenericResource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource @@ -28,7 +29,6 @@ module Models Identity = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable - ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition end class ManagedApplicationsManagementClass @@ -62,6 +62,9 @@ def method_missing(method, *args) end class ModelClasses + def application_definition + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition + end def application_lock_level Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel end @@ -113,9 +116,6 @@ def application_artifact def application_patchable Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable end - def application_definition - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition - end end end end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 3319d8a4c0..42fda4f4e5 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities module Models + OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end class ManagedServiceIdentityManagementClass @@ -50,6 +50,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay + end def user_assigned_identities Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities end @@ -65,9 +68,6 @@ def operation_list_result def identity Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity end - def operation_display - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb index fe077cb068..4981006725 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -7,21 +7,21 @@ module Azure::Profiles::Latest module MarketplaceOrdering module Mgmt - MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations + MarketplaceAgreements = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::MarketplaceAgreements module Models + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms - OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay end class MarketplaceOrderingManagementClass - attr_reader :marketplace_agreements, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :marketplace_agreements, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -31,8 +31,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @marketplace_agreements = @client_0.marketplace_agreements @operations = @client_0.operations + @marketplace_agreements = @client_0.marketplace_agreements @model_classes = ModelClasses.new end @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay + end def operation Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation end @@ -69,9 +72,6 @@ def error_response_error def agreement_terms Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end - def operation_display - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index f60dfef4a6..74da846ef9 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -23,6 +23,7 @@ module Mgmt StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_07_01::StreamingEndpoints module Models + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput Job = Azure::MediaServices::Mgmt::V2018_07_01::Models::Job OperationDisplay = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay Operation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation @@ -91,7 +92,7 @@ module Models ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey - AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse OutputFile = Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile JobErrorDetail = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail LiveEventListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult @@ -177,46 +178,45 @@ module Models AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption - ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType AacAudioProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType LiveEvent = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity StretchMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation - DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format - ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType - EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode - H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType H264VideoProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode + H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType - MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType - EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset - InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType OnErrorType = Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset + AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey - ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse - JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory + JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode + InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType JobRetry = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority - JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode - StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType + TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol TrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType - TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation - LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType EncryptionScheme = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme - LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState - StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState - LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag + LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState + StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState Location = Azure::MediaServices::Mgmt::V2018_07_01::Models::Location StorageAccountType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType StorageAccount = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount JobState = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput end class MediaServicesManagementClass @@ -262,6 +262,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput + end def job Azure::MediaServices::Mgmt::V2018_07_01::Models::Job end @@ -466,8 +469,8 @@ def streaming_endpoint_access_control def content_key_policy_restriction_token_key Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey end - def akamai_access_control - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + def list_paths_response + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse end def output_file Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile @@ -724,15 +727,15 @@ def image def content_key_policy_play_ready_unknown_output_passing_option Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption end - def content_key_policy_play_ready_license_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType - end def content_key_policy_fair_play_rental_and_lease_key_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType end def aac_audio_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile end + def content_key_policy_restriction_token_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType + end def live_event Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent end @@ -745,47 +748,47 @@ def stretch_mode def rotation Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation end - def deinterlace_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode - end def format Azure::MediaServices::Mgmt::V2018_07_01::Models::Format end - def content_key_policy_restriction_token_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType + def metric_aggregation_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType end - def entropy_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode + def h264_video_profile + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + end + def deinterlace_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode end def h264_complexity Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity end - def h264_video_profile - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile + def content_key_policy_play_ready_license_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType end def content_key_policy_play_ready_content_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType end - def metric_aggregation_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType + def on_error_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType end def encoder_named_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset end - def insights_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType + def akamai_access_control + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl end - def on_error_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + def entropy_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode end def akamai_signature_header_authentication_key Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey end - def list_paths_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse + def job_error_code + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode end - def job_error_category - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory + def insights_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType end def job_retry Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry @@ -793,11 +796,11 @@ def job_retry def priority Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority end - def job_error_code - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode + def track_property_compare_operation + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation end - def streaming_locator_content_key_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType + def job_error_category + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory end def streaming_policy_streaming_protocol Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol @@ -805,11 +808,11 @@ def streaming_policy_streaming_protocol def track_property_type Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType end - def track_property_compare_operation - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + def live_output_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState end - def live_event_input_protocol - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol + def streaming_locator_content_key_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType end def live_event_encoding_type Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType @@ -817,17 +820,17 @@ def live_event_encoding_type def encryption_scheme Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme end - def live_output_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + def stream_options_flag + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag end - def streaming_endpoint_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState + def live_event_input_protocol + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol end def live_event_resource_state Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState end - def stream_options_flag - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag + def streaming_endpoint_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState end def location Azure::MediaServices::Mgmt::V2018_07_01::Models::Location @@ -841,9 +844,6 @@ def storage_account def job_state Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput - end end end end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index 89efeee24e..fbc759c0c6 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -7,11 +7,11 @@ module Azure::Profiles::Latest module Monitor module Mgmt + Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs - Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles @@ -21,12 +21,13 @@ module Mgmt MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics + MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts - MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules module Models + ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule @@ -54,7 +55,6 @@ module Models EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification - ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource @@ -87,10 +87,10 @@ module Models CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource - LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings - DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings + LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection + DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline @@ -136,6 +136,7 @@ module Models ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState @@ -152,12 +153,11 @@ module Models ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity - Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source end class MonitorManagementClass - attr_reader :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :operations, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :action_groups, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :activity_logs, :autoscale_settings, :event_categories, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts_status, :action_groups, :metric_alerts, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -167,11 +167,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @activity_logs = @client_0.activity_logs @autoscale_settings = @client_0.autoscale_settings @event_categories = @client_0.event_categories @tenant_activity_logs = @client_0.tenant_activity_logs - @operations = @client_0.operations @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -217,9 +217,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_6.subscription_id = configurable.subscription_id end add_telemetry(@client_6) + @metric_alerts_status = @client_6.metric_alerts_status @action_groups = @client_6.action_groups @metric_alerts = @client_6.metric_alerts - @metric_alerts_status = @client_6.metric_alerts_status @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options) if(@client_7.respond_to?(:subscription_id)) @@ -259,6 +259,9 @@ def method_missing(method, *args) end class ModelClasses + def scale_capacity + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity + end def autoscale_notification Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification end @@ -340,9 +343,6 @@ def email_notification def webhook_notification Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification end - def scale_capacity - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity - end def rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition end @@ -439,18 +439,18 @@ def retention_policy def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end - def log_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings - end - def diagnostic_settings_category_resource_collection - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection - end def metric_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end + def log_settings + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings + end def diagnostic_settings_resource_collection Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection end + def diagnostic_settings_category_resource_collection + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection + end def diagnostic_settings_category_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end @@ -586,6 +586,9 @@ def action_group_list def action_group_resource Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource end + def schedule + Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule + end def action Azure::Monitor::Mgmt::V2018_04_16::Models::Action end @@ -634,9 +637,6 @@ def metric_trigger_type def alert_severity Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity end - def schedule - Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule - end def source Azure::Monitor::Mgmt::V2018_04_16::Models::Source end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index d2163cef43..f133bae7dc 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -245,13 +245,13 @@ module Models GatewayRouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerProbeListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + Error = Azure::Network::Mgmt::V2018_08_01::Models::Error ErrorDetails = Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult - Error = Azure::Network::Mgmt::V2018_08_01::Models::Error - GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult BgpSettings = Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupAssociation @@ -380,67 +380,67 @@ module Models ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAuthenticationCertificate Resource = Azure::Network::Mgmt::V2018_08_01::Models::Resource ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort + ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe - ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult + EndpointServiceResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization RouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering - Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy - EndpointServiceResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway FrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2018_08_01::Models::Probe RouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter - ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway + Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider - InboundNatPool = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool + GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute NetworkWatcher = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher ExpressRouteCircuit = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization BgpServiceCommunity = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunity + PatchRouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule LoadBalancer = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayIPConfiguration NetworkProfile = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate VirtualNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGateway - PatchRouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + VirtualNetwork = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork + InboundNatPool = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity VirtualNetworkPeering = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol - PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection ApplicationGatewayTier = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName - VirtualNetwork = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite VpnClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity IPVersion = Azure::Network::Mgmt::V2018_08_01::Models::IPVersion ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode - AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState Access = Azure::Network::Mgmt::V2018_08_01::Models::Access ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily - ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState + AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier LoadDistribution = Azure::Network::Mgmt::V2018_08_01::Models::LoadDistribution ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_08_01::Models::ServiceProviderProvisioningState @@ -460,26 +460,26 @@ module Models ConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStatus Origin = Azure::Network::Mgmt::V2018_08_01::Models::Origin IssueType = Azure::Network::Mgmt::V2018_08_01::Models::IssueType - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol + ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState EvaluationState = Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState - VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType - ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState - BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType + VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol - VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType - IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IpsecEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption - IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity + IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption - PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity DhGroup = Azure::Network::Mgmt::V2018_08_01::Models::DhGroup + PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup + AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType + BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture - AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod Container = Azure::Network::Mgmt::V2018_08_01::Models::Container end @@ -1094,8 +1094,8 @@ def load_balancer_probe_list_result def bgp_peer_status_list_result Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + def error + Azure::Network::Mgmt::V2018_08_01::Models::Error end def error_details Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails @@ -1109,11 +1109,11 @@ def application_gateway_backend_health def azure_async_operation_result Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult end - def error - Azure::Network::Mgmt::V2018_08_01::Models::Error + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy end - def gateway_route - Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult @@ -1499,26 +1499,26 @@ def resource def application_gateway_ssl_certificate Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration - end def application_gateway_frontend_port Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort end + def application_gateway_http_listener + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener + end def application_gateway_path_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule end def application_gateway_probe Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe end - def application_gateway_http_listener - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener - end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration + end + def application_gateway_url_path_map + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap end def application_gateway_firewall_rule_group Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup @@ -1526,17 +1526,17 @@ def application_gateway_firewall_rule_group def application_gateway_firewall_rule_set Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet end - def application_gateway_url_path_map - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions end def route_filter_rule_list_result Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration + def endpoint_service_result + Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions + def express_route_circuit_authorization + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization end def route_filter_rule Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule @@ -1544,14 +1544,14 @@ def route_filter_rule def express_route_circuit_peering Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering end - def availability - Azure::Network::Mgmt::V2018_08_01::Models::Availability + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration end def application_gateway_ssl_predefined_policy Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_service_result - Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult + def application_gateway + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway end def frontend_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration @@ -1565,14 +1565,14 @@ def probe def route_filter Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter end - def application_gateway - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway + def availability + Azure::Network::Mgmt::V2018_08_01::Models::Availability end def express_route_service_provider Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider end - def inbound_nat_pool - Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool + def gateway_route + Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute end def network_watcher Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher @@ -1580,12 +1580,12 @@ def network_watcher def express_route_circuit Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization - end def bgp_service_community Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunity end + def patch_route_filter_rule + Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule + end def load_balancer Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer end @@ -1604,11 +1604,11 @@ def virtual_network_gateway def local_network_gateway Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGateway end - def patch_route_filter_rule - Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule + def virtual_network + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection + def inbound_nat_pool + Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity @@ -1622,8 +1622,8 @@ def application_gateway_backend_health_server_health def application_gateway_protocol Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol end - def patch_route_filter - Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection end def application_gateway_tier Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier @@ -1631,17 +1631,17 @@ def application_gateway_tier def application_gateway_sku_name Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName end - def virtual_network - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork - end def application_gateway_ssl_policy_name Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName end + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate end - def application_gateway_request_routing_rule_type - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType + def patch_route_filter + Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity @@ -1652,8 +1652,8 @@ def ipversion def application_gateway_redirect_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState end def application_gateway_ssl_protocol Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol @@ -1661,17 +1661,17 @@ def application_gateway_ssl_protocol def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode end - def authorization_use_status - Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus + def application_gateway_request_routing_rule_type + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState end def access Azure::Network::Mgmt::V2018_08_01::Models::Access @@ -1679,8 +1679,8 @@ def access def express_route_circuit_sku_family Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState + def authorization_use_status + Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus end def express_route_circuit_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier @@ -1739,26 +1739,26 @@ def origin def issue_type Azure::Network::Mgmt::V2018_08_01::Models::IssueType end - def virtual_network_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState - end def protocol Azure::Network::Mgmt::V2018_08_01::Models::Protocol end + def connection_state + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + end def evaluation_state Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState end - def virtual_network_gateway_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName + def virtual_network_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState end def virtual_network_gateway_type Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType end - def connection_state - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + def vpn_type + Azure::Network::Mgmt::V2018_08_01::Models::VpnType end - def bgp_peer_state - Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + def virtual_network_gateway_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier @@ -1766,26 +1766,26 @@ def virtual_network_gateway_sku_tier def vpn_client_protocol Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol end - def vpn_type - Azure::Network::Mgmt::V2018_08_01::Models::VpnType + def ipsec_encryption + Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption end def ipsec_integrity Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity end - def ipsec_encryption - Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption + def ike_encryption + Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption end def ike_integrity Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity end - def ike_encryption - Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption + def dh_group + Azure::Network::Mgmt::V2018_08_01::Models::DhGroup end def pfs_group Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup end - def dh_group - Azure::Network::Mgmt::V2018_08_01::Models::DhGroup + def authentication_method + Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod end def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus @@ -1793,12 +1793,12 @@ def virtual_network_gateway_connection_status def virtual_network_gateway_connection_type Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType end + def bgp_peer_state + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + end def processor_architecture Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture end - def authentication_method - Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod - end def container Azure::Network::Mgmt::V2018_08_01::Models::Container end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 19587dd60b..a812c403aa 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -13,11 +13,11 @@ module Models News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer @@ -77,21 +77,21 @@ def news_topic def response_base Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase end - def article - Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end def query Azure::CognitiveServices::NewsSearch::V1_0::Models::Query end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics + def article + Azure::CognitiveServices::NewsSearch::V1_0::Models::Article end def response Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end def search_results_answer Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index 0bfe81d29b..1ff2ca0012 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs - Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations module Models Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource @@ -49,7 +49,7 @@ module Models end class NotificationHubsManagementClass - attr_reader :namespaces, :notification_hubs, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,9 +59,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs - @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 186c2b1556..920a96c918 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,10 +9,10 @@ module OperationalInsights module Mgmt StorageInsights = Azure::OperationalInsights::Mgmt::V2015_03_20::StorageInsights SavedSearches = Azure::OperationalInsights::Mgmt::V2015_03_20::SavedSearches + Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations LinkedServices = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::LinkedServices DataSources = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::DataSources Workspaces = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Workspaces - Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag @@ -25,6 +25,7 @@ module Models SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch + SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort @@ -34,11 +35,10 @@ module Models WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata - SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult - StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum @@ -66,7 +66,7 @@ module Models end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :operations, :linked_services, :data_sources, :workspaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -84,10 +84,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @linked_services = @client_1.linked_services @data_sources = @client_1.data_sources @workspaces = @client_1.workspaces - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -138,6 +138,9 @@ def storage_insight_status def saved_search Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch end + def saved_searches_list_result + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult + end def search_results_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse end @@ -165,21 +168,18 @@ def workspace_purge_response def search_metadata Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata end - def saved_searches_list_result - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult + def workspace_purge_status_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse end def storage_insight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end - def workspace_purge_status_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse + def search_sort_enum + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum end def storage_insight_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end - def search_sort_enum - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 54cc040e24..6477839b2e 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -7,11 +7,12 @@ module Azure::Profiles::Latest module Policy module Mgmt - PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments + PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions module Models + PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult @@ -22,11 +23,10 @@ module Models PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode - PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference end class PolicyManagementClass - attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_assignments, :policy_definitions, :policy_set_definitions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -36,8 +36,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_definitions = @client_0.policy_definitions @policy_assignments = @client_0.policy_assignments + @policy_definitions = @client_0.policy_definitions @policy_set_definitions = @client_0.policy_set_definitions @model_classes = ModelClasses.new @@ -57,6 +57,9 @@ def method_missing(method, *args) end class ModelClasses + def policy_definition_reference + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference + end def policy_set_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition end @@ -87,9 +90,6 @@ def policy_type def policy_mode Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode end - def policy_definition_reference - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference - end end end end diff --git a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb index 23452bdecb..98519f159c 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module PolicyInsights module Mgmt - PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents + PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations module Models @@ -17,21 +17,21 @@ module Models PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults Summary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError - QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions end class PolicyInsightsManagementClass - attr_reader :policy_states, :policy_events, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -41,8 +41,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_states = @client_0.policy_states @policy_events = @client_0.policy_events + @policy_states = @client_0.policy_states @operations = @client_0.operations @model_classes = ModelClasses.new @@ -77,8 +77,8 @@ def summary def query_failure Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + def summarize_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults end def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults @@ -86,30 +86,30 @@ def policy_states_query_results def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end def policy_state Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState end - def operations_list_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - end def operation Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation end - def summarize_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults - end - def summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - end def query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end - def query_options - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + def operations_list_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults end def policy_states_resource Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end + def summary_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + end + def query_options + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions + end end end end diff --git a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb index 7bb3158594..fd481c892b 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::Latest module PowerBiEmbedded module Mgmt - Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces WorkspaceCollections = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::WorkspaceCollections + Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces module Models + WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display @@ -18,22 +19,21 @@ module Models AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList - MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail + AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys - WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection end class PowerBiEmbeddedManagementClass - attr_reader :workspaces, :workspace_collections, :configurable, :base_url, :options, :model_classes + attr_reader :workspace_collections, :workspaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,8 +43,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @workspaces = @client_0.workspaces @workspace_collections = @client_0.workspace_collections + @workspaces = @client_0.workspaces @model_classes = ModelClasses.new end @@ -63,6 +63,9 @@ def method_missing(method, *args) end class ModelClasses + def workspace_collection + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection + end def workspace_collection_access_key Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey end @@ -84,27 +87,24 @@ def workspace def check_name_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest end - def operation_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + def workspace_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList end def check_name_response Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse end - def workspace_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + def workspace_collection_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList end def migrate_workspace_collection_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest end - def workspace_collection_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + def error_detail + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail end def access_key_name Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName end - def error_detail - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - end def check_name_reason Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason end @@ -114,12 +114,12 @@ def operation def error Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end + def operation_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList + end def workspace_collection_access_keys Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys end - def workspace_collection - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection - end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb index 758ee53eab..afae13f825 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations - Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults + ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities - ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages - Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults module Models ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi @@ -53,7 +53,7 @@ module Models end class RecoveryServicesManagementClass - attr_reader :vault_extended_info_operations, :vaults, :usages, :vault_certificates, :registered_identities, :replication_usages, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vault_extended_info_operations, :replication_usages, :usages, :vault_certificates, :registered_identities, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -63,13 +63,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @vault_extended_info_operations = @client_0.vault_extended_info_operations - @vaults = @client_0.vaults + @replication_usages = @client_0.replication_usages @usages = @client_0.usages @vault_certificates = @client_0.vault_certificates @registered_identities = @client_0.registered_identities - @replication_usages = @client_0.replication_usages - @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index eb9d154da5..5764330e50 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -8,6 +8,7 @@ module Azure::Profiles::Latest module RecoveryServicesBackup module Mgmt Operations = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Operations + BackupOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationStatuses ProtectionPolicies = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicies ProtectionPolicyOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationResults ProtectionPolicyOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionPolicyOperationStatuses @@ -32,7 +33,6 @@ module Mgmt JobCancellations = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::JobCancellations JobOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::JobOperationResults BackupOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationResults - BackupOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupOperationStatuses ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport @@ -46,12 +46,12 @@ module Mgmt Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs module Models + ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryResponse = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse - ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo @@ -150,9 +150,9 @@ module Models OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList - ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource + ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource @@ -187,22 +187,22 @@ module Models AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo @@ -325,7 +325,7 @@ module Models end class RecoveryServicesBackupManagementClass - attr_reader :operations, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -342,6 +342,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @backup_operation_statuses = @client_1.backup_operation_statuses @protection_policies = @client_1.protection_policies @protection_policy_operation_results = @client_1.protection_policy_operation_results @protection_policy_operation_statuses = @client_1.protection_policy_operation_statuses @@ -366,7 +367,6 @@ def initialize(configurable, base_url=nil, options=nil) @job_cancellations = @client_1.job_cancellations @job_operation_results = @client_1.job_operation_results @backup_operation_results = @client_1.backup_operation_results - @backup_operation_statuses = @client_1.backup_operation_statuses @client_2 = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::RecoveryServicesBackupClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -406,6 +406,9 @@ def method_missing(method, *args) end class ModelClasses + def client_discovery_for_log_specification + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification + end def client_discovery_value_for_single_api Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end @@ -421,9 +424,6 @@ def client_discovery_for_properties def client_discovery_response Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse end - def client_discovery_for_log_specification - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification - end def storage_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end @@ -718,14 +718,14 @@ def protectable_container_resource def backup_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest end - def protection_container_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList + def protectable_container_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end def protection_container_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource end - def protectable_container_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList + def protection_container_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end def recovery_point_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource @@ -829,8 +829,8 @@ def daily_retention_schedule def azure_workload_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo end - def validate_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end def daily_retention_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat @@ -847,8 +847,8 @@ def azure_iaa_svmjob_task_details def azure_storage_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def validate_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest end def azure_vmresource_feature_support_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse @@ -865,8 +865,8 @@ def pre_validate_enable_backup_request def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject end def backup_status_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest @@ -874,8 +874,8 @@ def backup_status_request def backup_management_usage Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList end def bmsbackup_summaries_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject diff --git a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb index 206b2ed5a4..d127aa75e4 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -234,8 +234,8 @@ module Models A2ASwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ASwitchProtectionInput A2AUpdateContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateContainerMappingInput A2AUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput - Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment + Alert = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert AutomationRunbookTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails AzureFabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricCreationInput AsrJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails @@ -258,15 +258,15 @@ module Models HyperVReplicaAzurePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput HyperVReplicaAzureFailoverProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput HyperVReplicaAzureReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event HyperVReplicaAzureUpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails HyperVReplicaBasePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails HyperVReplicaBaseReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails HyperVReplicaBaseEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails HyperVReplicaBluePolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails HyperVReplicaBluePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput HyperVReplicaBlueReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails - HyperVReplicaAzureReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event HyperVReplicaPolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput HyperVReplicaPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails HyperVSiteDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails @@ -328,30 +328,30 @@ module Models VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmNetworkMappingSettings VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmDetails VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput - VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails VMwareCbtPolicyCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput VmwareCbtPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails - VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails AgentAutoUpdateStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus - VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy - MultiVmGroupCreateOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption RecoveryPointSyncType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType + MultiVmGroupCreateOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections - VmNicUpdatesTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails - DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation FailoverDeploymentModel = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel - RecoveryPlanGroupType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType - AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput PresenceStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus - MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory - ReplicationProtectedItemOperation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation + MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation @@ -1038,12 +1038,12 @@ def a2_aupdate_container_mapping_input def a2_aupdate_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert - end def role_assignment Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment end + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert + end def automation_runbook_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails end @@ -1110,12 +1110,12 @@ def hyper_vreplica_azure_failover_provider_input def hyper_vreplica_azure_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event - end def hyper_vreplica_azure_update_replication_protected_item_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + end def hyper_vreplica_base_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails end @@ -1134,8 +1134,8 @@ def hyper_vreplica_blue_policy_input def hyper_vreplica_blue_replication_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event end def hyper_vreplica_policy_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput @@ -1320,8 +1320,8 @@ def vmm_details def vmm_to_vmm_update_network_mapping_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput end - def vmm_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails end def vmware_cbt_policy_creation_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput @@ -1332,8 +1332,8 @@ def vmm_to_vmm_create_network_mapping_input def vmware_cbt_policy_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails end def vmware_v2_fabric_specific_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails @@ -1347,50 +1347,50 @@ def agent_auto_update_status def set_multi_vm_sync_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails - end def policy Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy end - def multi_vm_group_create_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption - end def recovery_point_sync_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType end + def multi_vm_group_create_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption + end def network Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network end + def recovery_plan_group_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + end + def vmm_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + end def possible_operations_directions Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections end - def vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails - end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation end def failover_deployment_model Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel end - def recovery_plan_group_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + def disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason end - def agent_version_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput end def presence_status Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + def agent_version_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus end def health_error_category Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus end def a2_arp_recovery_point_type Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index e018a92abe..e245e1aaa3 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,13 +7,14 @@ module Azure::Profiles::Latest module Redis module Mgmt - FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules Operations = Azure::Redis::Mgmt::V2018_03_01::Operations + FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules + LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer Redis = Azure::Redis::Mgmt::V2018_03_01::Redis PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules - LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer module Models + CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay @@ -51,11 +52,10 @@ module Models TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole - CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters end class RedisManagementClass - attr_reader :firewall_rules, :operations, :redis, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :firewall_rules, :linked_server, :redis, :patch_schedules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -65,11 +65,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @firewall_rules = @client_0.firewall_rules @operations = @client_0.operations + @firewall_rules = @client_0.firewall_rules + @linked_server = @client_0.linked_server @redis = @client_0.redis @patch_schedules = @client_0.patch_schedules - @linked_server = @client_0.linked_server @model_classes = ModelClasses.new end @@ -88,6 +88,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters + end def resource Azure::Redis::Mgmt::V2018_03_01::Models::Resource end @@ -199,9 +202,6 @@ def proxy_resource def replication_role Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole end - def check_name_availability_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - end end end end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 1241bb2f11..78eb337073 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,32 +7,32 @@ module Azure::Profiles::Latest module Relay module Mgmt + Operations = Azure::Relay::Mgmt::V2017_04_01::Operations Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays - Operations = Azure::Relay::Mgmt::V2017_04_01::Operations module Models Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay - ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype - RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier @@ -43,7 +43,7 @@ module Models end class RelayManagementClass - attr_reader :namespaces, :hybrid_connections, :wcfrelays, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,10 +53,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -81,6 +81,9 @@ def resource def key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end + def relay_namespace_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + end def operation_display Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay end @@ -93,26 +96,23 @@ def hybrid_connection_list_result def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end - def authorization_rule_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - end - def relay_namespace_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + def access_keys + Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys end def regenerate_access_key_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def access_keys - Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + def operation_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult + end + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation end def wcf_relay Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + def relay_update_parameters + Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end def authorization_rule Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule @@ -120,11 +120,11 @@ def authorization_rule def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def relay_update_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + def authorization_rule_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end def relay_namespace Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace @@ -132,8 +132,8 @@ def relay_namespace def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end def access_rights Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights diff --git a/azure_sdk/lib/latest/modules/resources_profile_module.rb b/azure_sdk/lib/latest/modules/resources_profile_module.rb index 08076d0916..c1c4bffc7b 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module Resources module Mgmt + Operations = Azure::Resources::Mgmt::V2018_05_01::Operations Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments Providers = Azure::Resources::Mgmt::V2018_05_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_05_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2018_05_01::Resources - Operations = Azure::Resources::Mgmt::V2018_05_01::Operations + DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter @@ -30,12 +30,12 @@ module Models Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency - ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest - DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest + Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult + DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter TagDetails = Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue @@ -73,7 +73,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,13 +83,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources - @operations = @client_0.operations + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -150,17 +150,14 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended - end - def deployment_properties_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + def dependency + Azure::Resources::Mgmt::V2018_05_01::Models::Dependency end def tag_count Azure::Resources::Mgmt::V2018_05_01::Models::TagCount @@ -168,6 +165,9 @@ def tag_count def provider_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult end + def deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + end def resource_group_filter Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 580e5c80af..242eb63a73 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module ResourcesManagement module Mgmt + ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities - ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations module Models @@ -17,33 +17,33 @@ module Models Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults + OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo - OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult - ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult + EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem - ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails + PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo - CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest - ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo - PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest - EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason + CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end class ResourcesManagementManagementClass - attr_reader :management_group_subscriptions, :entities, :management_groups, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :entities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,9 +53,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions @entities = @client_0.entities - @management_groups = @client_0.management_groups @operations = @client_0.operations @model_classes = ModelClasses.new @@ -87,8 +87,8 @@ def operation def operation_list_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult end - def operation_results - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults + def operation_display_properties + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties end def entity_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo @@ -96,14 +96,14 @@ def entity_parent_group_info def entity_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo end - def operation_display_properties - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties - end def tenant_backfill_status_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult end - def management_group_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult + def entity_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + end + def operation_results + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults end def check_name_availability_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult @@ -111,8 +111,8 @@ def check_name_availability_result def entity_hierarchy_item Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem end - def management_group_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails + def patch_management_group_request + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest end def management_group Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup @@ -132,24 +132,24 @@ def create_management_group_request def management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo end - def create_parent_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + def management_group_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult end def check_name_availability_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest end - def management_group_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo - end - def patch_management_group_request - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest - end - def entity_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult + def management_group_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails end def reason Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason end + def create_parent_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo + end + def management_group_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo + end def status Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index df5100af69..b9a11b7bc9 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence @@ -30,21 +31,21 @@ module Models JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus JobHistoryFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryFilter JobMaxRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence - JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobStateFilter = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter JobRecurrenceScheduleMonthlyOccurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceScheduleMonthlyOccurrence ServiceBusMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage + JobErrorAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction JobCollectionListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult ServiceBusAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthentication ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication + OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency @@ -54,7 +55,6 @@ module Models JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult end class SchedulerManagementClass @@ -88,6 +88,9 @@ def method_missing(method, *args) end class ModelClasses + def job_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + end def retry_policy Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy end @@ -145,9 +148,6 @@ def job_history_filter def job_max_recurrence Azure::Scheduler::Mgmt::V2016_03_01::Models::JobMaxRecurrence end - def job_error_action - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction - end def job_state_filter Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStateFilter end @@ -157,6 +157,9 @@ def job_recurrence_schedule_monthly_occurrence def service_bus_message Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusMessage end + def job_error_action + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobErrorAction + end def job_collection_list_result Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionListResult end @@ -172,23 +175,23 @@ def service_bus_topic_message def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end + def oauth_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + end def sku_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition end def job_collection_state Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - end def retry_type Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def oauth_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication end def job_execution_status Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus @@ -217,9 +220,6 @@ def sku def job_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end end end end diff --git a/azure_sdk/lib/latest/modules/search_profile_module.rb b/azure_sdk/lib/latest/modules/search_profile_module.rb index f188a22c66..e0e2b2d130 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module Search module Mgmt + Operations = Azure::Search::Mgmt::V2015_08_19::Operations Services = Azure::Search::Mgmt::V2015_08_19::Services AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys - Operations = Azure::Search::Mgmt::V2015_08_19::Operations module Models + CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource @@ -30,11 +31,10 @@ module Models AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity - CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput end class SearchManagementClass - attr_reader :services, :admin_keys, :query_keys, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :services, :admin_keys, :query_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -44,10 +44,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @services = @client_0.services @admin_keys = @client_0.admin_keys @query_keys = @client_0.query_keys - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -66,6 +66,9 @@ def method_missing(method, *args) end class ModelClasses + def check_name_availability_input + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput + end def check_name_availability_output Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput end @@ -117,9 +120,6 @@ def search_service_status def identity Azure::Search::Mgmt::V2015_08_19::Models::Identity end - def check_name_availability_input - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - end end end end diff --git a/azure_sdk/lib/latest/modules/security_profile_module.rb b/azure_sdk/lib/latest/modules/security_profile_module.rb index ebb0774a5f..b1bc802508 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -7,13 +7,14 @@ module Azure::Profiles::Latest module Security module Mgmt + WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings SecurityContacts = Azure::Security::Mgmt::V2017_08_01_preview::SecurityContacts - WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings module Models + AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource @@ -29,11 +30,10 @@ module Models AutoProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting Compliance = Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance AlertNotifications = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications - AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins end class SecurityManagementClass - attr_reader :auto_provisioning_settings, :compliances, :pricings, :security_contacts, :workspace_settings, :configurable, :base_url, :options, :model_classes + attr_reader :workspace_settings, :auto_provisioning_settings, :compliances, :pricings, :security_contacts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,11 +43,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @workspace_settings = @client_0.workspace_settings @auto_provisioning_settings = @client_0.auto_provisioning_settings @compliances = @client_0.compliances @pricings = @client_0.pricings @security_contacts = @client_0.security_contacts - @workspace_settings = @client_0.workspace_settings @model_classes = ModelClasses.new end @@ -66,6 +66,9 @@ def method_missing(method, *args) end class ModelClasses + def alerts_to_admins + Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins + end def pricing_tier Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier end @@ -111,9 +114,6 @@ def compliance def alert_notifications Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications end - def alerts_to_admins - Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins - end end end end diff --git a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb index c80e6f4be0..de1010e33f 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -32,37 +32,37 @@ module Models PremiumMessagingRegionsListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsListResult ArmDisasterRecoveryListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability + PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku - CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule - RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue - SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult + Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType @@ -150,32 +150,32 @@ def arm_disaster_recovery_list_result def sbsubscription_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult end + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + end def sbauthorization_rule_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult end def check_name_availability Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability end + def premium_messaging_regions_properties + Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + end def message_count_details Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay - end - def sbnamespace_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult - end def access_keys Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys end - def capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription + def sbnamespace_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult end def operation_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult end - def premium_messaging_regions_properties - Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation end def event_hub_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult @@ -186,8 +186,8 @@ def authorization_rule_properties def check_name_availability_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + def correlation_filter + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter @@ -195,8 +195,8 @@ def sql_filter def sbsku Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end - def correlation_filter - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + def capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription end def regenerate_access_key_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters @@ -210,12 +210,12 @@ def sbnamespace_update_parameters def sbauthorization_rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule end - def rule_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - end def action Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end def sbsubscription Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription end @@ -225,11 +225,11 @@ def rule def sbqueue Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue end - def sbtopic - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic + def rule_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + def eventhub + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub end def arm_disaster_recovery Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery @@ -240,8 +240,8 @@ def sql_rule_action def premium_messaging_regions Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def eventhub - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub + def sbtopic + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 7c8027648b..ba9135df47 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -11,9 +11,9 @@ module Mgmt Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application + Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters ClusterVersions = Azure::ServiceFabric::Mgmt::V2018_02_01::ClusterVersions - Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations module Models ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase @@ -26,26 +26,27 @@ module Models PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList - ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList ApplicationUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy VersionResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResourceList ServiceResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceList NamedPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::NamedPartitionSchemeDescription UniformInt64RangePartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::UniformInt64RangePartitionSchemeDescription SingletonPartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription - ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource VersionResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource - ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + ApplicationTypeResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource ApplicationResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate - ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + ApplicationResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource ServiceResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource + ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate ServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties StatelessServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceProperties StatelessServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties - ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate - StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties + ServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster @@ -76,11 +77,10 @@ module Models ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails - SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription end class ServiceFabricManagementClass - attr_reader :application_type, :service, :version, :application, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :application_type, :service, :version, :application, :operations, :clusters, :cluster_versions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -100,9 +100,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @clusters = @client_1.clusters @cluster_versions = @client_1.cluster_versions - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -153,9 +153,6 @@ def rolling_upgrade_monitoring_policy def application_type_resource_list Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList end - def application_resource_list - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList - end def application_upgrade_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy end @@ -174,24 +171,27 @@ def uniform_int64_range_partition_scheme_description def singleton_partition_scheme_description Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::SingletonPartitionSchemeDescription end - def application_type_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource - end def version_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResource end - def application_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource + def application_type_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResource end def application_resource_update Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceUpdate end - def service_properties - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties + def application_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResource end def service_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResource end + def application_resource_list + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + end + def service_resource_update + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate + end def service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceUpdateProperties end @@ -201,18 +201,21 @@ def stateless_service_properties def stateless_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties end - def service_resource_update - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate + def stateful_service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties + end + def service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceProperties end def stateful_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties end - def stateful_service_properties - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties - end def proxy_resource Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource end + def settings_parameter_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription + end def application_health_policy Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy end @@ -303,9 +306,6 @@ def cluster_upgrade_delta_health_policy def cluster_version_details Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails end - def settings_parameter_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription - end end end end diff --git a/azure_sdk/lib/latest/modules/signalr_profile_module.rb b/azure_sdk/lib/latest/modules/signalr_profile_module.rb index 90526ca4d4..2b1aab3c41 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module Signalr module Mgmt + Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations Usages = Azure::Signalr::Mgmt::V2018_03_01_preview::Usages SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR - Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations module Models Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource @@ -29,18 +29,18 @@ module Models SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability - SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters SignalRUsageName = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName - SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource end class SignalrManagementClass - attr_reader :usages, :signal_r, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usages, :signal_r, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -50,9 +50,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @usages = @client_0.usages @signal_r = @client_0.signal_r - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -122,30 +122,30 @@ def signal_rkeys def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource + end def name_availability Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end - def signal_rusage - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage - end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters end def signal_rusage_name Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName end - def signal_rresource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + def signal_rusage + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage end def signal_rcreate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - end def signal_rsku_tier Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + end end end end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index 2461820597..4169ff5add 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -16,8 +16,8 @@ module Models Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error @@ -77,12 +77,12 @@ def error_response def spell_check Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck end - def response_base - Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - end def response Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end + def response_base + Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase + end def action_type Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 74704f3337..9453d0fc50 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -36,6 +36,7 @@ module Mgmt DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors @@ -51,7 +52,7 @@ module Mgmt SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers - SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages + JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups JobVersions = Azure::SQL::Mgmt::V2017_03_01_preview::JobVersions LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases @@ -59,9 +60,9 @@ module Mgmt BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels - ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies @@ -69,13 +70,12 @@ module Mgmt DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents JobCredentials = Azure::SQL::Mgmt::V2017_03_01_preview::JobCredentials - DataWarehouseUserActivitiesOperations = Azure::SQL::Mgmt::V2017_03_01_preview::DataWarehouseUserActivitiesOperations JobExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobExecutions JobStepExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobStepExecutions JobTargetExecutions = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetExecutions - JobTargetGroups = Azure::SQL::Mgmt::V2017_03_01_preview::JobTargetGroups ElasticPoolOperations = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPoolOperations DatabaseVulnerabilityAssessmentScans = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseVulnerabilityAssessmentScans InstanceFailoverGroups = Azure::SQL::Mgmt::V2017_10_01_preview::InstanceFailoverGroups @@ -88,6 +88,7 @@ module Mgmt Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities module Models + TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy @@ -167,17 +168,17 @@ module Models OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric + BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult - QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult @@ -200,7 +201,7 @@ module Models ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity - TransparentDataEncryptionActivity = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType @@ -279,7 +280,7 @@ module Models ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate @@ -348,7 +349,6 @@ module Models BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName @@ -419,7 +419,7 @@ module Models end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :recommended_elastic_pools, :server_azure_adadministrators, :service_objectives, :server_communication_links, :elastic_pool_database_activities, :elastic_pool_activities, :transparent_data_encryptions, :service_tier_advisors, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :firewall_rules, :server_advisors, :database_advisors, :servers, :operations, :virtual_network_rules, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :job_versions, :long_term_retention_backups, :managed_databases, :job_steps, :backup_long_term_retention_policies, :server_automatic_tuning_operations, :sensitivity_labels, :server_security_alert_policies, :jobs, :server_dns_aliases, :restore_points, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :job_agents, :job_credentials, :data_warehouse_user_activities_operations, :job_executions, :job_step_executions, :job_target_executions, :job_target_groups, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :elastic_pools, :database_operations, :capabilities, :configurable, :base_url, :options, :model_classes + attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :replication_links, :recommended_elastic_pools, :server_azure_adadministrators, :service_objectives, :server_communication_links, :elastic_pool_database_activities, :elastic_pool_activities, :transparent_data_encryptions, :service_tier_advisors, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :subscription_usages, :firewall_rules, :server_advisors, :database_advisors, :servers, :operations, :virtual_network_rules, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :job_steps, :backup_long_term_retention_policies, :server_automatic_tuning_operations, :sensitivity_labels, :data_warehouse_user_activities_operations, :server_dns_aliases, :server_security_alert_policies, :restore_points, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :jobs, :job_agents, :job_credentials, :job_executions, :job_step_executions, :job_target_executions, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :elastic_pools, :database_operations, :capabilities, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -464,6 +464,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @subscription_usages = @client_1.subscription_usages @firewall_rules = @client_1.firewall_rules @server_advisors = @client_1.server_advisors @database_advisors = @client_1.database_advisors @@ -479,13 +480,13 @@ def initialize(configurable, base_url=nil, options=nil) @sync_agents = @client_1.sync_agents @sync_groups = @client_1.sync_groups @sync_members = @client_1.sync_members - @subscription_usages = @client_1.subscription_usages @client_2 = Azure::SQL::Mgmt::V2017_03_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @job_target_groups = @client_2.job_target_groups @job_versions = @client_2.job_versions @long_term_retention_backups = @client_2.long_term_retention_backups @managed_databases = @client_2.managed_databases @@ -493,9 +494,9 @@ def initialize(configurable, base_url=nil, options=nil) @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @sensitivity_labels = @client_2.sensitivity_labels - @server_security_alert_policies = @client_2.server_security_alert_policies - @jobs = @client_2.jobs + @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies @restore_points = @client_2.restore_points @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @@ -503,13 +504,12 @@ def initialize(configurable, base_url=nil, options=nil) @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @database_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines @database_vulnerability_assessments = @client_2.database_vulnerability_assessments + @jobs = @client_2.jobs @job_agents = @client_2.job_agents @job_credentials = @client_2.job_credentials - @data_warehouse_user_activities_operations = @client_2.data_warehouse_user_activities_operations @job_executions = @client_2.job_executions @job_step_executions = @client_2.job_step_executions @job_target_executions = @client_2.job_target_executions - @job_target_groups = @client_2.job_target_groups @client_3 = Azure::SQL::Mgmt::V2017_10_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @@ -550,6 +550,9 @@ def method_missing(method, *args) end class ModelClasses + def transparent_data_encryption_activity + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + end def elastic_pool_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity end @@ -787,12 +790,12 @@ def metric_definition_list_result def metric_availability Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end - def backup_long_term_retention_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult - end def query_metric Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric end + def backup_long_term_retention_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult + end def service_tier_advisor_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult end @@ -802,9 +805,6 @@ def query_interval def recoverable_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult end - def query_statistic - Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic - end def metric Azure::SQL::Mgmt::V2014_04_01::Models::Metric end @@ -820,6 +820,9 @@ def elastic_pool_dtu_capability def advisor_list_result Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult end + def query_statistic + Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic + end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end @@ -886,8 +889,8 @@ def service_objective def elastic_pool_database_activity Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity end - def transparent_data_encryption_activity - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivity + def sync_agent_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end def advisor_status Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus @@ -1123,8 +1126,8 @@ def failover_group_replication_role def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def sync_agent_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end def job_schedule Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule @@ -1330,9 +1333,6 @@ def automatic_tuning_option_mode_desired def automatic_tuning_option_mode_actual Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult - end def capability_status Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus end diff --git a/azure_sdk/lib/latest/modules/storage_profile_module.rb b/azure_sdk/lib/latest/modules/storage_profile_module.rb index 807fbcd787..1da1ce6e82 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module Storage module Mgmt + Operations = Azure::Storage::Mgmt::V2018_07_01::Operations StorageAccounts = Azure::Storage::Mgmt::V2018_07_01::StorageAccounts Skus = Azure::Storage::Mgmt::V2018_07_01::Skus Usages = Azure::Storage::Mgmt::V2018_07_01::Usages BlobContainers = Azure::Storage::Mgmt::V2018_07_01::BlobContainers - Operations = Azure::Storage::Mgmt::V2018_07_01::Operations module Models ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies + LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey @@ -33,13 +34,13 @@ module Models SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier Kind = Azure::Storage::Mgmt::V2018_07_01::Models::Kind VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule - AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason - AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission State = Azure::Storage::Mgmt::V2018_07_01::Models::State + AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier UsageUnit = Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters @@ -68,20 +69,20 @@ module Models ListContainerItem = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem BlobContainer = Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage - Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action ReasonCode = Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy - Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action + DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource - SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol - LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess - DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState TrackedResource = Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState @@ -90,11 +91,10 @@ module Models AzureEntityResource = Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource ProxyResource = Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType - LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus end class StorageManagementClass - attr_reader :storage_accounts, :skus, :usages, :blob_containers, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :storage_accounts, :skus, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -110,11 +110,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @operations = @client_1.operations @storage_accounts = @client_1.storage_accounts @skus = @client_1.skus @usages = @client_1.usages @blob_containers = @client_1.blob_containers - @operations = @client_1.operations @model_classes = ModelClasses.new end @@ -141,6 +141,9 @@ def management_policies_rules_set_parameter def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end + def lease_duration + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + end def provisioning_state Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState end @@ -192,26 +195,26 @@ def kind def virtual_network_rule Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule end - def access_tier - Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier - end def reason Azure::Storage::Mgmt::V2018_07_01::Models::Reason end - def account_status - Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus + def key_permission + Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission end def state Azure::Storage::Mgmt::V2018_07_01::Models::State end + def access_tier + Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier + end def usage_unit Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit end def usage_name Azure::Storage::Mgmt::V2018_07_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + def account_status + Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus end def storage_account_create_parameters Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters @@ -297,8 +300,8 @@ def blob_container def usage Azure::Storage::Mgmt::V2018_07_01::Models::Usage end - def bypass - Azure::Storage::Mgmt::V2018_07_01::Models::Bypass + def action + Azure::Storage::Mgmt::V2018_07_01::Models::Action end def reason_code Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode @@ -309,8 +312,8 @@ def sku_name def immutability_policy Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy end - def action - Azure::Storage::Mgmt::V2018_07_01::Models::Action + def default_action + Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction end def signed_resource_types Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes @@ -318,8 +321,8 @@ def signed_resource_types def key_source Azure::Storage::Mgmt::V2018_07_01::Models::KeySource end - def signed_resource - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + def bypass + Azure::Storage::Mgmt::V2018_07_01::Models::Bypass end def sku Azure::Storage::Mgmt::V2018_07_01::Models::Sku @@ -330,14 +333,14 @@ def services def http_protocol Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol end - def lease_duration - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + def signed_resource + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource end def public_access Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess end - def default_action - Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction + def lease_status + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus end def lease_state Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState @@ -363,9 +366,6 @@ def proxy_resource def immutability_policy_update_type Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType end - def lease_status - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus - end end end end diff --git a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb index eecd531c34..dd9b323a8f 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -25,6 +25,7 @@ module Mgmt Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs module Models + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType @@ -131,16 +132,16 @@ module Models NetworkAdapters = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkAdapters SecuritySettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch ManagerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList - DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay - DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings + MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList @@ -183,7 +184,6 @@ module Models VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm end class StorSimple8000SeriesManagementClass @@ -231,6 +231,9 @@ def method_missing(method, *args) end class ModelClasses + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + end def day_of_week Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek end @@ -549,36 +552,36 @@ def security_settings_patch def manager_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList end - def device_rollover_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails - end def time Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end - def manager_patch - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + def device_rollover_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails + end + def dimension_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end def metric_availablity Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity end + def manager_patch + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + end def available_provider_operation_display Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay end - def dimension_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - end - def metric_data - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + def backup_policy_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end def chap_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings end + def metric_data + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + end def secondary_dnssettings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings end - def backup_policy_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList - end def device_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList end @@ -705,9 +708,6 @@ def scheduled_backup_status def alert_email_notification_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - end end end end diff --git a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb index 35b204876f..29566430ae 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module StreamAnalytics module Mgmt - Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions + Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations StreamingJobs = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamingJobs Inputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Inputs Outputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Outputs Transformations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Transformations Functions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Functions - Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations + Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn @@ -45,53 +45,53 @@ module Models FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Function = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Function StreamingJob = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob - Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding AzureMachineLearningWebServiceFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding ScalarFunctionProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ScalarFunctionProperties AvroSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation - AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + Output = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization - EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties - JavaScriptFunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource - PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource - DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource - AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource - AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource + EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource + EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource - StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties - EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters - IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel - JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy - OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType + Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse end class StreamAnalyticsManagementClass - attr_reader :subscriptions, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -101,13 +101,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @subscriptions = @client_0.subscriptions + @operations = @client_0.operations @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations @functions = @client_0.functions - @operations = @client_0.operations + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -213,8 +213,8 @@ def function def streaming_job Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJob end - def output - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output + def java_script_function_binding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding end def azure_machine_learning_web_service_function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionBinding @@ -234,17 +234,17 @@ def json_serialization def transformation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation end - def azure_data_lake_store_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource + def output + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Output end def csv_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end - def event_hub_data_source_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties + def azure_data_lake_store_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource end - def java_script_function_binding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionBinding + def power_bioutput_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource end def resource Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource @@ -252,20 +252,20 @@ def resource def service_bus_topic_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource end - def power_bioutput_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource + def service_bus_queue_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource end - def document_db_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource + def event_hub_data_source_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties end def azure_sql_database_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource end - def service_bus_queue_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource + def event_hub_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource end - def azure_table_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource + def document_db_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource end def blob_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource @@ -273,8 +273,8 @@ def blob_output_data_source def operation_display Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay end - def reference_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + def azure_table_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end def operation Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation @@ -294,11 +294,11 @@ def event_hub_stream_input_data_source def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end - def stream_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + def reference_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end - def event_hub_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource + def io_thub_stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end def java_script_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters @@ -306,36 +306,36 @@ def java_script_function_retrieve_default_definition_parameters def subscription_quota Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end - def output_start_mode - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters end - def io_thub_stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource + def output_error_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end def compatibility_level Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end - def json_output_serialization_format - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat + def output_start_mode + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode end def events_out_of_order_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end - def output_error_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy - end def sku_name Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end - def encoding - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + def json_output_serialization_format + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat end def udf_type Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end + def encoding + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding + end def sku Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku end diff --git a/azure_sdk/lib/latest/modules/web_profile_module.rb b/azure_sdk/lib/latest/modules/web_profile_module.rb index 049e6299fe..d2edcd71e7 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -23,6 +23,7 @@ module Mgmt ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2018_02_01::ResourceHealthMetadataOperations module Models + Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments DataSource = Azure::Web::Mgmt::V2018_02_01::Models::DataSource SiteMachineKey = Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey ResponseMetaData = Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData @@ -57,7 +58,7 @@ module Models NameValuePair = Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair StackMinorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion AutoHealTriggers = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers - DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder @@ -66,13 +67,13 @@ module Models CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest - Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments + DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute VnetInfo = Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo VnetGateway = Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway User = Azure::Web::Mgmt::V2018_02_01::Models::User HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection - VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource @@ -80,32 +81,32 @@ module Models CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition - DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest Site = Azure::Web::Mgmt::V2018_02_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan - ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition + TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain PushSettings = Azure::Web::Mgmt::V2018_02_01::Models::PushSettings DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis - DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier + DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse DetectorDefinition = Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition RecommendationRule = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule - VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters + DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource - GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion - DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory + PremierAddOnOffer = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer Recommendation = Azure::Web::Mgmt::V2018_02_01::Models::Recommendation DomainOwnershipIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource - TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain - AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource - PremierAddOnOffer = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer + BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + GeoRegion = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest SourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SourceControl - PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess + VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation - BillingMeter = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource SlotDifference = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference StorageMigrationOptions = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions StorageMigrationResponse = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse @@ -116,14 +117,14 @@ module Models WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob ManagedServiceIdentityType = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification - DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification - SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess SiteLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig SitePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource SitePhpErrorLogFlag = Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag SiteSourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl - SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType IpFilterTag = Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag AzureStorageType = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType AzureStorageState = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState @@ -132,30 +133,30 @@ module Models TriggeredJobHistory = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType ResourceHealthMetadata = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata - AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource ConnectionStringType = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType PremierAddOnPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode SiteExtensionInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo - SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork + SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType KeyVaultSecretStatus = Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus - CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate + AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType HostNameType = Azure::Web::Mgmt::V2018_02_01::Models::HostNameType ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType - ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode + DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus DnsType = Azure::Web::Mgmt::V2018_02_01::Models::DnsType DomainType = Azure::Web::Mgmt::V2018_02_01::Models::DomainType SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState HostType = Azure::Web::Mgmt::V2018_02_01::Models::HostType - UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState - NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState StatusOptions = Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions HostingEnvironmentStatus = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource - ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions + SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork WorkerSizeOptions = Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions CertificateOrderStatus = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState @@ -163,10 +164,10 @@ module Models AzureResourceType = Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState - DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions InAvailabilityReasonType = Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode - IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType + ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics AddressResponse = Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse @@ -184,24 +185,26 @@ module Models WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource AppServicePlanPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource HybridConnectionLimits = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits - MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel Channels = Azure::Web::Mgmt::V2018_02_01::Models::Channels - AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes - ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType TriggeredWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus LogLevel = Azure::Web::Mgmt::V2018_02_01::Models::LogLevel SnapshotRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest SolutionType = Azure::Web::Mgmt::V2018_02_01::Models::SolutionType FrequencyUnit = Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit - ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus WebJobType = Azure::Web::Mgmt::V2018_02_01::Models::WebJobType PublishingProfileFormat = Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat DnsVerificationTestResult = Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes MSDeployLogEntryType = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType + MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider @@ -209,9 +212,7 @@ module Models SkuName = Azure::Web::Mgmt::V2018_02_01::Models::SkuName BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType - BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType AccessControlEntryAction = Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction - PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage @@ -285,9 +286,9 @@ module Models AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection SnapshotRecoverySource = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest - ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent @@ -358,7 +359,6 @@ module Models DeletedWebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability AbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod - ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName end class WebManagementClass @@ -404,6 +404,9 @@ def method_missing(method, *args) end class ModelClasses + def experiments + Azure::Web::Mgmt::V2018_02_01::Models::Experiments + end def data_source Azure::Web::Mgmt::V2018_02_01::Models::DataSource end @@ -506,8 +509,8 @@ def stack_minor_version def auto_heal_triggers Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers end - def diagnostic_metric_set - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + def resource_metric_name + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName end def detector_abnormal_time_period Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod @@ -533,11 +536,11 @@ def diagnostic_metric_sample def reissue_certificate_order_request Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest end - def renew_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + def diagnostic_metric_set + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet end - def experiments - Azure::Web::Mgmt::V2018_02_01::Models::Experiments + def vnet_route + Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute end def vnet_info Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo @@ -551,8 +554,8 @@ def user def hybrid_connection Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end - def vnet_route - Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute + def resource_metric_definition + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition end def app_service_certificate_resource Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource @@ -575,8 +578,8 @@ def certificate_order_action def analysis_definition Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition end - def detector_response - Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse + def renew_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest end def site Azure::Web::Mgmt::V2018_02_01::Models::Site @@ -584,8 +587,8 @@ def site def app_service_plan Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan end - def resource_metric_definition - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition + def top_level_domain + Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain end def push_settings Azure::Web::Mgmt::V2018_02_01::Models::PushSettings @@ -596,29 +599,29 @@ def deleted_site def diagnostic_analysis Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end - def diagnostic_category - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory - end def identifier Azure::Web::Mgmt::V2018_02_01::Models::Identifier end + def diagnostic_detector_response + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + end def detector_definition Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition end def recommendation_rule Azure::Web::Mgmt::V2018_02_01::Models::RecommendationRule end - def vnet_parameters - Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters + def detector_response + Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse end def certificate_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource end - def geo_region - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion + def diagnostic_category + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory end - def diagnostic_detector_response - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse + def premier_add_on_offer + Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer end def recommendation Azure::Web::Mgmt::V2018_02_01::Models::Recommendation @@ -629,20 +632,20 @@ def domain_ownership_identifier def domain_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource end - def top_level_domain - Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain + def billing_meter + Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter end - def azure_storage_property_dictionary_resource - Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource + def geo_region + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegion end - def premier_add_on_offer - Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOffer + def deleted_app_restore_request + Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest end def source_control Azure::Web::Mgmt::V2018_02_01::Models::SourceControl end - def private_access - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess + def vnet_parameters + Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters end def vnet_validation_test_failure Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure @@ -650,8 +653,8 @@ def vnet_validation_test_failure def operation Azure::Web::Mgmt::V2018_02_01::Models::Operation end - def billing_meter - Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter + def slot_config_names_resource + Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource end def slot_difference Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference @@ -683,14 +686,14 @@ def managed_service_identity_type def log_specification Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification end - def deleted_app_restore_request - Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo end def service_specification Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification end - def site_instance - Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + def private_access + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess end def site_logs_config Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig @@ -704,8 +707,8 @@ def site_php_error_log_flag def site_source_control Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl end - def slot_config_names_resource - Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + def certificate_order_action_type + Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType end def ip_filter_tag Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag @@ -731,8 +734,8 @@ def route_type def resource_health_metadata Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata end - def auto_heal_action_type - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + def azure_storage_property_dictionary_resource + Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource end def connection_string_type Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType @@ -740,14 +743,14 @@ def connection_string_type def premier_add_on_patch_resource Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + def managed_pipeline_mode + Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode end def site_extension_info Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo end - def swift_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork + def site_instance + Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance end def certificate_product_type Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType @@ -755,23 +758,23 @@ def certificate_product_type def key_vault_secret_status Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus end - def certificate_order_action_type - Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - end - def site_availability_state - Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + def usage_state + Azure::Web::Mgmt::V2018_02_01::Models::UsageState end def certificate Azure::Web::Mgmt::V2018_02_01::Models::Certificate end + def auto_heal_action_type + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + end def host_name_type Azure::Web::Mgmt::V2018_02_01::Models::HostNameType end def scm_type Azure::Web::Mgmt::V2018_02_01::Models::ScmType end - def managed_pipeline_mode - Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode + def domain_status + Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus end def dns_type Azure::Web::Mgmt::V2018_02_01::Models::DnsType @@ -785,11 +788,11 @@ def ssl_state def host_type Azure::Web::Mgmt::V2018_02_01::Models::HostType end - def usage_state - Azure::Web::Mgmt::V2018_02_01::Models::UsageState + def resource_scope_type + Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType end - def notification_level - Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + def site_availability_state + Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState end def status_options Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions @@ -800,8 +803,8 @@ def hosting_environment_status def site_config_resource Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource end - def compute_mode_options - Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions + def swift_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork end def worker_size_options Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions @@ -824,8 +827,8 @@ def custom_host_name_dns_record_type def ftps_state Azure::Web::Mgmt::V2018_02_01::Models::FtpsState end - def domain_status - Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + def app_service_plan_restrictions + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions end def in_availability_reason_type Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType @@ -833,8 +836,8 @@ def in_availability_reason_type def internal_load_balancing_mode Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode end - def issue_type - Azure::Web::Mgmt::V2018_02_01::Models::IssueType + def compute_mode_options + Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions end def app_service_environment_collection Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection @@ -887,14 +890,14 @@ def app_service_plan_patch_resource def hybrid_connection_limits Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits end - def msdeploy_provisioning_state - Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + def notification_level + Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel end def channels Azure::Web::Mgmt::V2018_02_01::Models::Channels end - def app_service_plan_restrictions - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions + def public_certificate_location + Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation end def unauthenticated_client_action Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction @@ -902,8 +905,8 @@ def unauthenticated_client_action def check_name_resource_types Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes end - def validate_resource_types - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + def issue_type + Azure::Web::Mgmt::V2018_02_01::Models::IssueType end def site_extension_type Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType @@ -923,8 +926,8 @@ def solution_type def frequency_unit Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit end - def resource_scope_type - Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + def backup_restore_operation_type + Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType end def continuous_web_job_status Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus @@ -938,9 +941,15 @@ def publishing_profile_format def dns_verification_test_result Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult end + def validate_resource_types + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + end def msdeploy_log_entry_type Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType end + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState + end def my_sql_migration_type Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType end @@ -962,15 +971,9 @@ def backup_item_status def database_type Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType end - def backup_restore_operation_type - Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType - end def access_control_entry_action Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction end - def public_certificate_location - Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation - end def dimension Azure::Web::Mgmt::V2018_02_01::Models::Dimension end @@ -1190,15 +1193,15 @@ def snapshot_recovery_source def site_seal_request Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest end - def managed_service_identity - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity - end def app_service_certificate Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate end def azure_storage_info_value Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue end + def managed_service_identity + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + end def domain_availablility_check_result Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult end @@ -1409,9 +1412,6 @@ def resource_name_availability def abnormal_time_period Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod end - def resource_metric_name - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName - end end end end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index b3900e0b76..a2fdf3798f 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -14,14 +14,14 @@ module Models Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject - RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem - RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable @@ -33,14 +33,14 @@ module Models WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query - WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse @@ -48,8 +48,8 @@ module Models ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject end class WebSearchDataClass @@ -97,12 +97,12 @@ def answer_type def news_article Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News - end def response Azure::CognitiveServices::WebSearch::V1_0::Models::Response end + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News + end def response_base Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end @@ -112,15 +112,15 @@ def query_context def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject end - def ranking_ranking_item - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem - end - def ranking_ranking_group - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query end def ranking_ranking_response Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end + def ranking_ranking_item + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem + end def search_response Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end @@ -154,11 +154,11 @@ def web_web_grouping def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag + def ranking_ranking_group + Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions @@ -175,8 +175,8 @@ def error_code def related_searches_related_search_answer Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end def text_format Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat @@ -199,12 +199,12 @@ def places def intangible Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible end - def media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject - end def error Azure::CognitiveServices::WebSearch::V1_0::Models::Error end + def media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index b9f1f65840..6c7c83cd37 100644 --- a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb @@ -18,6 +18,7 @@ module Mgmt VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs module Models + NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView @@ -118,7 +119,6 @@ module Models SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile - NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end class ComputeManagementClass @@ -159,6 +159,9 @@ def method_missing(method, *args) end class ModelClasses + def network_profile + Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile + end def diagnostics_profile Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end @@ -459,9 +462,6 @@ def vault_certificate def osprofile Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile end - def network_profile - Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb index 9699702a9b..1a8f74bacb 100644 --- a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb @@ -19,10 +19,10 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult - ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord @@ -90,18 +90,18 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + def zone_delete_result + Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end def record_set Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult end - def zone_delete_result - Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult - end def txt_record Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord end diff --git a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb index 1fd5c1063d..45dc82f0df 100644 --- a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models + OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay end class FeaturesManagementClass @@ -48,6 +48,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end @@ -63,9 +66,6 @@ def feature_operations_list_result def feature_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb index 060cc39542..963b151852 100644 --- a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb @@ -65,8 +65,8 @@ module Models BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult - SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties Error = Azure::KeyVault::V2016_10_01::Models::Error + SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes @@ -295,12 +295,12 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def secret_properties - Azure::KeyVault::V2016_10_01::Models::SecretProperties - end def error Azure::KeyVault::V2016_10_01::Models::Error end + def secret_properties + Azure::KeyVault::V2016_10_01::Models::SecretProperties + end def pending_certificate_signing_request_result Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult end @@ -391,8 +391,8 @@ def json_web_key_signature_algorithm end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations + Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions @@ -412,24 +412,24 @@ module Models VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -439,8 +439,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -510,8 +510,8 @@ def check_name_availability_result def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties @@ -519,8 +519,8 @@ def deleted_vault_properties def service_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification end - def access_policy_entry - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,18 +540,18 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb index a8d8957bb6..c854930966 100644 --- a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb @@ -7,10 +7,11 @@ module Azure::Profiles::V2017_03_09 module Links module Mgmt - ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks Operations = Azure::Links::Mgmt::V2016_09_01::Operations + ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks module Models + OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult @@ -18,11 +19,10 @@ module Models ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter - OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end class LinksManagementClass - attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_links = @client_0.resource_links @operations = @client_0.operations + @resource_links = @client_0.resource_links @model_classes = ModelClasses.new end @@ -52,6 +52,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay + end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end @@ -73,9 +76,6 @@ def resource_link def filter Azure::Links::Mgmt::V2016_09_01::Models::Filter end - def operation_display - Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb index 44b879f9e8..1dd59375c2 100644 --- a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb @@ -68,35 +68,35 @@ module Models ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool ExpressRouteCircuit = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering OutboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration VirtualNetwork = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule VpnClientRootCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate VpnClientRevokedCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate - LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol - FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol RouteNextHopType = Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus @@ -317,8 +317,8 @@ def application_gateway_backend_http_settings def application_gateway_backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool end - def express_route_service_provider - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + def frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration end def load_balancing_rule Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule @@ -332,8 +332,8 @@ def inbound_nat_pool def express_route_circuit Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit end - def application_gateway_path_rule - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + def express_route_service_provider + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider end def express_route_circuit_peering Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering @@ -353,8 +353,8 @@ def network_interface_ipconfiguration def virtual_network Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration + def application_gateway_path_rule + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule end def vpn_client_root_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate @@ -362,8 +362,8 @@ def vpn_client_root_certificate def vpn_client_revoked_certificate Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRevokedCertificate end - def load_balancer - Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration end def virtual_network_gateway Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway @@ -377,8 +377,8 @@ def virtual_network_gateway_connection def application_gateway_http_listener Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener end - def application_gateway_protocol - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + def load_balancer + Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer end def application_gateway_probe Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe @@ -398,12 +398,12 @@ def security_rule_direction def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration - end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType end + def application_gateway_protocol + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol + end def route_next_hop_type Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType end diff --git a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb index 734edd59a4..97f6ea3e16 100644 --- a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb @@ -11,8 +11,8 @@ module Mgmt Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2016_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2016_02_01::Resources + DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter @@ -24,10 +24,11 @@ module Models ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails ResourceGroup = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup AliasType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasType + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount @@ -37,7 +38,7 @@ module Models TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails DeploymentProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage @@ -47,7 +48,6 @@ module Models DeploymentOperation = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult DeploymentOperationsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult @@ -64,7 +64,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,8 +78,8 @@ def initialize(configurable, base_url=nil, options=nil) @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -125,6 +125,9 @@ def resource_group def alias_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasType end + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + end def provider Azure::Resources::Mgmt::V2016_02_01::Models::Provider end @@ -134,8 +137,8 @@ def resource_group_list_result def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest @@ -164,8 +167,8 @@ def deployment_properties def tags_list_result Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult end - def deployment_properties_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + def alias_path_type + Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource @@ -194,9 +197,6 @@ def deployment_export_result def deployment_operations_list_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult end - def alias_path_type - Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType - end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties end diff --git a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb index 3d44440141..7c9e8c0bb7 100644 --- a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2017_03_09 module Storage module Mgmt - UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts + UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,7 +21,7 @@ module Models StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices @@ -29,20 +29,20 @@ module Models StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName - StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end class StorageManagementClass - attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @usage_operations = @client_0.usage_operations @storage_accounts = @client_0.storage_accounts + @usage_operations = @client_0.usage_operations @model_classes = ModelClasses.new end @@ -102,8 +102,8 @@ def encryption_service def storage_account_list_keys_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end def endpoints Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints @@ -126,14 +126,14 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind @@ -141,11 +141,11 @@ def kind def account_status Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end def sku Azure::Storage::Mgmt::V2016_01_01::Models::Sku @@ -153,8 +153,8 @@ def sku def usage_name Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb index 4726bc6af2..3c5710c0c4 100644 --- a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb @@ -25,6 +25,7 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineRunCommands module Models + NetworkProfile = Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndSecretReference DiagnosticsProfile = Azure::Compute::Mgmt::V2017_03_30::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2017_03_30::Models::SourceVault @@ -193,7 +194,6 @@ module Models VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetPublicIPAddressConfiguration OSProfile = Azure::Compute::Mgmt::V2017_03_30::Models::OSProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - NetworkProfile = Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile end class ComputeManagementClass @@ -241,6 +241,9 @@ def method_missing(method, *args) end class ModelClasses + def network_profile + Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile + end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndSecretReference end @@ -745,9 +748,6 @@ def osprofile def virtual_machine_scale_set_update_public_ipaddress_configuration Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end - def network_profile - Azure::Compute::Mgmt::V2017_03_30::Models::NetworkProfile - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb index 5702f19cdb..f1aacc7d8c 100644 --- a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb @@ -19,10 +19,10 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult - ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord @@ -90,18 +90,18 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + def zone_delete_result + Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end def record_set Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_list_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult end - def zone_delete_result - Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult - end def txt_record Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord end diff --git a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb index bf21241f68..249acff709 100644 --- a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb @@ -65,8 +65,8 @@ module Models BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult - SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties Error = Azure::KeyVault::V2016_10_01::Models::Error + SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes @@ -295,12 +295,12 @@ def secret_item def backup_secret_result Azure::KeyVault::V2016_10_01::Models::BackupSecretResult end - def secret_properties - Azure::KeyVault::V2016_10_01::Models::SecretProperties - end def error Azure::KeyVault::V2016_10_01::Models::Error end + def secret_properties + Azure::KeyVault::V2016_10_01::Models::SecretProperties + end def pending_certificate_signing_request_result Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult end @@ -391,8 +391,8 @@ def json_web_key_signature_algorithm end end module Mgmt - Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations + Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions @@ -412,24 +412,24 @@ module Models VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters - LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties ServiceSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end class KeyVaultManagementClass - attr_reader :vaults, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :vaults, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -439,8 +439,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vaults = @client_0.vaults @operations = @client_0.operations + @vaults = @client_0.vaults @model_classes = ModelClasses.new end @@ -510,8 +510,8 @@ def check_name_availability_result def vault_patch_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters end - def log_specification - Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification + def access_policy_entry + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties @@ -519,8 +519,8 @@ def deleted_vault_properties def service_specification Azure::KeyVault::Mgmt::V2016_10_01::Models::ServiceSpecification end - def access_policy_entry - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry + def log_specification + Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName @@ -540,18 +540,18 @@ def storage_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end - def reason - Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb index c7e24cfc18..970e0b4e60 100644 --- a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end class LocksManagementClass @@ -51,6 +51,9 @@ def method_missing(method, *args) end class ModelClasses + def operation_display + Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay + end def management_lock_owner Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner end @@ -69,9 +72,6 @@ def management_lock_object def lock_level Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end - def operation_display - Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb index 487aafb222..04d6ff4f05 100644 --- a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb @@ -88,10 +88,10 @@ module Models InboundNatRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult ConnectionResetSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey - LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult Error = Azure::Network::Mgmt::V2017_10_01::Models::Error + LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult IpsecPolicy = Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy - LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult LoadBalancerProbeListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult BgpPeerStatusListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult @@ -119,22 +119,20 @@ module Models ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult SecurityRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult AddressSpace = Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace + NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters - NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult DnsNameAvailabilityResult = Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult - EndpointServicesListResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult Dimension = Azure::Network::Mgmt::V2017_10_01::Models::Dimension + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult + LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult AuthorizationListResult = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult + Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology Usage = Azure::Network::Mgmt::V2017_10_01::Models::Usage VerificationIPFlowParameters = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters - Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology - MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult VerificationIPFlowResult = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult + MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig NextHopParameters = Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters ExpressRouteCircuitSku = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku @@ -142,18 +140,20 @@ module Models RouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteListResult SecurityGroupViewParameters = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult - NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + EndpointServicesListResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult - SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult - SecurityRuleAssociations = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations + SubnetAssociation = Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult RouteFilterRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult PacketCaptureStorageLocation = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation PacketCaptureFilter = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult - PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + PacketCapture = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult PacketCaptureListResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult @@ -230,53 +230,53 @@ module Models Resource = Azure::Network::Mgmt::V2017_10_01::Models::Resource ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate + PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort - PacketCapture = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration + SecurityRuleAssociations = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered - SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway - EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider - RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit - Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe - FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule - LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer - InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule - PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter - NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher + Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe + InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule - VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork - BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity + LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate - VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration + PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection - VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion - ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName @@ -309,28 +309,28 @@ module Models PcError = Azure::Network::Mgmt::V2017_10_01::Models::PcError Origin = Azure::Network::Mgmt::V2017_10_01::Models::Origin IssueType = Azure::Network::Mgmt::V2017_10_01::Models::IssueType - Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol + ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState EvaluationState = Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState VirtualNetworkPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState ConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus - ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + VpnType = Azure::Network::Mgmt::V2017_10_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier VirtualNetworkGatewayType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType - VpnType = Azure::Network::Mgmt::V2017_10_01::Models::VpnType + BgpPeerState = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2017_10_01::Models::ProcessorArchitecture AuthenticationMethod = Azure::Network::Mgmt::V2017_10_01::Models::AuthenticationMethod VpnClientProtocol = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol - BgpPeerState = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType IpsecEncryption = Azure::Network::Mgmt::V2017_10_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IpsecIntegrity VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionStatus - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType - DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity PfsGroup = Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup IkeEncryption = Azure::Network::Mgmt::V2017_10_01::Models::IkeEncryption - IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup end class NetworkManagementClass @@ -533,17 +533,17 @@ def load_balancer_backend_address_pool_list_result def connection_reset_shared_key Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey end - def load_balancer_frontend_ipconfiguration_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult - end def error Azure::Network::Mgmt::V2017_10_01::Models::Error end + def load_balancer_frontend_ipconfiguration_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult + end def ipsec_policy Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy end - def load_balancer_load_balancing_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult end def load_balancer_probe_list_result Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult @@ -626,54 +626,48 @@ def network_security_group_list_result def security_rule_list_result Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult - end def address_space Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace end + def network_watcher_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult + end def application_gateway_available_waf_rule_sets_result Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult end def topology_parameters Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters end - def network_watcher_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult - end def dns_name_availability_result Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult end + def dimension + Azure::Network::Mgmt::V2017_10_01::Models::Dimension + end def application_security_group_list_result Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult end - def endpoint_services_list_result - Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult - end - def dimension - Azure::Network::Mgmt::V2017_10_01::Models::Dimension + def load_balancer_load_balancing_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult end def authorization_list_result Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult end + def topology + Azure::Network::Mgmt::V2017_10_01::Models::Topology + end def usage Azure::Network::Mgmt::V2017_10_01::Models::Usage end def verification_ipflow_parameters Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters end - def topology - Azure::Network::Mgmt::V2017_10_01::Models::Topology + def verification_ipflow_result + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult end def metric_specification Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult - end - def verification_ipflow_result - Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult - end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end @@ -695,20 +689,26 @@ def security_group_view_parameters def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult end - def network_interface_association - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation + def endpoint_services_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult end def express_route_circuits_routes_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult end - def subnet_association - Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + def network_interface_association + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation end def express_route_circuits_routes_table_summary_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end - def security_rule_associations - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations + def subnet_association + Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation + end + def bgp_service_community_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + end + def security_group_network_interface + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface end def express_route_service_provider_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult @@ -728,8 +728,8 @@ def packet_capture_filter def virtual_network_gateway_list_connections_result Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult end - def packet_capture_parameters - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters + def packet_capture + Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture end def virtual_network_gateway_connection_list_result Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListResult @@ -959,128 +959,128 @@ def application_gateway_ssl_certificate def application_gateway_authentication_certificate Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort + def packet_capture_parameters + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters end - def packet_capture - Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration end - def application_gateway_path_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + def application_gateway_frontend_port + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort end def application_gateway_http_listener Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration + def security_rule_associations + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations end def express_route_service_provider_bandwidths_offered Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered end - def security_group_network_interface - Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration + def application_gateway_path_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule end def application_gateway_probe Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe end - def application_gateway_request_routing_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule + def application_gateway + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration end def application_gateway_url_path_map Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap end - def application_gateway - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_service_result - Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet end def application_gateway_available_ssl_options Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy + def route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule end - def express_route_circuit_peering - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + def endpoint_service_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult end def express_route_circuit_authorization Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization end - def route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule + def express_route_circuit + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit end - def express_route_service_provider - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + def express_route_circuit_peering + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering end def route_filter Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter end - def express_route_circuit - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit + def load_balancing_rule + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2017_10_01::Models::Probe + def express_route_service_provider + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider end def frontend_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration end - def load_balancing_rule - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + def outbound_nat_rule + Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule end - def load_balancer - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + def probe + Azure::Network::Mgmt::V2017_10_01::Models::Probe end def inbound_nat_pool Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + def patch_route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule end - def patch_route_filter - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + def load_balancer + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer end def network_watcher Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher end - def patch_route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + def virtual_network_peering + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering end - def virtual_network - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + def patch_route_filter + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter end def bgp_service_community Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity end - def virtual_network_peering - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + def vpn_client_root_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + def virtual_network + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork end def virtual_network_gateway_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration end - def vpn_client_root_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + def local_network_gateway + Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate end def virtual_network_gateway Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + def application_gateway_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol end - def application_gateway_cookie_based_affinity - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity @@ -1088,8 +1088,8 @@ def virtual_network_gateway_connection_list_entity def ipversion Azure::Network::Mgmt::V2017_10_01::Models::IPVersion end - def application_gateway_tier - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + def application_gateway_cookie_based_affinity + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity end def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth @@ -1097,8 +1097,8 @@ def application_gateway_backend_health_server_health def application_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName end - def application_gateway_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + def application_gateway_tier + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier end def application_gateway_ssl_protocol Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol @@ -1196,12 +1196,12 @@ def origin def issue_type Azure::Network::Mgmt::V2017_10_01::Models::IssueType end - def severity - Azure::Network::Mgmt::V2017_10_01::Models::Severity - end def protocol Azure::Network::Mgmt::V2017_10_01::Models::Protocol end + def connection_state + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + end def evaluation_state Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState end @@ -1211,8 +1211,8 @@ def virtual_network_peering_state def connection_status Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus end - def connection_state - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + def vpn_type + Azure::Network::Mgmt::V2017_10_01::Models::VpnType end def virtual_network_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName @@ -1223,8 +1223,8 @@ def virtual_network_gateway_sku_tier def virtual_network_gateway_type Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType end - def vpn_type - Azure::Network::Mgmt::V2017_10_01::Models::VpnType + def bgp_peer_state + Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState end def processor_architecture Azure::Network::Mgmt::V2017_10_01::Models::ProcessorArchitecture @@ -1235,8 +1235,8 @@ def authentication_method def vpn_client_protocol Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol end - def bgp_peer_state - Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState + def virtual_network_gateway_connection_type + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType end def ipsec_encryption Azure::Network::Mgmt::V2017_10_01::Models::IpsecEncryption @@ -1247,11 +1247,11 @@ def ipsec_integrity def virtual_network_gateway_connection_status Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionStatus end - def virtual_network_gateway_connection_type - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionType + def ike_integrity + Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity end - def dh_group - Azure::Network::Mgmt::V2017_10_01::Models::DhGroup + def severity + Azure::Network::Mgmt::V2017_10_01::Models::Severity end def pfs_group Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup @@ -1259,8 +1259,8 @@ def pfs_group def ike_encryption Azure::Network::Mgmt::V2017_10_01::Models::IkeEncryption end - def ike_integrity - Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity + def dh_group + Azure::Network::Mgmt::V2017_10_01::Models::DhGroup end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb index 43f922734a..2471cd9131 100644 --- a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb @@ -11,8 +11,8 @@ module Mgmt Providers = Azure::Resources::Mgmt::V2018_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2018_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2018_02_01::Resources + DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations module Models GenericResourceFilter = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter @@ -28,15 +28,15 @@ module Models ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupPatchable Provider = Azure::Resources::Mgmt::V2018_02_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult - ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest + ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo DeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended - Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency TagCount = Azure::Resources::Mgmt::V2018_02_01::Models::TagCount + ProviderListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult TagValue = Azure::Resources::Mgmt::V2018_02_01::Models::TagValue ResourceGroupFilter = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter - ProviderListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult TagDetails = Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails DeploymentProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::TagsListResult @@ -48,13 +48,13 @@ module Models DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationProperties DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtendedFilter DeploymentOperation = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation - DeploymentExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting DeploymentListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult + DeploymentExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult ProviderResourceType = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType - DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource DeploymentMode = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode @@ -68,7 +68,7 @@ module Models end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :tags, :deployment_operations, :resources, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -82,8 +82,8 @@ def initialize(configurable, base_url=nil, options=nil) @providers = @client_0.providers @resource_groups = @client_0.resource_groups @tags = @client_0.tags - @deployment_operations = @client_0.deployment_operations @resources = @client_0.resources + @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new end @@ -141,8 +141,8 @@ def provider def resource_group_list_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult end - def resources_move_info - Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + def dependency + Azure::Resources::Mgmt::V2018_02_01::Models::Dependency end def deployment_properties_extended Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended @@ -150,24 +150,24 @@ def deployment_properties_extended def export_template_request Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest end + def resources_move_info + Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo + end def deployment_extended Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExtended end - def dependency - Azure::Resources::Mgmt::V2018_02_01::Models::Dependency - end def tag_count Azure::Resources::Mgmt::V2018_02_01::Models::TagCount end + def provider_list_result + Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult + end def tag_value Azure::Resources::Mgmt::V2018_02_01::Models::TagValue end def resource_group_filter Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupFilter end - def provider_list_result - Azure::Resources::Mgmt::V2018_02_01::Models::ProviderListResult - end def tag_details Azure::Resources::Mgmt::V2018_02_01::Models::TagDetails end @@ -201,8 +201,8 @@ def deployment_extended_filter def deployment_operation Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperation end - def deployment_export_result - Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + def deployment_operations_list_result + Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult end def on_error_deployment_extended Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended @@ -216,12 +216,12 @@ def debug_setting def deployment_list_result Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult end + def deployment_export_result + Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentExportResult + end def provider_resource_type Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType end - def deployment_operations_list_result - Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentOperationsListResult - end def resource_group_export_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult end diff --git a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb index e15b392d59..c445ca6425 100644 --- a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::V2018_03_01 module Storage module Mgmt - UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts + UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters @@ -21,7 +21,7 @@ module Models StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices @@ -29,20 +29,20 @@ module Models StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName - StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end class StorageManagementClass - attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes + attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @usage_operations = @client_0.usage_operations @storage_accounts = @client_0.storage_accounts + @usage_operations = @client_0.usage_operations @model_classes = ModelClasses.new end @@ -102,8 +102,8 @@ def encryption_service def storage_account_list_keys_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end def endpoints Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints @@ -126,14 +126,14 @@ def usage def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason end def kind Azure::Storage::Mgmt::V2016_01_01::Models::Kind @@ -141,11 +141,11 @@ def kind def account_status Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end def sku Azure::Storage::Mgmt::V2016_01_01::Models::Sku @@ -153,8 +153,8 @@ def sku def usage_name Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end end end diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index 31b72b023e..c970aa209a 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -136,8 +135,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -157,8 +156,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -177,14 +176,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -245,8 +243,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -266,8 +264,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -286,7 +284,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -294,7 +292,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -355,8 +352,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -376,8 +373,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -396,7 +393,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -405,12 +402,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2017_08_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -483,8 +481,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -504,8 +502,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -524,7 +522,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -532,7 +530,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -592,8 +589,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -612,8 +609,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -631,12 +628,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -696,8 +692,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -737,12 +733,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -800,12 +795,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -828,12 +823,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index a8bc6d5e7c..617066c346 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -111,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? @@ -130,7 +126,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_08_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index d5f2f6377e..b08bda82a8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -40,8 +40,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_name, container_group_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_name, container_group_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_name, container_group_name, tail, custom_headers).value! response.body unless response.nil? end @@ -64,8 +64,8 @@ def list(resource_group_name, container_name, container_group_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_name, container_group_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_name, container_group_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_name, container_group_name, tail, custom_headers).value! end # @@ -87,7 +87,7 @@ def list_with_http_info(resource_group_name, container_name, container_group_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_name, container_group_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_name, container_group_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -96,7 +96,6 @@ def list_async(resource_group_name, container_name, container_group_name, tail:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index c3f4a81d78..1f5bff2a89 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 8954ed9c31..3f39462efd 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb index 53679fa8ea..29bc612481 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_event.rb @@ -34,7 +34,6 @@ class ContainerEvent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerEvent', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ContainerEvent', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index edd6b4da69..8e67bfb812 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -51,7 +51,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -119,13 +111,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -136,13 +126,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -178,7 +163,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', @@ -187,13 +171,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 8e878b195a..f9dca6b7a2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 12a8d7f168..14973a4066 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -22,7 +22,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 55dbf403c4..99ac57945a 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, serialized_name: 'restartCount', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, serialized_name: 'currentState', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, serialized_name: 'previousState', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerEventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 81bfb3dbdd..111d4b57fa 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index d97ee11460..7951c4f027 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index 73ee660681..33f28e6c5c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index 7f67166640..25f9ae5842 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index fea77a7356..3bbdd75a7d 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 72eb0c7828..c3a2125805 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index 823d995cec..dacce45b72 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 0a61209d3d..c35160b8a1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index 04346db3d7..bef3909b5c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 7854e7914b..12fa450e70 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index ccdd74fef9..b52c1ceb8b 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -25,7 +25,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: true, serialized_name: 'azureFile', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index b2a07bb1cd..9c82e7ccbc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..78b409ba2c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2017_08_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index 6ba2407d6a..04ad3d70c3 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -174,14 +173,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -366,8 +363,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -384,7 +381,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -393,12 +390,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2017_10_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -469,8 +467,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -488,8 +486,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -506,7 +504,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -514,7 +512,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -574,8 +571,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -613,12 +610,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -678,8 +674,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -699,8 +695,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -719,12 +715,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,12 +777,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -809,12 +804,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index ef788c4af4..44118d3043 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -115,9 +114,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -134,7 +130,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2017_10_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_10_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index 4d1dddec06..0a4630e7c1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index 4783d2965b..335251e466 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb index cebf99a62a..b953d8c548 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index f024308a8b..5c698d6ff9 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 74c78a5dda..9cc485efe5 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 315598537e..09c094838e 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 390e690eb8..7ae285f314 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 6d9ce7c3a1..98341f6f14 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 1c565e2924..8386d19c99 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index 141050b03c..70913022a8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb index abcb791556..eeda7dbb16 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index f2aaee5e0f..2f582728e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index 4c9e681d22..b7661a8b52 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index f6195dd0cc..5fa034e32c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index 1639a94267..14a039c604 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index 26202eb495..f547dc25d6 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 5efb1fb95b..a167ab34cf 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -23,7 +23,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 7443626d0a..ff4be48bc8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index 7e38f10664..135bb38a35 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 7b42b20530..80c82e2619 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index d7daefe6ee..1c27aaec01 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index a043e0e934..e95f4396bc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 41cf1d2efc..cff83b5582 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -28,7 +28,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index c0d473ad7e..2bd1c9c9c2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb index f26dbdf8f4..682122476c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..0f2580cb76 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2017_10_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb index a5896c18f8..20dd3dc99d 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index f6b9ea9835..2d0656f955 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -174,14 +173,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -366,8 +363,8 @@ def create_or_update(resource_group_name, container_group_name, container_group, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -384,7 +381,7 @@ def create_or_update_with_http_info(resource_group_name, container_group_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -393,12 +390,13 @@ def create_or_update_async(resource_group_name, container_group_name, container_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2017_12_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -469,8 +467,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -488,8 +486,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -506,7 +504,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -514,7 +512,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -574,8 +571,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -613,12 +610,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -678,8 +674,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -699,8 +695,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -719,12 +715,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -782,12 +777,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -809,12 +804,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 8b53860c71..56ff0ff7cf 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -119,9 +118,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2017_12_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2017_12_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index dd75f45c43..94312e742b 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index 420dfb1c7e..eafabfd1c1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 9fb0afde90..ee5edf915c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index d5ffaf1750..5905cf8551 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index e86518d861..1f2523a8db 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 21cc509819..bcd95db1fb 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index d1fa8e675a..2a1c13a8e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index bbcd5da498..acd72a3aa4 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 3d1baacea2..0d9adaa19f 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index ebe29bea1d..06c71922fc 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb index 6d3fefe40f..58b8497628 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index effdb13f4e..1060d0fa1f 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index dfcedb77d7..299bef4d27 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index ccc5022124..3775384611 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -29,7 +29,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -37,13 +36,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -64,7 +60,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index 7601952eef..5aef9c8048 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index 7975e0e9d6..56bfd35c93 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: true, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index 456e9741ef..147df6a9d2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 5554b3813b..77aa1141c5 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 22a249dc09..771b2ac5e2 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index ccc0c13e45..c38685d6f8 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index f982a96217..1b40fa573c 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index d787ca5291..5d8c87ac34 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 77d54d678e..38a615ff21 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb index c5ba1ba74c..fee20e7928 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb index ff16ec84e7..f49662c1b1 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb index 1affe801ca..3392e678af 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 15a45cdb3c..48bb058b0e 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index 422d75fdbe..87f5628cde 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb index 47e31157f7..aca85f8d05 100644 --- a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..0953ba74b0 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2017_12_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb index 4682175542..8fc45c23c4 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb index 70d7fa6d51..daf4b48b8a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -174,14 +173,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -363,9 +360,9 @@ def create_or_update(resource_group_name, container_group_name, container_group, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -395,8 +392,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def update(resource_group_name, container_group_name, resource, custom_headers:nil) - response = update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! response.body unless response.nil? end @@ -414,8 +411,8 @@ def update(resource_group_name, container_group_name, resource, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers:nil) - update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! end # @@ -432,7 +429,7 @@ def update_with_http_info(resource_group_name, container_group_name, resource, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, container_group_name, resource, custom_headers:nil) + def update_async(resource_group_name, container_group_name, resource, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -441,12 +438,13 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::Resource.mapper() request_content = @client.serialize(request_mapper, resource) @@ -507,8 +505,8 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -526,8 +524,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -544,7 +542,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -552,7 +550,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -611,8 +608,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -630,8 +627,8 @@ def begin_create_or_update(resource_group_name, container_group_name, container_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -648,7 +645,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -657,12 +654,13 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -734,8 +732,8 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -754,8 +752,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -773,12 +771,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -838,8 +835,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -859,8 +856,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -879,12 +876,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -942,12 +938,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -969,12 +965,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 3070a1e974..7158a93af1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -123,9 +122,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -142,7 +138,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2018_02_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_02_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb index fc4113003d..7e8a7723f9 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index c13db7a29e..ca1fcc2318 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb index 050b257bc3..5d78e7ceb2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb index f28510bdb7..e78c55b51e 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -25,7 +25,6 @@ class ContainerExecRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequest', model_properties: { command: { - client_side_validation: true, required: false, serialized_name: 'command', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, terminal_size: { - client_side_validation: true, required: false, serialized_name: 'terminalSize', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb index 6468d68f13..f7b939bfb2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb @@ -25,7 +25,6 @@ class ContainerExecRequestTerminalSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest_terminalSize', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequestTerminalSize', model_properties: { rows: { - client_side_validation: true, required: false, serialized_name: 'rows', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cols: { - client_side_validation: true, required: false, serialized_name: 'cols', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb index bfad4e9015..c5079dab0b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_exec_response.rb @@ -25,7 +25,6 @@ class ContainerExecResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecResponse', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecResponse', model_properties: { web_socket_uri: { - client_side_validation: true, required: false, serialized_name: 'webSocketUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb index 54d2d1d5f5..759a9c1a5b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 68a80ff460..8b6e25e433 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 35fb2ade63..744fce441b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb index 59ab9cad43..77f5d53b1d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 9cad7c31cf..a66d37f60b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb index 07d328dfb5..14a4943e70 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb index 104f2d8d1b..e3dc96b94e 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb index 1a4a8fba89..7b6cd72690 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index 1c35b85875..f4833422c1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index 5502c83db6..e63da722d2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb index e188709896..38e1f51e49 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -35,7 +35,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'dnsNameLabel', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb index 1c6361c291..051b0f7cdd 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb index e74f5e515b..1ed301a1a0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: true, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb index b384c4b45f..71d1e9cd16 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 1f406557f3..2892cfeb7d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb index 93ae0b3423..b70a97aa82 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb index bdd4f12c46..93cbebcfd7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb index 446de78c6f..c154e380d5 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb index 2780fb9250..a389e68a92 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 0a45df07a2..00e14e5f9b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb index a1d1ba3bb7..6fa0dee48b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb index 2a099130a7..b6f90c49f4 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb index 808abda814..8dbd475b63 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb index 7713b758a3..5c7547594d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb index 7f8c2e1a58..71d2041194 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb index 6337ac141d..2f86fa4ed7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb index ab18b595e6..f4ba42f6bf 100644 --- a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/start_container.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [ContainerExecResponse] operation results. # - def launch_exec(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - response = launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def launch_exec(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! response.body unless response.nil? end @@ -58,8 +58,8 @@ def launch_exec(resource_group_name, container_group_name, container_name, conta # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def launch_exec_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def launch_exec_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! end # @@ -78,7 +78,7 @@ def launch_exec_with_http_info(resource_group_name, container_group_name, contai # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) + def launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -88,12 +88,13 @@ def launch_exec_async(resource_group_name, container_group_name, container_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_02_01_preview::Models::ContainerExecRequest.mapper() request_content = @client.serialize(request_mapper, container_exec_request) diff --git a/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..d53bf03778 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_02_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb index a9ab2fd5c9..6be0616338 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb index 3059b7c212..d44badfa8a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -174,14 +173,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -363,9 +360,9 @@ def create_or_update(resource_group_name, container_group_name, container_group, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -395,8 +392,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def update(resource_group_name, container_group_name, resource, custom_headers:nil) - response = update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! response.body unless response.nil? end @@ -414,8 +411,8 @@ def update(resource_group_name, container_group_name, resource, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers:nil) - update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! end # @@ -432,7 +429,7 @@ def update_with_http_info(resource_group_name, container_group_name, resource, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, container_group_name, resource, custom_headers:nil) + def update_async(resource_group_name, container_group_name, resource, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -441,12 +438,13 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_04_01::Models::Resource.mapper() request_content = @client.serialize(request_mapper, resource) @@ -507,8 +505,8 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -526,8 +524,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -544,7 +542,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -552,7 +550,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -611,8 +608,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -630,8 +627,8 @@ def begin_create_or_update(resource_group_name, container_group_name, container_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -648,7 +645,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -657,12 +654,13 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_04_01::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -734,8 +732,8 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -754,8 +752,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -773,12 +771,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -838,8 +835,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -859,8 +856,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -879,12 +876,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -942,12 +938,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -969,12 +965,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 1da476ba20..ab11f5d89d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -123,9 +122,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -142,7 +138,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2018_04_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_04_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb index 3851d43695..f41ec9c31f 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/container_logs.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list(resource_group_name, container_group_name, container_name, tail:nil, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, container_group_name, container_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_async(resource_group_name, container_group_name, container_name, tail:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index b36d33fc61..6b600d667b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb index 3c47e246a1..5bb78acba1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container.rb @@ -50,7 +50,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -74,13 +71,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -107,13 +100,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -134,7 +124,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -143,13 +132,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb index 020b0e473f..dde52309b3 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -25,7 +25,6 @@ class ContainerExecRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequest', model_properties: { command: { - client_side_validation: true, required: false, serialized_name: 'command', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, terminal_size: { - client_side_validation: true, required: false, serialized_name: 'terminalSize', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb index a159a3970d..e45d9acdd3 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb @@ -25,7 +25,6 @@ class ContainerExecRequestTerminalSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest_terminalSize', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequestTerminalSize', model_properties: { row: { - client_side_validation: true, required: false, serialized_name: 'row', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, column: { - client_side_validation: true, required: false, serialized_name: 'column', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb index b7844a909e..d7ff831a97 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb @@ -25,7 +25,6 @@ class ContainerExecResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecResponse', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecResponse', model_properties: { web_socket_uri: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'webSocketUri', @@ -42,7 +40,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'password', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb index 3b9929bcd7..19e6651389 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group.rb @@ -54,7 +54,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -122,13 +114,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -139,13 +129,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index d1216d57ec..6fd09af053 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 7b46f714e8..637b40e646 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb index 33a2bf2fbe..7384b81066 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 8061352b59..c2e227c472 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb index d1bce99f3f..3c7ffc46a5 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -55,7 +53,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'startTime', @@ -64,7 +61,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'exitCode', @@ -73,7 +69,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'finishTime', @@ -82,7 +77,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'detailStatus', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb index 3c49215b63..52aae10016 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -25,7 +25,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb index 127958789c..2572b1f513 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'count', @@ -54,7 +52,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'firstTimestamp', @@ -63,7 +60,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastTimestamp', @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -81,7 +76,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'message', @@ -90,7 +84,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index bf84d4a81c..22cf9e7d46 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index 1564f8c145..6c45e0fa65 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb index 7244da4070..ee7d00df9f 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -35,7 +35,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'dnsNameLabel', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb index 23e11033f7..3e56687e77 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'content', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb index 9ca5fe26a3..1acdefd953 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -46,7 +44,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb index c4b5057b00..dc03bd0504 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'provider', @@ -48,7 +46,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resource', @@ -57,7 +54,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'operation', @@ -66,7 +62,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'description', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 30effc983d..77fc7b82b5 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb index de33560df6..a8080de841 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb index bc97f4fc5a..d8d56832b0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb index df09669062..aa98d5cd12 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb index 2be938519c..6f711bcbeb 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb index a2221b03d6..3f57b94087 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb index 9d48a77182..17b72b0470 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb index fe2e69c24a..74803c5af3 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb index 08313ba242..d9bc7597ec 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb index 1c87658aeb..56a2be8a46 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb index 800f3333b1..c1daf2bcc1 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb index b6dd4f5b0f..5da3c390e8 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb index 33da7311cc..8c1cf8d017 100644 --- a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/start_container.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [ContainerExecResponse] operation results. # - def launch_exec(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - response = launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def launch_exec(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! response.body unless response.nil? end @@ -58,8 +58,8 @@ def launch_exec(resource_group_name, container_group_name, container_name, conta # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def launch_exec_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def launch_exec_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! end # @@ -78,7 +78,7 @@ def launch_exec_with_http_info(resource_group_name, container_group_name, contai # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) + def launch_exec_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -88,12 +88,13 @@ def launch_exec_async(resource_group_name, container_group_name, container_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_04_01::Models::ContainerExecRequest.mapper() request_content = @client.serialize(request_mapper, container_exec_request) diff --git a/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..880a607ce8 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-04-01/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_04_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb index c56f9aa850..c1a5a51cf7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsageListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb index 217a33de51..99960eb4fb 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -69,13 +69,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def list_async(custom_headers:nil) # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -155,8 +154,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -174,14 +173,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -241,8 +239,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def get(resource_group_name, container_group_name, custom_headers:nil) - response = get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -261,8 +259,8 @@ def get(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - get_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, container_group_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, container_group_name, custom_headers:nil) + def get_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -347,8 +344,8 @@ def get_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -363,9 +360,9 @@ def create_or_update(resource_group_name, container_group_name, container_group, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -395,8 +392,8 @@ def create_or_update_async(resource_group_name, container_group_name, container_ # # @return [ContainerGroup] operation results. # - def update(resource_group_name, container_group_name, resource, custom_headers:nil) - response = update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! response.body unless response.nil? end @@ -414,8 +411,8 @@ def update(resource_group_name, container_group_name, resource, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers:nil) - update_async(resource_group_name, container_group_name, resource, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! end # @@ -432,7 +429,7 @@ def update_with_http_info(resource_group_name, container_group_name, resource, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, container_group_name, resource, custom_headers:nil) + def update_async(resource_group_name, container_group_name, resource, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -441,12 +438,13 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource.mapper() request_content = @client.serialize(request_mapper, resource) @@ -507,8 +505,8 @@ def update_async(resource_group_name, container_group_name, resource, custom_hea # # @return [ContainerGroup] operation results. # - def delete(resource_group_name, container_group_name, custom_headers:nil) - response = delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! response.body unless response.nil? end @@ -526,8 +524,8 @@ def delete(resource_group_name, container_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, container_group_name, custom_headers:nil) - delete_async(resource_group_name, container_group_name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! end # @@ -544,7 +542,7 @@ def delete_with_http_info(resource_group_name, container_group_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, container_group_name, custom_headers:nil) + def delete_async(resource_group_name, container_group_name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -552,7 +550,6 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -597,6 +594,136 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) promise.execute end + # + # Restarts all containers in a container group. + # + # Restarts all containers in a contaienr group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def restart(resource_group_name, container_group_name, custom_headers = nil) + response = restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def restart_async(resource_group_name, container_group_name, custom_headers = nil) + # Send request + promise = begin_restart_async(resource_group_name, container_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a contaienr group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def stop(resource_group_name, container_group_name, custom_headers = nil) + response = stop_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a contaienr group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def stop_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + stop_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a contaienr group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def stop_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/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,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + # # Create or update container groups. # @@ -611,8 +738,8 @@ def delete_async(resource_group_name, container_group_name, custom_headers:nil) # # @return [ContainerGroup] operation results. # - def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! response.body unless response.nil? end @@ -630,8 +757,8 @@ def begin_create_or_update(resource_group_name, container_group_name, container_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers:nil) - begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! end # @@ -648,7 +775,7 @@ def begin_create_or_update_with_http_info(resource_group_name, container_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -657,12 +784,13 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup.mapper() request_content = @client.serialize(request_mapper, container_group) @@ -719,6 +847,95 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont promise.execute end + # + # Restarts all containers in a container group. + # + # Restarts all containers in a contaienr group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_restart(resource_group_name, container_group_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a contaienr group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_restart_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a contaienr group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_restart_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/restart' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + # # Get a list of container groups in the specified subscription. # @@ -734,8 +951,8 @@ def begin_create_or_update_async(resource_group_name, container_group_name, cont # # @return [ContainerGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -754,8 +971,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -773,12 +990,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -838,8 +1054,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ContainerGroupListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -859,8 +1075,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -879,12 +1095,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -942,12 +1157,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -969,12 +1184,12 @@ def list_as_lazy(custom_headers:nil) # @return [ContainerGroupListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb index 88ca56aaea..196dd0edcf 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -25,16 +25,15 @@ class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient # @return [String] Client API version attr_reader :api_version - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ContainerGroups] container_groups @@ -119,9 +118,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -138,7 +134,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_container_instance' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::ContainerInstance::Mgmt::V2018_06_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_06_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb index b6c1b8ba27..53527cde7e 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_operations.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Logs] operation results. # - def list_logs(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - response = list_logs_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_logs(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! response.body unless response.nil? end @@ -60,8 +60,8 @@ def list_logs(resource_group_name, container_group_name, container_name, tail:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_logs_with_http_info(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) - list_logs_async(resource_group_name, container_group_name, container_name, tail:tail, custom_headers:custom_headers).value! + def list_logs_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_logs_with_http_info(resource_group_name, container_group_name, containe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_logs_async(resource_group_name, container_group_name, container_name, tail:nil, custom_headers:nil) + def list_logs_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -90,7 +90,6 @@ def list_logs_async(resource_group_name, container_group_name, container_name, t request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -151,8 +150,8 @@ def list_logs_async(resource_group_name, container_group_name, container_name, t # # @return [ContainerExecResponse] operation results. # - def execute_command(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - response = execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def execute_command(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! response.body unless response.nil? end @@ -172,8 +171,8 @@ def execute_command(resource_group_name, container_group_name, container_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def execute_command_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) - execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:custom_headers).value! + def execute_command_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! end # @@ -192,7 +191,7 @@ def execute_command_with_http_info(resource_group_name, container_group_name, co # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers:nil) + def execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? @@ -202,12 +201,13 @@ def execute_command_async(resource_group_name, container_group_name, container_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::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest.mapper() request_content = @client.serialize(request_mapper, container_exec_request) diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb index a51840d827..69f7c42064 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb @@ -36,7 +36,6 @@ class AzureFileVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureFileVolume', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'AzureFileVolume', model_properties: { share_name: { - client_side_validation: true, required: true, serialized_name: 'shareName', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, storage_account_name: { - client_side_validation: true, required: true, serialized_name: 'storageAccountName', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, storage_account_key: { - client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb index 62070c7615..5f9f14ec3b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container.rb @@ -56,7 +56,6 @@ class Container # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Container', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'Container', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, image: { - client_side_validation: true, required: true, serialized_name: 'properties.image', type: { @@ -80,13 +77,11 @@ def self.mapper() } }, command: { - client_side_validation: true, required: false, serialized_name: 'properties.command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, ports: { - client_side_validation: true, required: false, serialized_name: 'properties.ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerPortElementType', type: { @@ -113,13 +106,11 @@ def self.mapper() } }, environment_variables: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentVariables', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableElementType', type: { @@ -130,7 +121,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -140,7 +130,6 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: true, serialized_name: 'properties.resources', type: { @@ -149,13 +138,11 @@ def self.mapper() } }, volume_mounts: { - client_side_validation: true, required: false, serialized_name: 'properties.volumeMounts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeMountElementType', type: { @@ -166,7 +153,6 @@ def self.mapper() } }, liveness_probe: { - client_side_validation: true, required: false, serialized_name: 'properties.livenessProbe', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, readiness_probe: { - client_side_validation: true, required: false, serialized_name: 'properties.readinessProbe', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb index fdb27cd14f..dbd8cfb2e0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec.rb @@ -22,7 +22,6 @@ class ContainerExec # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExec', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ContainerExec', model_properties: { command: { - client_side_validation: true, required: false, serialized_name: 'command', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb index 3a7845fe44..d333def25a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -25,7 +25,6 @@ class ContainerExecRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequest', model_properties: { command: { - client_side_validation: true, required: false, serialized_name: 'command', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, terminal_size: { - client_side_validation: true, required: false, serialized_name: 'terminalSize', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb index f950a61459..0ab66007f6 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb @@ -25,7 +25,6 @@ class ContainerExecRequestTerminalSize # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest_terminalSize', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecRequestTerminalSize', model_properties: { rows: { - client_side_validation: true, required: false, serialized_name: 'rows', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cols: { - client_side_validation: true, required: false, serialized_name: 'cols', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb index fd8a1c0bc7..82a00658ad 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb @@ -25,7 +25,6 @@ class ContainerExecResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerExecResponse', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ContainerExecResponse', model_properties: { web_socket_uri: { - client_side_validation: true, required: false, serialized_name: 'webSocketUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb index 590bff69cd..06e172cfe6 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group.rb @@ -58,7 +58,6 @@ class ContainerGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ContainerGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -75,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -84,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -93,7 +89,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -101,13 +96,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -126,13 +118,11 @@ def self.mapper() } }, containers: { - client_side_validation: true, required: false, serialized_name: 'properties.containers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerElementType', type: { @@ -143,13 +133,11 @@ def self.mapper() } }, image_registry_credentials: { - client_side_validation: true, required: false, serialized_name: 'properties.imageRegistryCredentials', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredentialElementType', type: { @@ -160,7 +148,6 @@ def self.mapper() } }, restart_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.restartPolicy', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -177,7 +163,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -185,13 +170,11 @@ def self.mapper() } }, volumes: { - client_side_validation: true, required: false, serialized_name: 'properties.volumes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VolumeElementType', type: { @@ -202,7 +185,6 @@ def self.mapper() } }, instance_view: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', @@ -212,7 +194,6 @@ def self.mapper() } }, diagnostics: { - client_side_validation: true, required: false, serialized_name: 'properties.diagnostics', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb index e8638e940c..31f2b24e59 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb @@ -22,7 +22,6 @@ class ContainerGroupDiagnostics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupDiagnostics', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ContainerGroupDiagnostics', model_properties: { log_analytics: { - client_side_validation: true, required: false, serialized_name: 'logAnalytics', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb index 01e1f37242..356cc03eb6 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ContainerGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ContainerGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb index 0dc59d9271..5282c1cbf9 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb @@ -26,7 +26,6 @@ class ContainerGroupPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerGroup_properties_instanceView', type: { @@ -34,14 +33,12 @@ def self.mapper() class_name: 'ContainerGroupPropertiesInstanceView', model_properties: { events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb index 43ca4a6fe0..755337643b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_http_get.rb @@ -28,7 +28,6 @@ class ContainerHttpGet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerHttpGet', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ContainerHttpGet', model_properties: { path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, scheme: { - client_side_validation: true, required: false, serialized_name: 'scheme', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb index 21aee19a74..2a1b65ec12 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_port.rb @@ -26,7 +26,6 @@ class ContainerPort # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerPort', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ContainerPort', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb index d78b7df2a2..b3f154a085 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_probe.rb @@ -40,7 +40,6 @@ class ContainerProbe # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProbe', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ContainerProbe', model_properties: { exec: { - client_side_validation: true, required: false, serialized_name: 'exec', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, http_get: { - client_side_validation: true, required: false, serialized_name: 'httpGet', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, initial_delay_seconds: { - client_side_validation: true, required: false, serialized_name: 'initialDelaySeconds', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, period_seconds: { - client_side_validation: true, required: false, serialized_name: 'periodSeconds', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, failure_threshold: { - client_side_validation: true, required: false, serialized_name: 'failureThreshold', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, success_threshold: { - client_side_validation: true, required: false, serialized_name: 'successThreshold', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, timeout_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeoutSeconds', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb index 75da6cf489..c18c9f47b2 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb @@ -32,7 +32,6 @@ class ContainerPropertiesInstanceView # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerProperties_instanceView', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ContainerPropertiesInstanceView', model_properties: { restart_count: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'restartCount', @@ -49,7 +47,6 @@ def self.mapper() } }, current_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentState', @@ -59,7 +56,6 @@ def self.mapper() } }, previous_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'previousState', @@ -69,14 +65,12 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb index 4e646ef952..b7dc2069bf 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/container_state.rb @@ -38,7 +38,6 @@ class ContainerState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ContainerState', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ContainerState', model_properties: { state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, exit_code: { - client_side_validation: true, required: false, serialized_name: 'exitCode', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, finish_time: { - client_side_validation: true, required: false, serialized_name: 'finishTime', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, detail_status: { - client_side_validation: true, required: false, serialized_name: 'detailStatus', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb index 6a63a5965e..1eca139eee 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/environment_variable.rb @@ -28,7 +28,6 @@ class EnvironmentVariable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentVariable', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EnvironmentVariable', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, secure_value: { - client_side_validation: true, required: false, serialized_name: 'secureValue', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb index 6ceb02eefa..9eb1abc37d 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/event.rb @@ -37,7 +37,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Event', model_properties: { count: { - client_side_validation: true, required: false, serialized_name: 'count', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, first_timestamp: { - client_side_validation: true, required: false, serialized_name: 'firstTimestamp', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, last_timestamp: { - client_side_validation: true, required: false, serialized_name: 'lastTimestamp', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb index 1761263109..d1448c66c8 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb @@ -32,7 +32,6 @@ class GitRepoVolume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GitRepoVolume', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'GitRepoVolume', model_properties: { directory: { - client_side_validation: true, required: false, serialized_name: 'directory', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, repository: { - client_side_validation: true, required: true, serialized_name: 'repository', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, revision: { - client_side_validation: true, required: false, serialized_name: 'revision', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb index aaee07c872..8e8506fc9a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb @@ -29,7 +29,6 @@ class ImageRegistryCredential # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ImageRegistryCredential', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ImageRegistryCredential', model_properties: { server: { - client_side_validation: true, required: true, serialized_name: 'server', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, username: { - client_side_validation: true, required: true, serialized_name: 'username', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'password', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb index 2f87e352b8..2c2dc9c46f 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -35,7 +35,6 @@ class IpAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpAddress', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'IpAddress', model_properties: { ports: { - client_side_validation: true, required: true, serialized_name: 'ports', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, ip: { - client_side_validation: true, required: false, serialized_name: 'ip', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'dnsNameLabel', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'fqdn', diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb index 051875a9d8..bf0fe6992b 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/log_analytics.rb @@ -25,7 +25,6 @@ class LogAnalytics # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogAnalytics', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'LogAnalytics', model_properties: { workspace_id: { - client_side_validation: true, required: true, serialized_name: 'workspaceId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, workspace_key: { - client_side_validation: true, required: true, serialized_name: 'workspaceKey', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb index d17cfd172c..801e29ffc9 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/logs.rb @@ -22,7 +22,6 @@ class Logs # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Logs', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'Logs', model_properties: { content: { - client_side_validation: true, required: false, serialized_name: 'content', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb index 8670279e37..d61f45b8a0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation.rb @@ -29,7 +29,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: true, serialized_name: 'display', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb index 796b1405b6..a2a45f0101 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb index 12a5056dd4..3234a32207 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -26,7 +26,6 @@ class OperationListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb index e02699090f..58125a9cd7 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb index b24956cf4c..f4cdca0d99 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb index e1f6be0595..3f9be02df6 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -25,7 +25,6 @@ class ResourceLimits # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceLimits', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceLimits', model_properties: { memory_in_gb: { - client_side_validation: true, required: false, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: false, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb index 7d8a9d1b2f..e5e44979e0 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -25,7 +25,6 @@ class ResourceRequests # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequests', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ResourceRequests', model_properties: { memory_in_gb: { - client_side_validation: true, required: true, serialized_name: 'memoryInGB', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, cpu: { - client_side_validation: true, required: true, serialized_name: 'cpu', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb index 4dc16be9a3..54e7615c32 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb @@ -27,7 +27,6 @@ class ResourceRequirements # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceRequirements', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ResourceRequirements', model_properties: { requests: { - client_side_validation: true, required: true, serialized_name: 'requests', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, limits: { - client_side_validation: true, required: false, serialized_name: 'limits', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb index 972818ea48..a25b484e7a 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage.rb @@ -31,7 +31,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', @@ -48,7 +46,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -57,7 +54,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb index 08ae681756..90a944c697 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -22,7 +22,6 @@ class UsageListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageListResult', type: { @@ -30,14 +29,12 @@ def self.mapper() class_name: 'UsageListResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb index 5733e4b4a2..edf1c01043 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage_name', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb index 620ddc1e7b..15c938b903 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume.rb @@ -34,7 +34,6 @@ class Volume # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Volume', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Volume', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, azure_file: { - client_side_validation: true, required: false, serialized_name: 'azureFile', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, empty_dir: { - client_side_validation: true, required: false, serialized_name: 'emptyDir', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, secret: { - client_side_validation: true, required: false, serialized_name: 'secret', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, git_repo: { - client_side_validation: true, required: false, serialized_name: 'gitRepo', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb index 3b89c8a7a8..45a3ff4be5 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -30,7 +30,6 @@ class VolumeMount # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VolumeMount', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'VolumeMount', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, mount_path: { - client_side_validation: true, required: true, serialized_name: 'mountPath', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, read_only: { - client_side_validation: true, required: false, serialized_name: 'readOnly', type: { diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb index db7f6d807b..bce1344cba 100644 --- a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [OperationListResult] operation results. # - def list(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list(custom_headers = nil) + response = list_async(custom_headers).value! response.body unless response.nil? end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..53efaa3ea4 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_06_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance.rb new file mode 100644 index 0000000000..1b9a7f9c83 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance.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. + +require 'uri' +require 'cgi' +require 'date' +require 'json' +require 'base64' +require 'erb' +require 'securerandom' +require 'time' +require 'timeliness' +require 'faraday' +require 'faraday-cookie_jar' +require 'concurrent' +require 'ms_rest' +require '2018-09-01/generated/azure_mgmt_container_instance/module_definition' +require 'ms_rest_azure' + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + autoload :ContainerGroups, '2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb' + autoload :Operations, '2018-09-01/generated/azure_mgmt_container_instance/operations.rb' + autoload :ContainerGroupUsage, '2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb' + autoload :ContainerOperations, '2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb' + autoload :ContainerInstanceManagementClient, '2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb' + + module Models + autoload :IpAddress, '2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb' + autoload :ContainerPort, '2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb' + autoload :ContainerGroupPropertiesInstanceView, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb' + autoload :ContainerState, '2018-09-01/generated/azure_mgmt_container_instance/models/container_state.rb' + autoload :LogAnalytics, '2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.rb' + autoload :ContainerPropertiesInstanceView, '2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb' + autoload :ContainerGroupDiagnostics, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb' + autoload :ResourceLimits, '2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb' + autoload :ContainerGroupNetworkProfile, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb' + autoload :VolumeMount, '2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb' + autoload :ContainerExec, '2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb' + autoload :ContainerProbe, '2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.rb' + autoload :OperationDisplay, '2018-09-01/generated/azure_mgmt_container_instance/models/operation_display.rb' + autoload :AzureFileVolume, '2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb' + autoload :Operation, '2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb' + autoload :Volume, '2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb' + autoload :OperationListResult, '2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb' + autoload :Port, '2018-09-01/generated/azure_mgmt_container_instance/models/port.rb' + autoload :UsageName, '2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.rb' + autoload :Event, '2018-09-01/generated/azure_mgmt_container_instance/models/event.rb' + autoload :Usage, '2018-09-01/generated/azure_mgmt_container_instance/models/usage.rb' + autoload :ResourceRequirements, '2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb' + autoload :UsageListResult, '2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb' + autoload :Container, '2018-09-01/generated/azure_mgmt_container_instance/models/container.rb' + autoload :ContainerGroupListResult, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb' + autoload :ImageRegistryCredential, '2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb' + autoload :Logs, '2018-09-01/generated/azure_mgmt_container_instance/models/logs.rb' + autoload :ResourceRequests, '2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb' + autoload :ContainerExecRequestTerminalSize, '2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb' + autoload :GitRepoVolume, '2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb' + autoload :ContainerExecRequest, '2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb' + autoload :ContainerHttpGet, '2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb' + autoload :ContainerExecResponse, '2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb' + autoload :EnvironmentVariable, '2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.rb' + autoload :Resource, '2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb' + autoload :ContainerGroup, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb' + autoload :ContainerNetworkProtocol, '2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb' + autoload :ContainerGroupRestartPolicy, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb' + autoload :ContainerGroupNetworkProtocol, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb' + autoload :ContainerGroupIpAddressType, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb' + autoload :OperatingSystemTypes, '2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb' + autoload :LogAnalyticsLogType, '2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb' + autoload :ContainerInstanceOperationsOrigin, '2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb' + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb new file mode 100644 index 0000000000..a50e5c3b18 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -0,0 +1,112 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + # + # ContainerGroupUsage + # + class ContainerGroupUsage + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerGroupUsage class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [UsageListResult] operation results. + # + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! + end + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(location, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'location' => location}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::UsageListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb new file mode 100644 index 0000000000..77137ca003 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_groups.rb @@ -0,0 +1,1199 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + # + # ContainerGroups + # + class ContainerGroups + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerGroups class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param custom_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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def 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 + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def 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 = {} + + # Set 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.ContainerInstance/containerGroups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Get the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! + response.body unless response.nil? + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, container_group_name, resource, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'resource is nil' if resource.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::Resource.mapper() + request_content = @client.serialize(request_mapper, resource) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:patch, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:delete, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def restart(resource_group_name, container_group_name, custom_headers = nil) + response = restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def restart_async(resource_group_name, container_group_name, custom_headers = nil) + # Send request + promise = begin_restart_async(resource_group_name, container_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def stop(resource_group_name, container_group_name, custom_headers = nil) + response = stop_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def stop_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + stop_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def stop_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/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,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_group is nil' if container_group.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + request_content = @client.serialize(request_mapper, container_group) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_restart(resource_group_name, container_group_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_restart_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_restart_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/restart' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 [ContainerGroupListResult] 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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @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 [ContainerGroupListResult] operation results. + # + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroupListResult] 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 + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroupListResult] which provide lazy access to pages of the + # response. + # + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_resource_group_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb new file mode 100644 index 0000000000..38a7336138 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -0,0 +1,143 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + # + # A service client - single point of access to the REST API. + # + class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_accessor :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials + + # @return [String] Subscription credentials which uniquely identify + # Microsoft Azure subscription. The subscription ID forms part of the URI + # for every service call. + attr_accessor :subscription_id + + # @return [String] Client API version + 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 [ContainerGroups] container_groups + attr_reader :container_groups + + # @return [Operations] operations + attr_reader :operations + + # @return [ContainerGroupUsage] container_group_usage + attr_reader :container_group_usage + + # @return [ContainerOperations] container_operations + attr_reader :container_operations + + # + # Creates initializes a new instance of the ContainerInstanceManagementClient 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 + + @container_groups = ContainerGroups.new(self) + @operations = Operations.new(self) + @container_group_usage = ContainerGroupUsage.new(self) + @container_operations = ContainerOperations.new(self) + @api_version = '2018-09-01' + @accept_language = 'en-US' + @long_running_operation_retry_timeout = 30 + @generate_client_request_id = true + add_telemetry + end + + # + # Makes a request and returns the body of the response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Hash{String=>String}] containing the body of the response. + # Example: + # + # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}" + # path = "/path" + # options = { + # body: request_content, + # query_params: {'api-version' => '2016-02-01'} + # } + # result = @client.make_request(:put, path, options) + # + def make_request(method, path, options = {}) + result = make_request_with_http_info(method, path, options) + result.body unless result.nil? + end + + # + # Makes a request and returns the operation response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status. + # + def make_request_with_http_info(method, path, options = {}) + result = make_request_async(method, path, options).value! + result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body) + result + end + + # + # Makes a request asynchronously. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def make_request_async(method, path, options = {}) + fail ArgumentError, 'method is nil' if method.nil? + fail ArgumentError, 'path is nil' if path.nil? + + request_url = options[:base_url] || @base_url + + request_headers = @request_headers + request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? + options.merge!({headers: request_headers.merge(options[:headers] || {})}) + options.merge!({credentials: @credentials}) unless @credentials.nil? + + super(request_url, method, path, options) + end + + + private + # + # Adds telemetry information. + # + def add_telemetry + sdk_information = 'azure_mgmt_container_instance' + if defined? Azure::ContainerInstance::Mgmt::V2018_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_09_01::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb new file mode 100644 index 0000000000..b44bc8957d --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/container_operations.rb @@ -0,0 +1,258 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + # + # ContainerOperations + # + class ContainerOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Logs] operation results. + # + def list_logs(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param custom_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_logs_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! + end + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param [Hash{String => String}] 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_logs_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_name is nil' if container_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name,'containerName' => container_name}, + query_params: {'api-version' => @client.api_version,'tail' => tail}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::Logs.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerExecResponse] operation results. + # + def execute_command(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def execute_command_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_name is nil' if container_name.nil? + fail ArgumentError, 'container_exec_request is nil' if container_exec_request.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerExecRequest.mapper() + request_content = @client.serialize(request_mapper, container_exec_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name,'containerName' => container_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::ContainerExecResponse.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb new file mode 100644 index 0000000000..1dfed468f7 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/azure_file_volume.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The properties of the Azure File volume. Azure File shares are mounted as + # volumes. + # + class AzureFileVolume + + include MsRestAzure + + # @return [String] The name of the Azure File share to be mounted as a + # volume. + attr_accessor :share_name + + # @return [Boolean] The flag indicating whether the Azure File shared + # mounted as a volume is read-only. + attr_accessor :read_only + + # @return [String] The name of the storage account that contains the + # Azure File share. + attr_accessor :storage_account_name + + # @return [String] The storage account access key used to access the + # Azure File share. + attr_accessor :storage_account_key + + + # + # Mapper for AzureFileVolume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AzureFileVolume', + type: { + name: 'Composite', + class_name: 'AzureFileVolume', + model_properties: { + share_name: { + required: true, + serialized_name: 'shareName', + type: { + name: 'String' + } + }, + read_only: { + required: false, + serialized_name: 'readOnly', + type: { + name: 'Boolean' + } + }, + storage_account_name: { + required: true, + serialized_name: 'storageAccountName', + type: { + name: 'String' + } + }, + storage_account_key: { + required: false, + serialized_name: 'storageAccountKey', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container.rb new file mode 100644 index 0000000000..60086703eb --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container.rb @@ -0,0 +1,177 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # A container instance. + # + class Container + + include MsRestAzure + + # @return [String] The user-provided name of the container instance. + attr_accessor :name + + # @return [String] The name of the image used to create the container + # instance. + attr_accessor :image + + # @return [Array] The commands to execute within the container + # instance in exec form. + attr_accessor :command + + # @return [Array] The exposed ports on the container + # instance. + attr_accessor :ports + + # @return [Array] The environment variables to set + # in the container instance. + attr_accessor :environment_variables + + # @return [ContainerPropertiesInstanceView] The instance view of the + # container instance. Only valid in response. + attr_accessor :instance_view + + # @return [ResourceRequirements] The resource requirements of the + # container instance. + attr_accessor :resources + + # @return [Array] The volume mounts available to the + # container instance. + attr_accessor :volume_mounts + + # @return [ContainerProbe] The liveness probe. + attr_accessor :liveness_probe + + # @return [ContainerProbe] The readiness probe. + attr_accessor :readiness_probe + + + # + # Mapper for Container class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Container', + type: { + name: 'Composite', + class_name: 'Container', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + image: { + required: true, + serialized_name: 'properties.image', + type: { + name: 'String' + } + }, + command: { + required: false, + serialized_name: 'properties.command', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + ports: { + required: false, + serialized_name: 'properties.ports', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerPortElementType', + type: { + name: 'Composite', + class_name: 'ContainerPort' + } + } + } + }, + environment_variables: { + required: false, + serialized_name: 'properties.environmentVariables', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EnvironmentVariableElementType', + type: { + name: 'Composite', + class_name: 'EnvironmentVariable' + } + } + } + }, + instance_view: { + required: false, + read_only: true, + serialized_name: 'properties.instanceView', + type: { + name: 'Composite', + class_name: 'ContainerPropertiesInstanceView' + } + }, + resources: { + required: true, + serialized_name: 'properties.resources', + type: { + name: 'Composite', + class_name: 'ResourceRequirements' + } + }, + volume_mounts: { + required: false, + serialized_name: 'properties.volumeMounts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'VolumeMountElementType', + type: { + name: 'Composite', + class_name: 'VolumeMount' + } + } + } + }, + liveness_probe: { + required: false, + serialized_name: 'properties.livenessProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe' + } + }, + readiness_probe: { + required: false, + serialized_name: 'properties.readinessProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.rb new file mode 100644 index 0000000000..24d7da216a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container execution command, for liveness or readiness probe + # + class ContainerExec + + include MsRestAzure + + # @return [Array] The commands to execute within the container. + attr_accessor :command + + + # + # Mapper for ContainerExec class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExec', + type: { + name: 'Composite', + class_name: 'ContainerExec', + model_properties: { + command: { + required: false, + serialized_name: 'command', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb new file mode 100644 index 0000000000..c6667a4133 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container exec request. + # + class ContainerExecRequest + + include MsRestAzure + + # @return [String] The command to be executed. + attr_accessor :command + + # @return [ContainerExecRequestTerminalSize] The size of the terminal. + attr_accessor :terminal_size + + + # + # Mapper for ContainerExecRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest', + type: { + name: 'Composite', + class_name: 'ContainerExecRequest', + model_properties: { + command: { + required: false, + serialized_name: 'command', + type: { + name: 'String' + } + }, + terminal_size: { + required: false, + serialized_name: 'terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb new file mode 100644 index 0000000000..59dd368cd7 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The size of the terminal. + # + class ContainerExecRequestTerminalSize + + include MsRestAzure + + # @return [Integer] The row size of the terminal + attr_accessor :rows + + # @return [Integer] The column size of the terminal + attr_accessor :cols + + + # + # Mapper for ContainerExecRequestTerminalSize class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest_terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize', + model_properties: { + rows: { + required: false, + serialized_name: 'rows', + type: { + name: 'Number' + } + }, + cols: { + required: false, + serialized_name: 'cols', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb new file mode 100644 index 0000000000..8cd2d8cadf --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The information for the container exec command. + # + class ContainerExecResponse + + include MsRestAzure + + # @return [String] The uri for the exec websocket. + attr_accessor :web_socket_uri + + # @return [String] The password to start the exec command. + attr_accessor :password + + + # + # Mapper for ContainerExecResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecResponse', + type: { + name: 'Composite', + class_name: 'ContainerExecResponse', + model_properties: { + web_socket_uri: { + required: false, + serialized_name: 'webSocketUri', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb new file mode 100644 index 0000000000..371fc22825 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group.rb @@ -0,0 +1,222 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # A container group. + # + class ContainerGroup < Resource + + include MsRestAzure + + # @return [String] The provisioning state of the container group. This + # only appears in the response. + attr_accessor :provisioning_state + + # @return [Array] The containers within the container group. + attr_accessor :containers + + # @return [Array] The image registry credentials + # by which the container group is created from. + attr_accessor :image_registry_credentials + + # @return [ContainerGroupRestartPolicy] Restart policy for all containers + # within the container group. + # - `Always` Always restart + # - `OnFailure` Restart on failure + # - `Never` Never restart + # . Possible values include: 'Always', 'OnFailure', 'Never' + attr_accessor :restart_policy + + # @return [IpAddress] The IP address type of the container group. + attr_accessor :ip_address + + # @return [OperatingSystemTypes] The operating system type required by + # the containers in the container group. Possible values include: + # 'Windows', 'Linux' + attr_accessor :os_type + + # @return [Array] The list of volumes that can be mounted by + # containers in this container group. + attr_accessor :volumes + + # @return [ContainerGroupPropertiesInstanceView] The instance view of the + # container group. Only valid in response. + attr_accessor :instance_view + + # @return [ContainerGroupDiagnostics] The diagnostic information for a + # container group. + attr_accessor :diagnostics + + # @return [ContainerGroupNetworkProfile] The network profile information + # for a container group. + attr_accessor :network_profile + + + # + # Mapper for ContainerGroup class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroup', + type: { + name: 'Composite', + class_name: 'ContainerGroup', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + containers: { + required: false, + serialized_name: 'properties.containers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerElementType', + type: { + name: 'Composite', + class_name: 'Container' + } + } + } + }, + image_registry_credentials: { + required: false, + serialized_name: 'properties.imageRegistryCredentials', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageRegistryCredentialElementType', + type: { + name: 'Composite', + class_name: 'ImageRegistryCredential' + } + } + } + }, + restart_policy: { + required: false, + serialized_name: 'properties.restartPolicy', + type: { + name: 'String' + } + }, + ip_address: { + required: false, + serialized_name: 'properties.ipAddress', + type: { + name: 'Composite', + class_name: 'IpAddress' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + volumes: { + required: false, + serialized_name: 'properties.volumes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'VolumeElementType', + type: { + name: 'Composite', + class_name: 'Volume' + } + } + } + }, + instance_view: { + required: false, + read_only: true, + serialized_name: 'properties.instanceView', + type: { + name: 'Composite', + class_name: 'ContainerGroupPropertiesInstanceView' + } + }, + diagnostics: { + required: false, + serialized_name: 'properties.diagnostics', + type: { + name: 'Composite', + class_name: 'ContainerGroupDiagnostics' + } + }, + network_profile: { + required: false, + serialized_name: 'properties.networkProfile', + type: { + name: 'Composite', + class_name: 'ContainerGroupNetworkProfile' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb new file mode 100644 index 0000000000..7dc14a89b8 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Container group diagnostic information. + # + class ContainerGroupDiagnostics + + include MsRestAzure + + # @return [LogAnalytics] Container group log analytics information. + attr_accessor :log_analytics + + + # + # Mapper for ContainerGroupDiagnostics class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupDiagnostics', + type: { + name: 'Composite', + class_name: 'ContainerGroupDiagnostics', + model_properties: { + log_analytics: { + required: false, + serialized_name: 'logAnalytics', + type: { + name: 'Composite', + class_name: 'LogAnalytics' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb new file mode 100644 index 0000000000..4c9c0f101a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for ContainerGroupIpAddressType + # + module ContainerGroupIpAddressType + Public = "Public" + Private = "Private" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb new file mode 100644 index 0000000000..740667ed28 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_list_result.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container group list response that contains the container group + # properties. + # + class ContainerGroupListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of container groups. + attr_accessor :value + + # @return [String] The URI to fetch the next page of container groups. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ContainerGroupListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for ContainerGroupListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupListResult', + type: { + name: 'Composite', + class_name: 'ContainerGroupListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerGroupElementType', + type: { + name: 'Composite', + class_name: 'ContainerGroup' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb new file mode 100644 index 0000000000..b75868a4e5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Container group network profile information. + # + class ContainerGroupNetworkProfile + + include MsRestAzure + + # @return [String] The identifier for a network profile. + attr_accessor :id + + + # + # Mapper for ContainerGroupNetworkProfile class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupNetworkProfile', + type: { + name: 'Composite', + class_name: 'ContainerGroupNetworkProfile', + model_properties: { + id: { + required: true, + serialized_name: 'id', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb new file mode 100644 index 0000000000..eccbbf1326 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for ContainerGroupNetworkProtocol + # + module ContainerGroupNetworkProtocol + TCP = "TCP" + UDP = "UDP" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb new file mode 100644 index 0000000000..fd25a05ed7 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The instance view of the container group. Only valid in response. + # + class ContainerGroupPropertiesInstanceView + + include MsRestAzure + + # @return [Array] The events of this container group. + attr_accessor :events + + # @return [String] The state of the container group. Only valid in + # response. + attr_accessor :state + + + # + # Mapper for ContainerGroupPropertiesInstanceView class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroup_properties_instanceView', + type: { + name: 'Composite', + class_name: 'ContainerGroupPropertiesInstanceView', + model_properties: { + events: { + required: false, + read_only: true, + serialized_name: 'events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventElementType', + type: { + name: 'Composite', + class_name: 'Event' + } + } + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'state', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb new file mode 100644 index 0000000000..f1f9c79c02 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for ContainerGroupRestartPolicy + # + module ContainerGroupRestartPolicy + Always = "Always" + OnFailure = "OnFailure" + Never = "Never" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.rb new file mode 100644 index 0000000000..0e59860da4 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_http_get.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container Http Get settings, for liveness or readiness probe + # + class ContainerHttpGet + + include MsRestAzure + + # @return [String] The path to probe. + attr_accessor :path + + # @return [Integer] The port number to probe. + attr_accessor :port + + # @return [Enum] The scheme. Possible values include: 'http', 'https' + attr_accessor :scheme + + + # + # Mapper for ContainerHttpGet class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerHttpGet', + type: { + name: 'Composite', + class_name: 'ContainerHttpGet', + model_properties: { + path: { + required: false, + serialized_name: 'path', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + }, + scheme: { + required: false, + serialized_name: 'scheme', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb new file mode 100644 index 0000000000..cf4d2a4204 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for ContainerInstanceOperationsOrigin + # + module ContainerInstanceOperationsOrigin + User = "User" + System = "System" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb new file mode 100644 index 0000000000..e6331b1d8a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_network_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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for ContainerNetworkProtocol + # + module ContainerNetworkProtocol + TCP = "TCP" + UDP = "UDP" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb new file mode 100644 index 0000000000..f52b810a37 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_port.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The port exposed on the container instance. + # + class ContainerPort + + include MsRestAzure + + # @return [ContainerNetworkProtocol] The protocol associated with the + # port. Possible values include: 'TCP', 'UDP' + attr_accessor :protocol + + # @return [Integer] The port number exposed within the container group. + attr_accessor :port + + + # + # Mapper for ContainerPort class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerPort', + type: { + name: 'Composite', + class_name: 'ContainerPort', + model_properties: { + protocol: { + required: false, + serialized_name: 'protocol', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.rb new file mode 100644 index 0000000000..534fe62fd8 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_probe.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container probe, for liveness or readiness + # + class ContainerProbe + + include MsRestAzure + + # @return [ContainerExec] The execution command to probe + attr_accessor :exec + + # @return [ContainerHttpGet] The Http Get settings to probe + attr_accessor :http_get + + # @return [Integer] The initial delay seconds. + attr_accessor :initial_delay_seconds + + # @return [Integer] The period seconds. + attr_accessor :period_seconds + + # @return [Integer] The failure threshold. + attr_accessor :failure_threshold + + # @return [Integer] The success threshold. + attr_accessor :success_threshold + + # @return [Integer] The timeout seconds. + attr_accessor :timeout_seconds + + + # + # Mapper for ContainerProbe class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe', + model_properties: { + exec: { + required: false, + serialized_name: 'exec', + type: { + name: 'Composite', + class_name: 'ContainerExec' + } + }, + http_get: { + required: false, + serialized_name: 'httpGet', + type: { + name: 'Composite', + class_name: 'ContainerHttpGet' + } + }, + initial_delay_seconds: { + required: false, + serialized_name: 'initialDelaySeconds', + type: { + name: 'Number' + } + }, + period_seconds: { + required: false, + serialized_name: 'periodSeconds', + type: { + name: 'Number' + } + }, + failure_threshold: { + required: false, + serialized_name: 'failureThreshold', + type: { + name: 'Number' + } + }, + success_threshold: { + required: false, + serialized_name: 'successThreshold', + type: { + name: 'Number' + } + }, + timeout_seconds: { + required: false, + serialized_name: 'timeoutSeconds', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb new file mode 100644 index 0000000000..3386870d97 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The instance view of the container instance. Only valid in response. + # + class ContainerPropertiesInstanceView + + include MsRestAzure + + # @return [Integer] The number of times that the container instance has + # been restarted. + attr_accessor :restart_count + + # @return [ContainerState] Current container instance state. + attr_accessor :current_state + + # @return [ContainerState] Previous container instance state. + attr_accessor :previous_state + + # @return [Array] The events of the container instance. + attr_accessor :events + + + # + # Mapper for ContainerPropertiesInstanceView class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerProperties_instanceView', + type: { + name: 'Composite', + class_name: 'ContainerPropertiesInstanceView', + model_properties: { + restart_count: { + required: false, + read_only: true, + serialized_name: 'restartCount', + type: { + name: 'Number' + } + }, + current_state: { + required: false, + read_only: true, + serialized_name: 'currentState', + type: { + name: 'Composite', + class_name: 'ContainerState' + } + }, + previous_state: { + required: false, + read_only: true, + serialized_name: 'previousState', + type: { + name: 'Composite', + class_name: 'ContainerState' + } + }, + events: { + required: false, + read_only: true, + serialized_name: 'events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventElementType', + type: { + name: 'Composite', + class_name: 'Event' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_state.rb new file mode 100644 index 0000000000..a87e805910 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/container_state.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The container instance state. + # + class ContainerState + + include MsRestAzure + + # @return [String] The state of the container instance. + attr_accessor :state + + # @return [DateTime] The date-time when the container instance state + # started. + attr_accessor :start_time + + # @return [Integer] The container instance exit codes correspond to those + # from the `docker run` command. + attr_accessor :exit_code + + # @return [DateTime] The date-time when the container instance state + # finished. + attr_accessor :finish_time + + # @return [String] The human-readable status of the container instance + # state. + attr_accessor :detail_status + + + # + # Mapper for ContainerState class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerState', + type: { + name: 'Composite', + class_name: 'ContainerState', + model_properties: { + state: { + required: false, + serialized_name: 'state', + type: { + name: 'String' + } + }, + start_time: { + required: false, + serialized_name: 'startTime', + type: { + name: 'DateTime' + } + }, + exit_code: { + required: false, + serialized_name: 'exitCode', + type: { + name: 'Number' + } + }, + finish_time: { + required: false, + serialized_name: 'finishTime', + type: { + name: 'DateTime' + } + }, + detail_status: { + required: false, + serialized_name: 'detailStatus', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.rb new file mode 100644 index 0000000000..a074ee4571 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/environment_variable.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The environment variable to set within the container instance. + # + class EnvironmentVariable + + include MsRestAzure + + # @return [String] The name of the environment variable. + attr_accessor :name + + # @return [String] The value of the environment variable. + attr_accessor :value + + # @return [String] The value of the secure environment variable. + attr_accessor :secure_value + + + # + # Mapper for EnvironmentVariable class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnvironmentVariable', + type: { + name: 'Composite', + class_name: 'EnvironmentVariable', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + }, + secure_value: { + required: false, + serialized_name: 'secureValue', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/event.rb new file mode 100644 index 0000000000..1a0b23f5fa --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/event.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # A container group or container instance event. + # + class Event + + include MsRestAzure + + # @return [Integer] The count of the event. + attr_accessor :count + + # @return [DateTime] The date-time of the earliest logged event. + attr_accessor :first_timestamp + + # @return [DateTime] The date-time of the latest logged event. + attr_accessor :last_timestamp + + # @return [String] The event name. + attr_accessor :name + + # @return [String] The event message. + attr_accessor :message + + # @return [String] The event type. + attr_accessor :type + + + # + # Mapper for Event class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Event', + type: { + name: 'Composite', + class_name: 'Event', + model_properties: { + count: { + required: false, + serialized_name: 'count', + type: { + name: 'Number' + } + }, + first_timestamp: { + required: false, + serialized_name: 'firstTimestamp', + type: { + name: 'DateTime' + } + }, + last_timestamp: { + required: false, + serialized_name: 'lastTimestamp', + type: { + name: 'DateTime' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + }, + type: { + required: false, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb new file mode 100644 index 0000000000..f4d24be93f --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/git_repo_volume.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Represents a volume that is populated with the contents of a git + # repository + # + class GitRepoVolume + + include MsRestAzure + + # @return [String] Target directory name. Must not contain or start with + # '..'. If '.' is supplied, the volume directory will be the git + # repository. Otherwise, if specified, the volume will contain the git + # repository in the subdirectory with the given name. + attr_accessor :directory + + # @return [String] Repository URL + attr_accessor :repository + + # @return [String] Commit hash for the specified revision. + attr_accessor :revision + + + # + # Mapper for GitRepoVolume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GitRepoVolume', + type: { + name: 'Composite', + class_name: 'GitRepoVolume', + model_properties: { + directory: { + required: false, + serialized_name: 'directory', + type: { + name: 'String' + } + }, + repository: { + required: true, + serialized_name: 'repository', + type: { + name: 'String' + } + }, + revision: { + required: false, + serialized_name: 'revision', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb new file mode 100644 index 0000000000..b59250662e --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/image_registry_credential.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Image registry credential. + # + class ImageRegistryCredential + + include MsRestAzure + + # @return [String] The Docker image registry server without a protocol + # such as "http" and "https". + attr_accessor :server + + # @return [String] The username for the private registry. + attr_accessor :username + + # @return [String] The password for the private registry. + attr_accessor :password + + + # + # Mapper for ImageRegistryCredential class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageRegistryCredential', + type: { + name: 'Composite', + class_name: 'ImageRegistryCredential', + model_properties: { + server: { + required: true, + serialized_name: 'server', + type: { + name: 'String' + } + }, + username: { + required: true, + serialized_name: 'username', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb new file mode 100644 index 0000000000..dceedc4a09 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/ip_address.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # IP address for the container group. + # + class IpAddress + + include MsRestAzure + + # @return [Array] The list of ports exposed on the container group. + attr_accessor :ports + + # @return [ContainerGroupIpAddressType] Specifies if the IP is exposed to + # the public internet. Possible values include: 'Public', 'Private' + attr_accessor :type + + # @return [String] The IP exposed to the public internet. + attr_accessor :ip + + # @return [String] The Dns name label for the IP. + attr_accessor :dns_name_label + + # @return [String] The FQDN for the IP. + attr_accessor :fqdn + + + # + # Mapper for IpAddress class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IpAddress', + type: { + name: 'Composite', + class_name: 'IpAddress', + model_properties: { + ports: { + required: true, + serialized_name: 'ports', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PortElementType', + type: { + name: 'Composite', + class_name: 'Port' + } + } + } + }, + type: { + required: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + ip: { + required: false, + serialized_name: 'ip', + type: { + name: 'String' + } + }, + dns_name_label: { + required: false, + serialized_name: 'dnsNameLabel', + type: { + name: 'String' + } + }, + fqdn: { + required: false, + read_only: true, + serialized_name: 'fqdn', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.rb new file mode 100644 index 0000000000..fad93b5758 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Container group log analytics information. + # + class LogAnalytics + + include MsRestAzure + + # @return [String] The workspace id for log analytics + attr_accessor :workspace_id + + # @return [String] The workspace key for log analytics + attr_accessor :workspace_key + + # @return [LogAnalyticsLogType] The log type to be used. Possible values + # include: 'ContainerInsights', 'ContainerInstanceLogs' + attr_accessor :log_type + + # @return [Hash{String => String}] Metadata for log analytics. + attr_accessor :metadata + + + # + # Mapper for LogAnalytics class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LogAnalytics', + type: { + name: 'Composite', + class_name: 'LogAnalytics', + model_properties: { + workspace_id: { + required: true, + serialized_name: 'workspaceId', + type: { + name: 'String' + } + }, + workspace_key: { + required: true, + serialized_name: 'workspaceKey', + type: { + name: 'String' + } + }, + log_type: { + required: false, + serialized_name: 'logType', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb new file mode 100644 index 0000000000..72bd63f63d --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for LogAnalyticsLogType + # + module LogAnalyticsLogType + ContainerInsights = "ContainerInsights" + ContainerInstanceLogs = "ContainerInstanceLogs" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/logs.rb new file mode 100644 index 0000000000..f0ff02254c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/logs.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The logs. + # + class Logs + + include MsRestAzure + + # @return [String] The content of the log. + attr_accessor :content + + + # + # Mapper for Logs class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Logs', + type: { + name: 'Composite', + class_name: 'Logs', + model_properties: { + content: { + required: false, + serialized_name: 'content', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb new file mode 100644 index 0000000000..3a976f8e8b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # Defines values for OperatingSystemTypes + # + module OperatingSystemTypes + Windows = "Windows" + Linux = "Linux" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb new file mode 100644 index 0000000000..8aaf143ee5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation.rb @@ -0,0 +1,66 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # An operation for Azure Container Instance service. + # + class Operation + + include MsRestAzure + + # @return [String] The name of the operation. + attr_accessor :name + + # @return [OperationDisplay] The display information of the operation. + attr_accessor :display + + # @return [ContainerInstanceOperationsOrigin] The intended executor of + # the operation. Possible values include: 'User', 'System' + attr_accessor :origin + + + # + # 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: true, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationDisplay' + } + }, + origin: { + required: false, + serialized_name: 'origin', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_display.rb new file mode 100644 index 0000000000..d8a17bd26b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The display information of the operation. + # + class OperationDisplay + + include MsRestAzure + + # @return [String] The name of the provider of the operation. + attr_accessor :provider + + # @return [String] The name of the resource type of the operation. + attr_accessor :resource + + # @return [String] The friendly name of the operation. + attr_accessor :operation + + # @return [String] The description of the operation. + attr_accessor :description + + + # + # Mapper for OperationDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation_display', + type: { + name: 'Composite', + class_name: 'OperationDisplay', + model_properties: { + provider: { + required: false, + 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_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb new file mode 100644 index 0000000000..d40054ce20 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -0,0 +1,63 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The operation list response that contains all operations for Azure + # Container Instance service. + # + class OperationListResult + + include MsRestAzure + + # @return [Array] The list of operations. + attr_accessor :value + + # @return [String] The URI to fetch the next page of operations. + attr_accessor :next_link + + + # + # Mapper for OperationListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationListResult', + type: { + name: 'Composite', + class_name: 'OperationListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/port.rb new file mode 100644 index 0000000000..5a88b55680 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/port.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The port exposed on the container group. + # + class Port + + include MsRestAzure + + # @return [ContainerGroupNetworkProtocol] The protocol associated with + # the port. Possible values include: 'TCP', 'UDP' + attr_accessor :protocol + + # @return [Integer] The port number. + attr_accessor :port + + + # + # Mapper for Port class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Port', + type: { + name: 'Composite', + class_name: 'Port', + model_properties: { + protocol: { + required: false, + serialized_name: 'protocol', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb new file mode 100644 index 0000000000..d761efed33 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The Resource model definition. + # + class Resource + + include MsRestAzure + + # @return [String] The resource id. + attr_accessor :id + + # @return [String] The resource name. + attr_accessor :name + + # @return [String] The resource type. + attr_accessor :type + + # @return [String] The resource location. + attr_accessor :location + + # @return [Hash{String => String}] The resource tags. + attr_accessor :tags + + + # + # Mapper for Resource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Resource', + type: { + name: 'Composite', + class_name: 'Resource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb new file mode 100644 index 0000000000..07341dfc54 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_limits.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The resource limits. + # + class ResourceLimits + + include MsRestAzure + + # @return [Float] The memory limit in GB of this container instance. + attr_accessor :memory_in_gb + + # @return [Float] The CPU limit of this container instance. + attr_accessor :cpu + + + # + # Mapper for ResourceLimits class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceLimits', + type: { + name: 'Composite', + class_name: 'ResourceLimits', + model_properties: { + memory_in_gb: { + required: false, + serialized_name: 'memoryInGB', + type: { + name: 'Double' + } + }, + cpu: { + required: false, + serialized_name: 'cpu', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb new file mode 100644 index 0000000000..3387e80f3a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requests.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The resource requests. + # + class ResourceRequests + + include MsRestAzure + + # @return [Float] The memory request in GB of this container instance. + attr_accessor :memory_in_gb + + # @return [Float] The CPU request of this container instance. + attr_accessor :cpu + + + # + # Mapper for ResourceRequests class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceRequests', + type: { + name: 'Composite', + class_name: 'ResourceRequests', + model_properties: { + memory_in_gb: { + required: true, + serialized_name: 'memoryInGB', + type: { + name: 'Double' + } + }, + cpu: { + required: true, + serialized_name: 'cpu', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb new file mode 100644 index 0000000000..b4754ef762 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/resource_requirements.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The resource requirements. + # + class ResourceRequirements + + include MsRestAzure + + # @return [ResourceRequests] The resource requests of this container + # instance. + attr_accessor :requests + + # @return [ResourceLimits] The resource limits of this container + # instance. + attr_accessor :limits + + + # + # Mapper for ResourceRequirements class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceRequirements', + type: { + name: 'Composite', + class_name: 'ResourceRequirements', + model_properties: { + requests: { + required: true, + serialized_name: 'requests', + type: { + name: 'Composite', + class_name: 'ResourceRequests' + } + }, + limits: { + required: false, + serialized_name: 'limits', + type: { + name: 'Composite', + class_name: 'ResourceLimits' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage.rb new file mode 100644 index 0000000000..100f6c56d1 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # A single usage result + # + class Usage + + include MsRestAzure + + # @return [String] Unit of the usage result + attr_accessor :unit + + # @return [Integer] The current usage of the resource + attr_accessor :current_value + + # @return [Integer] The maximum permitted usage of the resource. + attr_accessor :limit + + # @return [UsageName] The name object of the resource + attr_accessor :name + + + # + # Mapper for Usage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Usage', + type: { + name: 'Composite', + class_name: 'Usage', + model_properties: { + unit: { + required: false, + read_only: true, + serialized_name: 'unit', + type: { + name: 'String' + } + }, + current_value: { + required: false, + read_only: true, + serialized_name: 'currentValue', + type: { + name: 'Number' + } + }, + limit: { + required: false, + read_only: true, + serialized_name: 'limit', + type: { + name: 'Number' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'Composite', + class_name: 'UsageName' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb new file mode 100644 index 0000000000..a400255976 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -0,0 +1,53 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The response containing the usage data + # + class UsageListResult + + include MsRestAzure + + # @return [Array] + attr_accessor :value + + + # + # Mapper for UsageListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UsageListResult', + type: { + name: 'Composite', + class_name: 'UsageListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'UsageElementType', + type: { + name: 'Composite', + class_name: 'Usage' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.rb new file mode 100644 index 0000000000..9167b9d79c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/usage_name.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::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The name object of the resource + # + class UsageName + + include MsRestAzure + + # @return [String] The name of the resource + attr_accessor :value + + # @return [String] The localized name of the resource + attr_accessor :localized_value + + + # + # Mapper for UsageName class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Usage_name', + type: { + name: 'Composite', + class_name: 'UsageName', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'String' + } + }, + localized_value: { + required: false, + read_only: true, + serialized_name: 'localizedValue', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb new file mode 100644 index 0000000000..44669a4db5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume.rb @@ -0,0 +1,93 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The properties of the volume. + # + class Volume + + include MsRestAzure + + # @return [String] The name of the volume. + attr_accessor :name + + # @return [AzureFileVolume] The Azure File volume. + attr_accessor :azure_file + + # @return The empty directory volume. + attr_accessor :empty_dir + + # @return [Hash{String => String}] The secret volume. + attr_accessor :secret + + # @return [GitRepoVolume] The git repo volume. + attr_accessor :git_repo + + + # + # Mapper for Volume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Volume', + type: { + name: 'Composite', + class_name: 'Volume', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + azure_file: { + required: false, + serialized_name: 'azureFile', + type: { + name: 'Composite', + class_name: 'AzureFileVolume' + } + }, + empty_dir: { + required: false, + serialized_name: 'emptyDir', + type: { + name: 'Object' + } + }, + secret: { + required: false, + serialized_name: 'secret', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + git_repo: { + required: false, + serialized_name: 'gitRepo', + type: { + name: 'Composite', + class_name: 'GitRepoVolume' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb new file mode 100644 index 0000000000..191db0592e --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -0,0 +1,66 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + module Models + # + # The properties of the volume mount. + # + class VolumeMount + + include MsRestAzure + + # @return [String] The name of the volume mount. + attr_accessor :name + + # @return [String] The path within the container where the volume should + # be mounted. Must not contain colon (:). + attr_accessor :mount_path + + # @return [Boolean] The flag indicating whether the volume mount is + # read-only. + attr_accessor :read_only + + + # + # Mapper for VolumeMount class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VolumeMount', + type: { + name: 'Composite', + class_name: 'VolumeMount', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + mount_path: { + required: true, + serialized_name: 'mountPath', + type: { + name: 'String' + } + }, + read_only: { + required: false, + serialized_name: 'readOnly', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/module_definition.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/module_definition.rb new file mode 100644 index 0000000000..7e0da8ef47 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/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::ContainerInstance end +module Azure::ContainerInstance::Mgmt end +module Azure::ContainerInstance::Mgmt::V2018_09_01 end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.rb new file mode 100644 index 0000000000..b7cad2562b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/operations.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::ContainerInstance::Mgmt::V2018_09_01 + # + # Operations + # + class Operations + include MsRestAzure + + # + # Creates and initializes a new instance of the Operations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # List the operations for Azure Container Instance service. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationListResult] operation results. + # + def list(custom_headers = nil) + response = list_async(custom_headers).value! + response.body unless response.nil? + end + + # + # List the operations for Azure Container Instance service. + # + # @param custom_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 the operations for Azure Container Instance service. + # + # @param [Hash{String => String}] 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.ContainerInstance/operations' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_09_01::Models::OperationListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..575db61d18 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-09-01/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_09_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance.rb new file mode 100644 index 0000000000..938f913edb --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance.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. + +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-10-01/generated/azure_mgmt_container_instance/module_definition' +require 'ms_rest_azure' + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + autoload :ContainerGroups, '2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb' + autoload :Operations, '2018-10-01/generated/azure_mgmt_container_instance/operations.rb' + autoload :ContainerGroupUsage, '2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb' + autoload :ContainerOperations, '2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb' + autoload :ServiceAssociationLink, '2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb' + autoload :ContainerInstanceManagementClient, '2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb' + + module Models + autoload :Port, '2018-10-01/generated/azure_mgmt_container_instance/models/port.rb' + autoload :ContainerPort, '2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb' + autoload :IpAddress, '2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.rb' + autoload :ContainerState, '2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb' + autoload :ContainerGroupPropertiesInstanceView, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb' + autoload :ContainerPropertiesInstanceView, '2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb' + autoload :LogAnalytics, '2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.rb' + autoload :ResourceRequests, '2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.rb' + autoload :ContainerGroupDiagnostics, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb' + autoload :ResourceRequirements, '2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb' + autoload :ContainerGroupNetworkProfile, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb' + autoload :ContainerExec, '2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.rb' + autoload :DnsConfiguration, '2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb' + autoload :ContainerProbe, '2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.rb' + autoload :Container, '2018-10-01/generated/azure_mgmt_container_instance/models/container.rb' + autoload :GitRepoVolume, '2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb' + autoload :OperationDisplay, '2018-10-01/generated/azure_mgmt_container_instance/models/operation_display.rb' + autoload :ContainerGroupIdentityUserAssignedIdentitiesValue, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb' + autoload :Operation, '2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb' + autoload :ImageRegistryCredential, '2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb' + autoload :OperationListResult, '2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb' + autoload :Event, '2018-10-01/generated/azure_mgmt_container_instance/models/event.rb' + autoload :UsageName, '2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.rb' + autoload :ResourceLimits, '2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.rb' + autoload :Usage, '2018-10-01/generated/azure_mgmt_container_instance/models/usage.rb' + autoload :ContainerHttpGet, '2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.rb' + autoload :UsageListResult, '2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb' + autoload :Volume, '2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb' + autoload :ContainerGroupListResult, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb' + autoload :EnvironmentVariable, '2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.rb' + autoload :Logs, '2018-10-01/generated/azure_mgmt_container_instance/models/logs.rb' + autoload :VolumeMount, '2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb' + autoload :ContainerExecRequestTerminalSize, '2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb' + autoload :ContainerGroupIdentity, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb' + autoload :ContainerExecRequest, '2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb' + autoload :AzureFileVolume, '2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb' + autoload :ContainerExecResponse, '2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb' + autoload :GpuResource, '2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb' + autoload :Resource, '2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb' + autoload :ContainerGroup, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb' + autoload :ContainerNetworkProtocol, '2018-10-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb' + autoload :GpuSku, '2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb' + autoload :ResourceIdentityType, '2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb' + autoload :ContainerGroupRestartPolicy, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb' + autoload :ContainerGroupNetworkProtocol, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb' + autoload :ContainerGroupIpAddressType, '2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb' + autoload :OperatingSystemTypes, '2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb' + autoload :LogAnalyticsLogType, '2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb' + autoload :ContainerInstanceOperationsOrigin, '2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb' + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb new file mode 100644 index 0000000000..6f56d5c016 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_group_usage.rb @@ -0,0 +1,112 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + # + # ContainerGroupUsage + # + class ContainerGroupUsage + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerGroupUsage class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [UsageListResult] operation results. + # + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! + end + + # + # Get the usage for a subscription + # + # @param location [String] The identifier for the physical azure location. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(location, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'location is nil' if location.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'location' => location}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::UsageListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb new file mode 100644 index 0000000000..08516c4f68 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_groups.rb @@ -0,0 +1,1325 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + # + # ContainerGroups + # + class ContainerGroups + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerGroups class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param custom_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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def 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 + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def 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 = {} + + # Set 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.ContainerInstance/containerGroups' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def get(resource_group_name, container_group_name, custom_headers = nil) + response = get_async(resource_group_name, container_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + get_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Get the properties of the specified container group. + # + # Gets the properties of the specified container group in the specified + # subscription and resource group. The operation returns the properties of each + # container group including containers, image registry credentials, restart + # policy, IP address type, OS type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def update(resource_group_name, container_group_name, resource, custom_headers = nil) + response = update_async(resource_group_name, container_group_name, resource, custom_headers).value! + response.body unless response.nil? + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, container_group_name, resource, custom_headers = nil) + update_async(resource_group_name, container_group_name, resource, custom_headers).value! + end + + # + # Update container groups. + # + # Updates container group tags with specified values. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param resource [Resource] The container group resource with just the tags to + # be updated. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, container_group_name, resource, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'resource is nil' if resource.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Resource.mapper() + request_content = @client.serialize(request_mapper, resource) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:patch, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def delete(resource_group_name, container_group_name, custom_headers = nil) + response = delete_async(resource_group_name, container_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + delete_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Delete the specified container group. + # + # Delete the specified container group in the specified subscription and + # resource group. The operation does not delete other resources provided by the + # user, such as volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:delete, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def restart(resource_group_name, container_group_name, custom_headers = nil) + response = restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def restart_async(resource_group_name, container_group_name, custom_headers = nil) + # Send request + promise = begin_restart_async(resource_group_name, container_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def stop(resource_group_name, container_group_name, custom_headers = nil) + response = stop_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def stop_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + stop_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Stops all containers in a container group. + # + # Stops all containers in a container group. Compute resources will be + # deallocated and billing will stop. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def stop_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/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,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Starts all containers in a container group. + # + # Starts all containers in a container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def start(resource_group_name, container_group_name, custom_headers = nil) + response = start_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def start_async(resource_group_name, container_group_name, custom_headers = nil) + # Send request + promise = begin_start_async(resource_group_name, container_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroup] operation results. + # + def begin_create_or_update(resource_group_name, container_group_name, container_group, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, container_group_name, container_group, custom_headers = nil) + begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers).value! + end + + # + # Create or update container groups. + # + # Create or update container groups with specified configurations. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_group [ContainerGroup] The properties of the container group + # to be created or updated. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, container_group_name, container_group, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_group is nil' if container_group.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + request_content = @client.serialize(request_mapper, container_group) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:put, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_restart(resource_group_name, container_group_name, custom_headers = nil) + response = begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_restart_with_http_info(resource_group_name, container_group_name, custom_headers = nil) + begin_restart_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Restarts all containers in a container group. + # + # Restarts all containers in a container group in place. If container image has + # updates, new image will be downloaded. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_restart_async(resource_group_name, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/restart' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Starts all containers in a container group. + # + # Starts all containers in a container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_start(resource_group_name, container_group_name, custom_headers = nil) + response = begin_start_async(resource_group_name, container_group_name, custom_headers).value! + nil + end + + # + # Starts all containers in a container group. + # + # Starts all containers in a container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param custom_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, container_group_name, custom_headers = nil) + begin_start_async(resource_group_name, container_group_name, custom_headers).value! + end + + # + # Starts all containers in a container group. + # + # Starts all containers in a container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param [Hash{String => String}] 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, container_group_name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/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,'containerGroupName' => container_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 [ContainerGroupListResult] 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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @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 + + # + # Get a list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @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 [ContainerGroupListResult] operation results. + # + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! + end + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue 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 list of container groups in the specified subscription. + # + # Get a list of container groups in the specified subscription. This operation + # returns properties of each container group including containers, image + # registry credentials, restart policy, IP address type, OS type, state, and + # volumes. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroupListResult] 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 + + # + # Get a list of container groups in the specified subscription and resource + # group. + # + # Get a list of container groups in a specified subscription and resource + # group. This operation returns properties of each container group including + # containers, image registry credentials, restart policy, IP address type, OS + # type, state, and volumes. + # + # @param resource_group_name [String] The name of the resource group. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerGroupListResult] which provide lazy access to pages of the + # response. + # + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_resource_group_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb new file mode 100644 index 0000000000..73993f43ae --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb @@ -0,0 +1,147 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + # + # A service client - single point of access to the REST API. + # + class ContainerInstanceManagementClient < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_accessor :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials + + # @return [String] Subscription credentials which uniquely identify + # Microsoft Azure subscription. The subscription ID forms part of the URI + # for every service call. + attr_accessor :subscription_id + + # @return [String] Client API version + 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 [ContainerGroups] container_groups + attr_reader :container_groups + + # @return [Operations] operations + attr_reader :operations + + # @return [ContainerGroupUsage] container_group_usage + attr_reader :container_group_usage + + # @return [ContainerOperations] container_operations + attr_reader :container_operations + + # @return [ServiceAssociationLink] service_association_link + attr_reader :service_association_link + + # + # Creates initializes a new instance of the ContainerInstanceManagementClient 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 + + @container_groups = ContainerGroups.new(self) + @operations = Operations.new(self) + @container_group_usage = ContainerGroupUsage.new(self) + @container_operations = ContainerOperations.new(self) + @service_association_link = ServiceAssociationLink.new(self) + @api_version = '2018-10-01' + @accept_language = 'en-US' + @long_running_operation_retry_timeout = 30 + @generate_client_request_id = true + add_telemetry + end + + # + # Makes a request and returns the body of the response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Hash{String=>String}] containing the body of the response. + # Example: + # + # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}" + # path = "/path" + # options = { + # body: request_content, + # query_params: {'api-version' => '2016-02-01'} + # } + # result = @client.make_request(:put, path, options) + # + def make_request(method, path, options = {}) + result = make_request_with_http_info(method, path, options) + result.body unless result.nil? + end + + # + # Makes a request and returns the operation response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status. + # + def make_request_with_http_info(method, path, options = {}) + result = make_request_async(method, path, options).value! + result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body) + result + end + + # + # Makes a request asynchronously. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def make_request_async(method, path, options = {}) + fail ArgumentError, 'method is nil' if method.nil? + fail ArgumentError, 'path is nil' if path.nil? + + request_url = options[:base_url] || @base_url + + request_headers = @request_headers + request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? + options.merge!({headers: request_headers.merge(options[:headers] || {})}) + options.merge!({credentials: @credentials}) unless @credentials.nil? + + super(request_url, method, path, options) + end + + + private + # + # Adds telemetry information. + # + def add_telemetry + sdk_information = 'azure_mgmt_container_instance' + if defined? Azure::ContainerInstance::Mgmt::V2018_10_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::ContainerInstance::Mgmt::V2018_10_01::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb new file mode 100644 index 0000000000..2f890b5a33 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/container_operations.rb @@ -0,0 +1,258 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + # + # ContainerOperations + # + class ContainerOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the ContainerOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Logs] operation results. + # + def list_logs(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + response = list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! + response.body unless response.nil? + end + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param custom_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_logs_with_http_info(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + list_logs_async(resource_group_name, container_group_name, container_name, tail, custom_headers).value! + end + + # + # Get the logs for a specified container instance. + # + # Get the logs for a specified container instance in a specified resource group + # and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param tail [Integer] The number of lines to show from the tail of the + # container instance log. If not provided, all available logs are shown up to + # 4mb. + # @param [Hash{String => String}] 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_logs_async(resource_group_name, container_group_name, container_name, tail = nil, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_name is nil' if container_name.nil? + + + request_headers = {} + + # Set 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.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name,'containerName' => container_name}, + query_params: {'api-version' => @client.api_version,'tail' => tail}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Logs.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ContainerExecResponse] operation results. + # + def execute_command(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + response = execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def execute_command_with_http_info(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers).value! + end + + # + # Executes a command in a specific container instance. + # + # Executes a command for a specific container instance in a specified resource + # group and container group. + # + # @param resource_group_name [String] The name of the resource group. + # @param container_group_name [String] The name of the container group. + # @param container_name [String] The name of the container instance. + # @param container_exec_request [ContainerExecRequest] The request for the exec + # command. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def execute_command_async(resource_group_name, container_group_name, container_name, container_exec_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'container_group_name is nil' if container_group_name.nil? + fail ArgumentError, 'container_name is nil' if container_name.nil? + fail ArgumentError, 'container_exec_request is nil' if container_exec_request.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequest.mapper() + request_content = @client.serialize(request_mapper, container_exec_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'containerGroupName' => container_group_name,'containerName' => container_name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecResponse.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb new file mode 100644 index 0000000000..07f69c63fb --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/azure_file_volume.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The properties of the Azure File volume. Azure File shares are mounted as + # volumes. + # + class AzureFileVolume + + include MsRestAzure + + # @return [String] The name of the Azure File share to be mounted as a + # volume. + attr_accessor :share_name + + # @return [Boolean] The flag indicating whether the Azure File shared + # mounted as a volume is read-only. + attr_accessor :read_only + + # @return [String] The name of the storage account that contains the + # Azure File share. + attr_accessor :storage_account_name + + # @return [String] The storage account access key used to access the + # Azure File share. + attr_accessor :storage_account_key + + + # + # Mapper for AzureFileVolume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AzureFileVolume', + type: { + name: 'Composite', + class_name: 'AzureFileVolume', + model_properties: { + share_name: { + required: true, + serialized_name: 'shareName', + type: { + name: 'String' + } + }, + read_only: { + required: false, + serialized_name: 'readOnly', + type: { + name: 'Boolean' + } + }, + storage_account_name: { + required: true, + serialized_name: 'storageAccountName', + type: { + name: 'String' + } + }, + storage_account_key: { + required: false, + serialized_name: 'storageAccountKey', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container.rb new file mode 100644 index 0000000000..e839f9efa1 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container.rb @@ -0,0 +1,177 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # A container instance. + # + class Container + + include MsRestAzure + + # @return [String] The user-provided name of the container instance. + attr_accessor :name + + # @return [String] The name of the image used to create the container + # instance. + attr_accessor :image + + # @return [Array] The commands to execute within the container + # instance in exec form. + attr_accessor :command + + # @return [Array] The exposed ports on the container + # instance. + attr_accessor :ports + + # @return [Array] The environment variables to set + # in the container instance. + attr_accessor :environment_variables + + # @return [ContainerPropertiesInstanceView] The instance view of the + # container instance. Only valid in response. + attr_accessor :instance_view + + # @return [ResourceRequirements] The resource requirements of the + # container instance. + attr_accessor :resources + + # @return [Array] The volume mounts available to the + # container instance. + attr_accessor :volume_mounts + + # @return [ContainerProbe] The liveness probe. + attr_accessor :liveness_probe + + # @return [ContainerProbe] The readiness probe. + attr_accessor :readiness_probe + + + # + # Mapper for Container class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Container', + type: { + name: 'Composite', + class_name: 'Container', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + image: { + required: true, + serialized_name: 'properties.image', + type: { + name: 'String' + } + }, + command: { + required: false, + serialized_name: 'properties.command', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + ports: { + required: false, + serialized_name: 'properties.ports', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerPortElementType', + type: { + name: 'Composite', + class_name: 'ContainerPort' + } + } + } + }, + environment_variables: { + required: false, + serialized_name: 'properties.environmentVariables', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EnvironmentVariableElementType', + type: { + name: 'Composite', + class_name: 'EnvironmentVariable' + } + } + } + }, + instance_view: { + required: false, + read_only: true, + serialized_name: 'properties.instanceView', + type: { + name: 'Composite', + class_name: 'ContainerPropertiesInstanceView' + } + }, + resources: { + required: true, + serialized_name: 'properties.resources', + type: { + name: 'Composite', + class_name: 'ResourceRequirements' + } + }, + volume_mounts: { + required: false, + serialized_name: 'properties.volumeMounts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'VolumeMountElementType', + type: { + name: 'Composite', + class_name: 'VolumeMount' + } + } + } + }, + liveness_probe: { + required: false, + serialized_name: 'properties.livenessProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe' + } + }, + readiness_probe: { + required: false, + serialized_name: 'properties.readinessProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.rb new file mode 100644 index 0000000000..96460e6718 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container execution command, for liveness or readiness probe + # + class ContainerExec + + include MsRestAzure + + # @return [Array] The commands to execute within the container. + attr_accessor :command + + + # + # Mapper for ContainerExec class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExec', + type: { + name: 'Composite', + class_name: 'ContainerExec', + model_properties: { + command: { + required: false, + serialized_name: 'command', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb new file mode 100644 index 0000000000..919e7789fb --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container exec request. + # + class ContainerExecRequest + + include MsRestAzure + + # @return [String] The command to be executed. + attr_accessor :command + + # @return [ContainerExecRequestTerminalSize] The size of the terminal. + attr_accessor :terminal_size + + + # + # Mapper for ContainerExecRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest', + type: { + name: 'Composite', + class_name: 'ContainerExecRequest', + model_properties: { + command: { + required: false, + serialized_name: 'command', + type: { + name: 'String' + } + }, + terminal_size: { + required: false, + serialized_name: 'terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb new file mode 100644 index 0000000000..4a948ee270 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The size of the terminal. + # + class ContainerExecRequestTerminalSize + + include MsRestAzure + + # @return [Integer] The row size of the terminal + attr_accessor :rows + + # @return [Integer] The column size of the terminal + attr_accessor :cols + + + # + # Mapper for ContainerExecRequestTerminalSize class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecRequest_terminalSize', + type: { + name: 'Composite', + class_name: 'ContainerExecRequestTerminalSize', + model_properties: { + rows: { + required: false, + serialized_name: 'rows', + type: { + name: 'Number' + } + }, + cols: { + required: false, + serialized_name: 'cols', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb new file mode 100644 index 0000000000..6fc9033684 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The information for the container exec command. + # + class ContainerExecResponse + + include MsRestAzure + + # @return [String] The uri for the exec websocket. + attr_accessor :web_socket_uri + + # @return [String] The password to start the exec command. + attr_accessor :password + + + # + # Mapper for ContainerExecResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerExecResponse', + type: { + name: 'Composite', + class_name: 'ContainerExecResponse', + model_properties: { + web_socket_uri: { + required: false, + serialized_name: 'webSocketUri', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb new file mode 100644 index 0000000000..8329491da8 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group.rb @@ -0,0 +1,246 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # A container group. + # + class ContainerGroup < Resource + + include MsRestAzure + + # @return [ContainerGroupIdentity] The identity of the container group, + # if configured. + attr_accessor :identity + + # @return [String] The provisioning state of the container group. This + # only appears in the response. + attr_accessor :provisioning_state + + # @return [Array] The containers within the container group. + attr_accessor :containers + + # @return [Array] The image registry credentials + # by which the container group is created from. + attr_accessor :image_registry_credentials + + # @return [ContainerGroupRestartPolicy] Restart policy for all containers + # within the container group. + # - `Always` Always restart + # - `OnFailure` Restart on failure + # - `Never` Never restart + # . Possible values include: 'Always', 'OnFailure', 'Never' + attr_accessor :restart_policy + + # @return [IpAddress] The IP address type of the container group. + attr_accessor :ip_address + + # @return [OperatingSystemTypes] The operating system type required by + # the containers in the container group. Possible values include: + # 'Windows', 'Linux' + attr_accessor :os_type + + # @return [Array] The list of volumes that can be mounted by + # containers in this container group. + attr_accessor :volumes + + # @return [ContainerGroupPropertiesInstanceView] The instance view of the + # container group. Only valid in response. + attr_accessor :instance_view + + # @return [ContainerGroupDiagnostics] The diagnostic information for a + # container group. + attr_accessor :diagnostics + + # @return [ContainerGroupNetworkProfile] The network profile information + # for a container group. + attr_accessor :network_profile + + # @return [DnsConfiguration] The DNS config information for a container + # group. + attr_accessor :dns_config + + + # + # Mapper for ContainerGroup class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroup', + type: { + name: 'Composite', + class_name: 'ContainerGroup', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + identity: { + required: false, + serialized_name: 'identity', + type: { + name: 'Composite', + class_name: 'ContainerGroupIdentity' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + containers: { + required: false, + serialized_name: 'properties.containers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerElementType', + type: { + name: 'Composite', + class_name: 'Container' + } + } + } + }, + image_registry_credentials: { + required: false, + serialized_name: 'properties.imageRegistryCredentials', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ImageRegistryCredentialElementType', + type: { + name: 'Composite', + class_name: 'ImageRegistryCredential' + } + } + } + }, + restart_policy: { + required: false, + serialized_name: 'properties.restartPolicy', + type: { + name: 'String' + } + }, + ip_address: { + required: false, + serialized_name: 'properties.ipAddress', + type: { + name: 'Composite', + class_name: 'IpAddress' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + volumes: { + required: false, + serialized_name: 'properties.volumes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'VolumeElementType', + type: { + name: 'Composite', + class_name: 'Volume' + } + } + } + }, + instance_view: { + required: false, + read_only: true, + serialized_name: 'properties.instanceView', + type: { + name: 'Composite', + class_name: 'ContainerGroupPropertiesInstanceView' + } + }, + diagnostics: { + required: false, + serialized_name: 'properties.diagnostics', + type: { + name: 'Composite', + class_name: 'ContainerGroupDiagnostics' + } + }, + network_profile: { + required: false, + serialized_name: 'properties.networkProfile', + type: { + name: 'Composite', + class_name: 'ContainerGroupNetworkProfile' + } + }, + dns_config: { + required: false, + serialized_name: 'properties.dnsConfig', + type: { + name: 'Composite', + class_name: 'DnsConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb new file mode 100644 index 0000000000..969e665ed7 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Container group diagnostic information. + # + class ContainerGroupDiagnostics + + include MsRestAzure + + # @return [LogAnalytics] Container group log analytics information. + attr_accessor :log_analytics + + + # + # Mapper for ContainerGroupDiagnostics class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupDiagnostics', + type: { + name: 'Composite', + class_name: 'ContainerGroupDiagnostics', + model_properties: { + log_analytics: { + required: false, + serialized_name: 'logAnalytics', + type: { + name: 'Composite', + class_name: 'LogAnalytics' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb new file mode 100644 index 0000000000..65b07b8d53 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Identity for the container group. + # + class ContainerGroupIdentity + + include MsRestAzure + + # @return [String] The principal id of the container group identity. This + # property will only be provided for a system assigned identity. + attr_accessor :principal_id + + # @return [String] The tenant id associated with the container group. + # This property will only be provided for a system assigned identity. + attr_accessor :tenant_id + + # @return [ResourceIdentityType] The type of identity used for the + # container group. The type 'SystemAssigned, UserAssigned' includes both + # an implicitly created identity and a set of user assigned identities. + # The type 'None' will remove any identities from the container group. + # Possible values include: 'SystemAssigned', 'UserAssigned', + # 'SystemAssigned, UserAssigned', 'None' + attr_accessor :type + + # @return [Hash{String => + # ContainerGroupIdentityUserAssignedIdentitiesValue}] The list of user + # identities associated with the container group. The user identity + # dictionary key references will be ARM resource ids in the form: + # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + attr_accessor :user_assigned_identities + + + # + # Mapper for ContainerGroupIdentity class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupIdentity', + type: { + name: 'Composite', + class_name: 'ContainerGroupIdentity', + model_properties: { + principal_id: { + required: false, + read_only: true, + serialized_name: 'principalId', + type: { + name: 'String' + } + }, + tenant_id: { + required: false, + read_only: true, + serialized_name: 'tenantId', + type: { + name: 'String' + } + }, + type: { + required: false, + serialized_name: 'type', + type: { + name: 'Enum', + module: 'ResourceIdentityType' + } + }, + user_assigned_identities: { + required: false, + serialized_name: 'userAssignedIdentities', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'ContainerGroupIdentityUserAssignedIdentitiesValueElementType', + type: { + name: 'Composite', + class_name: 'ContainerGroupIdentityUserAssignedIdentitiesValue' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb new file mode 100644 index 0000000000..0fbe32b67c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Model object. + # + # + class ContainerGroupIdentityUserAssignedIdentitiesValue + + include MsRestAzure + + # @return [String] The principal id of user assigned identity. + attr_accessor :principal_id + + # @return [String] The client id of user assigned identity. + attr_accessor :client_id + + + # + # Mapper for ContainerGroupIdentityUserAssignedIdentitiesValue class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupIdentity_userAssignedIdentitiesValue', + type: { + name: 'Composite', + class_name: 'ContainerGroupIdentityUserAssignedIdentitiesValue', + model_properties: { + principal_id: { + required: false, + read_only: true, + serialized_name: 'principalId', + type: { + name: 'String' + } + }, + client_id: { + required: false, + read_only: true, + serialized_name: 'clientId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb new file mode 100644 index 0000000000..89fe7849dd --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ContainerGroupIpAddressType + # + module ContainerGroupIpAddressType + Public = "Public" + Private = "Private" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb new file mode 100644 index 0000000000..406d97ae9f --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_list_result.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container group list response that contains the container group + # properties. + # + class ContainerGroupListResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of container groups. + attr_accessor :value + + # @return [String] The URI to fetch the next page of container groups. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ContainerGroupListResult] with next page content. + # + def get_next_page + response = @next_method.call(@next_link).value! unless @next_method.nil? + unless response.nil? + @next_link = response.body.next_link + @value = response.body.value + self + end + end + + # + # Mapper for ContainerGroupListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupListResult', + type: { + name: 'Composite', + class_name: 'ContainerGroupListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ContainerGroupElementType', + type: { + name: 'Composite', + class_name: 'ContainerGroup' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb new file mode 100644 index 0000000000..409edc6ada --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Container group network profile information. + # + class ContainerGroupNetworkProfile + + include MsRestAzure + + # @return [String] The identifier for a network profile. + attr_accessor :id + + + # + # Mapper for ContainerGroupNetworkProfile class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroupNetworkProfile', + type: { + name: 'Composite', + class_name: 'ContainerGroupNetworkProfile', + model_properties: { + id: { + required: true, + serialized_name: 'id', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb new file mode 100644 index 0000000000..83ae587edf --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_network_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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ContainerGroupNetworkProtocol + # + module ContainerGroupNetworkProtocol + TCP = "TCP" + UDP = "UDP" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb new file mode 100644 index 0000000000..784223f4c2 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The instance view of the container group. Only valid in response. + # + class ContainerGroupPropertiesInstanceView + + include MsRestAzure + + # @return [Array] The events of this container group. + attr_accessor :events + + # @return [String] The state of the container group. Only valid in + # response. + attr_accessor :state + + + # + # Mapper for ContainerGroupPropertiesInstanceView class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerGroup_properties_instanceView', + type: { + name: 'Composite', + class_name: 'ContainerGroupPropertiesInstanceView', + model_properties: { + events: { + required: false, + read_only: true, + serialized_name: 'events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventElementType', + type: { + name: 'Composite', + class_name: 'Event' + } + } + } + }, + state: { + required: false, + read_only: true, + serialized_name: 'state', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb new file mode 100644 index 0000000000..a020d87cbb --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ContainerGroupRestartPolicy + # + module ContainerGroupRestartPolicy + Always = "Always" + OnFailure = "OnFailure" + Never = "Never" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.rb new file mode 100644 index 0000000000..bb3fb44375 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_http_get.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container Http Get settings, for liveness or readiness probe + # + class ContainerHttpGet + + include MsRestAzure + + # @return [String] The path to probe. + attr_accessor :path + + # @return [Integer] The port number to probe. + attr_accessor :port + + # @return [Enum] The scheme. Possible values include: 'http', 'https' + attr_accessor :scheme + + + # + # Mapper for ContainerHttpGet class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerHttpGet', + type: { + name: 'Composite', + class_name: 'ContainerHttpGet', + model_properties: { + path: { + required: false, + serialized_name: 'path', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + }, + scheme: { + required: false, + serialized_name: 'scheme', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb new file mode 100644 index 0000000000..a01f6e1c50 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ContainerInstanceOperationsOrigin + # + module ContainerInstanceOperationsOrigin + User = "User" + System = "System" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb new file mode 100644 index 0000000000..18bbf5f3b8 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_network_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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ContainerNetworkProtocol + # + module ContainerNetworkProtocol + TCP = "TCP" + UDP = "UDP" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb new file mode 100644 index 0000000000..8ff3531795 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_port.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The port exposed on the container instance. + # + class ContainerPort + + include MsRestAzure + + # @return [ContainerNetworkProtocol] The protocol associated with the + # port. Possible values include: 'TCP', 'UDP' + attr_accessor :protocol + + # @return [Integer] The port number exposed within the container group. + attr_accessor :port + + + # + # Mapper for ContainerPort class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerPort', + type: { + name: 'Composite', + class_name: 'ContainerPort', + model_properties: { + protocol: { + required: false, + serialized_name: 'protocol', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.rb new file mode 100644 index 0000000000..d4c811bf9a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_probe.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container probe, for liveness or readiness + # + class ContainerProbe + + include MsRestAzure + + # @return [ContainerExec] The execution command to probe + attr_accessor :exec + + # @return [ContainerHttpGet] The Http Get settings to probe + attr_accessor :http_get + + # @return [Integer] The initial delay seconds. + attr_accessor :initial_delay_seconds + + # @return [Integer] The period seconds. + attr_accessor :period_seconds + + # @return [Integer] The failure threshold. + attr_accessor :failure_threshold + + # @return [Integer] The success threshold. + attr_accessor :success_threshold + + # @return [Integer] The timeout seconds. + attr_accessor :timeout_seconds + + + # + # Mapper for ContainerProbe class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerProbe', + type: { + name: 'Composite', + class_name: 'ContainerProbe', + model_properties: { + exec: { + required: false, + serialized_name: 'exec', + type: { + name: 'Composite', + class_name: 'ContainerExec' + } + }, + http_get: { + required: false, + serialized_name: 'httpGet', + type: { + name: 'Composite', + class_name: 'ContainerHttpGet' + } + }, + initial_delay_seconds: { + required: false, + serialized_name: 'initialDelaySeconds', + type: { + name: 'Number' + } + }, + period_seconds: { + required: false, + serialized_name: 'periodSeconds', + type: { + name: 'Number' + } + }, + failure_threshold: { + required: false, + serialized_name: 'failureThreshold', + type: { + name: 'Number' + } + }, + success_threshold: { + required: false, + serialized_name: 'successThreshold', + type: { + name: 'Number' + } + }, + timeout_seconds: { + required: false, + serialized_name: 'timeoutSeconds', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb new file mode 100644 index 0000000000..eb9f3fc65d --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The instance view of the container instance. Only valid in response. + # + class ContainerPropertiesInstanceView + + include MsRestAzure + + # @return [Integer] The number of times that the container instance has + # been restarted. + attr_accessor :restart_count + + # @return [ContainerState] Current container instance state. + attr_accessor :current_state + + # @return [ContainerState] Previous container instance state. + attr_accessor :previous_state + + # @return [Array] The events of the container instance. + attr_accessor :events + + + # + # Mapper for ContainerPropertiesInstanceView class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerProperties_instanceView', + type: { + name: 'Composite', + class_name: 'ContainerPropertiesInstanceView', + model_properties: { + restart_count: { + required: false, + read_only: true, + serialized_name: 'restartCount', + type: { + name: 'Number' + } + }, + current_state: { + required: false, + read_only: true, + serialized_name: 'currentState', + type: { + name: 'Composite', + class_name: 'ContainerState' + } + }, + previous_state: { + required: false, + read_only: true, + serialized_name: 'previousState', + type: { + name: 'Composite', + class_name: 'ContainerState' + } + }, + events: { + required: false, + read_only: true, + serialized_name: 'events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventElementType', + type: { + name: 'Composite', + class_name: 'Event' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.rb new file mode 100644 index 0000000000..5babc413b4 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/container_state.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The container instance state. + # + class ContainerState + + include MsRestAzure + + # @return [String] The state of the container instance. + attr_accessor :state + + # @return [DateTime] The date-time when the container instance state + # started. + attr_accessor :start_time + + # @return [Integer] The container instance exit codes correspond to those + # from the `docker run` command. + attr_accessor :exit_code + + # @return [DateTime] The date-time when the container instance state + # finished. + attr_accessor :finish_time + + # @return [String] The human-readable status of the container instance + # state. + attr_accessor :detail_status + + + # + # Mapper for ContainerState class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContainerState', + type: { + name: 'Composite', + class_name: 'ContainerState', + model_properties: { + state: { + required: false, + serialized_name: 'state', + type: { + name: 'String' + } + }, + start_time: { + required: false, + serialized_name: 'startTime', + type: { + name: 'DateTime' + } + }, + exit_code: { + required: false, + serialized_name: 'exitCode', + type: { + name: 'Number' + } + }, + finish_time: { + required: false, + serialized_name: 'finishTime', + type: { + name: 'DateTime' + } + }, + detail_status: { + required: false, + serialized_name: 'detailStatus', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb new file mode 100644 index 0000000000..6e338be9ea --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/dns_configuration.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # DNS configuration for the container group. + # + class DnsConfiguration + + include MsRestAzure + + # @return [Array] The DNS servers for the container group. + attr_accessor :name_servers + + # @return [String] The DNS search domains for hostname lookup in the + # container group. + attr_accessor :search_domains + + # @return [String] The DNS options for the container group. + attr_accessor :options + + + # + # Mapper for DnsConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DnsConfiguration', + type: { + name: 'Composite', + class_name: 'DnsConfiguration', + model_properties: { + name_servers: { + required: true, + serialized_name: 'nameServers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + search_domains: { + required: false, + serialized_name: 'searchDomains', + type: { + name: 'String' + } + }, + options: { + required: false, + serialized_name: 'options', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.rb new file mode 100644 index 0000000000..e6aeb5386a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/environment_variable.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The environment variable to set within the container instance. + # + class EnvironmentVariable + + include MsRestAzure + + # @return [String] The name of the environment variable. + attr_accessor :name + + # @return [String] The value of the environment variable. + attr_accessor :value + + # @return [String] The value of the secure environment variable. + attr_accessor :secure_value + + + # + # Mapper for EnvironmentVariable class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnvironmentVariable', + type: { + name: 'Composite', + class_name: 'EnvironmentVariable', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + }, + secure_value: { + required: false, + serialized_name: 'secureValue', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/event.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/event.rb new file mode 100644 index 0000000000..38b2ca8a0a --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/event.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # A container group or container instance event. + # + class Event + + include MsRestAzure + + # @return [Integer] The count of the event. + attr_accessor :count + + # @return [DateTime] The date-time of the earliest logged event. + attr_accessor :first_timestamp + + # @return [DateTime] The date-time of the latest logged event. + attr_accessor :last_timestamp + + # @return [String] The event name. + attr_accessor :name + + # @return [String] The event message. + attr_accessor :message + + # @return [String] The event type. + attr_accessor :type + + + # + # Mapper for Event class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Event', + type: { + name: 'Composite', + class_name: 'Event', + model_properties: { + count: { + required: false, + serialized_name: 'count', + type: { + name: 'Number' + } + }, + first_timestamp: { + required: false, + serialized_name: 'firstTimestamp', + type: { + name: 'DateTime' + } + }, + last_timestamp: { + required: false, + serialized_name: 'lastTimestamp', + type: { + name: 'DateTime' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + }, + type: { + required: false, + serialized_name: 'type', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb new file mode 100644 index 0000000000..c7d1fe54f6 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/git_repo_volume.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Represents a volume that is populated with the contents of a git + # repository + # + class GitRepoVolume + + include MsRestAzure + + # @return [String] Target directory name. Must not contain or start with + # '..'. If '.' is supplied, the volume directory will be the git + # repository. Otherwise, if specified, the volume will contain the git + # repository in the subdirectory with the given name. + attr_accessor :directory + + # @return [String] Repository URL + attr_accessor :repository + + # @return [String] Commit hash for the specified revision. + attr_accessor :revision + + + # + # Mapper for GitRepoVolume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GitRepoVolume', + type: { + name: 'Composite', + class_name: 'GitRepoVolume', + model_properties: { + directory: { + required: false, + serialized_name: 'directory', + type: { + name: 'String' + } + }, + repository: { + required: true, + serialized_name: 'repository', + type: { + name: 'String' + } + }, + revision: { + required: false, + serialized_name: 'revision', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb new file mode 100644 index 0000000000..e5b8ad4739 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The GPU resource. + # + class GpuResource + + include MsRestAzure + + # @return [Integer] The count of the GPU resource. + attr_accessor :count + + # @return [GpuSku] The SKU of the GPU resource. Possible values include: + # 'K80', 'P100', 'V100' + attr_accessor :sku + + + # + # Mapper for GpuResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GpuResource', + type: { + name: 'Composite', + class_name: 'GpuResource', + model_properties: { + count: { + required: true, + serialized_name: 'count', + type: { + name: 'Number' + } + }, + sku: { + required: true, + serialized_name: 'sku', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb new file mode 100644 index 0000000000..1cbdd85bce --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/gpu_sku.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for GpuSku + # + module GpuSku + K80 = "K80" + P100 = "P100" + V100 = "V100" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb new file mode 100644 index 0000000000..ed2e80ec9b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/image_registry_credential.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Image registry credential. + # + class ImageRegistryCredential + + include MsRestAzure + + # @return [String] The Docker image registry server without a protocol + # such as "http" and "https". + attr_accessor :server + + # @return [String] The username for the private registry. + attr_accessor :username + + # @return [String] The password for the private registry. + attr_accessor :password + + + # + # Mapper for ImageRegistryCredential class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImageRegistryCredential', + type: { + name: 'Composite', + class_name: 'ImageRegistryCredential', + model_properties: { + server: { + required: true, + serialized_name: 'server', + type: { + name: 'String' + } + }, + username: { + required: true, + serialized_name: 'username', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'password', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.rb new file mode 100644 index 0000000000..61ad67ca0c --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/ip_address.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # IP address for the container group. + # + class IpAddress + + include MsRestAzure + + # @return [Array] The list of ports exposed on the container group. + attr_accessor :ports + + # @return [ContainerGroupIpAddressType] Specifies if the IP is exposed to + # the public internet or private VNET. Possible values include: 'Public', + # 'Private' + attr_accessor :type + + # @return [String] The IP exposed to the public internet. + attr_accessor :ip + + # @return [String] The Dns name label for the IP. + attr_accessor :dns_name_label + + # @return [String] The FQDN for the IP. + attr_accessor :fqdn + + + # + # Mapper for IpAddress class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IpAddress', + type: { + name: 'Composite', + class_name: 'IpAddress', + model_properties: { + ports: { + required: true, + serialized_name: 'ports', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PortElementType', + type: { + name: 'Composite', + class_name: 'Port' + } + } + } + }, + type: { + required: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + ip: { + required: false, + serialized_name: 'ip', + type: { + name: 'String' + } + }, + dns_name_label: { + required: false, + serialized_name: 'dnsNameLabel', + type: { + name: 'String' + } + }, + fqdn: { + required: false, + read_only: true, + serialized_name: 'fqdn', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.rb new file mode 100644 index 0000000000..3de51fb3e3 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Container group log analytics information. + # + class LogAnalytics + + include MsRestAzure + + # @return [String] The workspace id for log analytics + attr_accessor :workspace_id + + # @return [String] The workspace key for log analytics + attr_accessor :workspace_key + + # @return [LogAnalyticsLogType] The log type to be used. Possible values + # include: 'ContainerInsights', 'ContainerInstanceLogs' + attr_accessor :log_type + + # @return [Hash{String => String}] Metadata for log analytics. + attr_accessor :metadata + + + # + # Mapper for LogAnalytics class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LogAnalytics', + type: { + name: 'Composite', + class_name: 'LogAnalytics', + model_properties: { + workspace_id: { + required: true, + serialized_name: 'workspaceId', + type: { + name: 'String' + } + }, + workspace_key: { + required: true, + serialized_name: 'workspaceKey', + type: { + name: 'String' + } + }, + log_type: { + required: false, + serialized_name: 'logType', + type: { + name: 'String' + } + }, + metadata: { + required: false, + serialized_name: 'metadata', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb new file mode 100644 index 0000000000..612774a4b5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/log_analytics_log_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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for LogAnalyticsLogType + # + module LogAnalyticsLogType + ContainerInsights = "ContainerInsights" + ContainerInstanceLogs = "ContainerInstanceLogs" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/logs.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/logs.rb new file mode 100644 index 0000000000..08b5e8993b --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/logs.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The logs. + # + class Logs + + include MsRestAzure + + # @return [String] The content of the log. + attr_accessor :content + + + # + # Mapper for Logs class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Logs', + type: { + name: 'Composite', + class_name: 'Logs', + model_properties: { + content: { + required: false, + serialized_name: 'content', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb new file mode 100644 index 0000000000..ebcb8d37f2 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operating_system_types.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for OperatingSystemTypes + # + module OperatingSystemTypes + Windows = "Windows" + Linux = "Linux" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb new file mode 100644 index 0000000000..df6e260961 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation.rb @@ -0,0 +1,66 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # An operation for Azure Container Instance service. + # + class Operation + + include MsRestAzure + + # @return [String] The name of the operation. + attr_accessor :name + + # @return [OperationDisplay] The display information of the operation. + attr_accessor :display + + # @return [ContainerInstanceOperationsOrigin] The intended executor of + # the operation. Possible values include: 'User', 'System' + attr_accessor :origin + + + # + # 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: true, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationDisplay' + } + }, + origin: { + required: false, + serialized_name: 'origin', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_display.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_display.rb new file mode 100644 index 0000000000..63529962e7 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The display information of the operation. + # + class OperationDisplay + + include MsRestAzure + + # @return [String] The name of the provider of the operation. + attr_accessor :provider + + # @return [String] The name of the resource type of the operation. + attr_accessor :resource + + # @return [String] The friendly name of the operation. + attr_accessor :operation + + # @return [String] The description of the operation. + attr_accessor :description + + + # + # Mapper for OperationDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation_display', + type: { + name: 'Composite', + class_name: 'OperationDisplay', + model_properties: { + provider: { + required: false, + 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_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb new file mode 100644 index 0000000000..0563660efe --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb @@ -0,0 +1,63 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The operation list response that contains all operations for Azure + # Container Instance service. + # + class OperationListResult + + include MsRestAzure + + # @return [Array] The list of operations. + attr_accessor :value + + # @return [String] The URI to fetch the next page of operations. + attr_accessor :next_link + + + # + # Mapper for OperationListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationListResult', + type: { + name: 'Composite', + class_name: 'OperationListResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/port.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/port.rb new file mode 100644 index 0000000000..079d365b3f --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/port.rb @@ -0,0 +1,55 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The port exposed on the container group. + # + class Port + + include MsRestAzure + + # @return [ContainerGroupNetworkProtocol] The protocol associated with + # the port. Possible values include: 'TCP', 'UDP' + attr_accessor :protocol + + # @return [Integer] The port number. + attr_accessor :port + + + # + # Mapper for Port class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Port', + type: { + name: 'Composite', + class_name: 'Port', + model_properties: { + protocol: { + required: false, + serialized_name: 'protocol', + type: { + name: 'String' + } + }, + port: { + required: true, + serialized_name: 'port', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb new file mode 100644 index 0000000000..544733def6 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The Resource model definition. + # + class Resource + + include MsRestAzure + + # @return [String] The resource id. + attr_accessor :id + + # @return [String] The resource name. + attr_accessor :name + + # @return [String] The resource type. + attr_accessor :type + + # @return [String] The resource location. + attr_accessor :location + + # @return [Hash{String => String}] The resource tags. + attr_accessor :tags + + + # + # Mapper for Resource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Resource', + type: { + name: 'Composite', + class_name: 'Resource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb new file mode 100644 index 0000000000..59a072f09e --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_identity_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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # Defines values for ResourceIdentityType + # + module ResourceIdentityType + SystemAssigned = "SystemAssigned" + UserAssigned = "UserAssigned" + SystemAssignedUserAssigned = "SystemAssigned, UserAssigned" + None = "None" + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.rb new file mode 100644 index 0000000000..8f19bdce88 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_limits.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The resource limits. + # + class ResourceLimits + + include MsRestAzure + + # @return [Float] The memory limit in GB of this container instance. + attr_accessor :memory_in_gb + + # @return [Float] The CPU limit of this container instance. + attr_accessor :cpu + + # @return [GpuResource] The GPU limit of this container instance. + attr_accessor :gpu + + + # + # Mapper for ResourceLimits class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceLimits', + type: { + name: 'Composite', + class_name: 'ResourceLimits', + model_properties: { + memory_in_gb: { + required: false, + serialized_name: 'memoryInGB', + type: { + name: 'Double' + } + }, + cpu: { + required: false, + serialized_name: 'cpu', + type: { + name: 'Double' + } + }, + gpu: { + required: false, + serialized_name: 'gpu', + type: { + name: 'Composite', + class_name: 'GpuResource' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.rb new file mode 100644 index 0000000000..c54be90e33 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requests.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The resource requests. + # + class ResourceRequests + + include MsRestAzure + + # @return [Float] The memory request in GB of this container instance. + attr_accessor :memory_in_gb + + # @return [Float] The CPU request of this container instance. + attr_accessor :cpu + + # @return [GpuResource] The GPU request of this container instance. + attr_accessor :gpu + + + # + # Mapper for ResourceRequests class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceRequests', + type: { + name: 'Composite', + class_name: 'ResourceRequests', + model_properties: { + memory_in_gb: { + required: true, + serialized_name: 'memoryInGB', + type: { + name: 'Double' + } + }, + cpu: { + required: true, + serialized_name: 'cpu', + type: { + name: 'Double' + } + }, + gpu: { + required: false, + serialized_name: 'gpu', + type: { + name: 'Composite', + class_name: 'GpuResource' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb new file mode 100644 index 0000000000..119c27236d --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/resource_requirements.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The resource requirements. + # + class ResourceRequirements + + include MsRestAzure + + # @return [ResourceRequests] The resource requests of this container + # instance. + attr_accessor :requests + + # @return [ResourceLimits] The resource limits of this container + # instance. + attr_accessor :limits + + + # + # Mapper for ResourceRequirements class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResourceRequirements', + type: { + name: 'Composite', + class_name: 'ResourceRequirements', + model_properties: { + requests: { + required: true, + serialized_name: 'requests', + type: { + name: 'Composite', + class_name: 'ResourceRequests' + } + }, + limits: { + required: false, + serialized_name: 'limits', + type: { + name: 'Composite', + class_name: 'ResourceLimits' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage.rb new file mode 100644 index 0000000000..cb705472d5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # A single usage result + # + class Usage + + include MsRestAzure + + # @return [String] Unit of the usage result + attr_accessor :unit + + # @return [Integer] The current usage of the resource + attr_accessor :current_value + + # @return [Integer] The maximum permitted usage of the resource. + attr_accessor :limit + + # @return [UsageName] The name object of the resource + attr_accessor :name + + + # + # Mapper for Usage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Usage', + type: { + name: 'Composite', + class_name: 'Usage', + model_properties: { + unit: { + required: false, + read_only: true, + serialized_name: 'unit', + type: { + name: 'String' + } + }, + current_value: { + required: false, + read_only: true, + serialized_name: 'currentValue', + type: { + name: 'Number' + } + }, + limit: { + required: false, + read_only: true, + serialized_name: 'limit', + type: { + name: 'Number' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'Composite', + class_name: 'UsageName' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb new file mode 100644 index 0000000000..3a62f2e775 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb @@ -0,0 +1,53 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The response containing the usage data + # + class UsageListResult + + include MsRestAzure + + # @return [Array] + attr_accessor :value + + + # + # Mapper for UsageListResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UsageListResult', + type: { + name: 'Composite', + class_name: 'UsageListResult', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'UsageElementType', + type: { + name: 'Composite', + class_name: 'Usage' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.rb new file mode 100644 index 0000000000..97e1816769 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/usage_name.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::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The name object of the resource + # + class UsageName + + include MsRestAzure + + # @return [String] The name of the resource + attr_accessor :value + + # @return [String] The localized name of the resource + attr_accessor :localized_value + + + # + # Mapper for UsageName class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Usage_name', + type: { + name: 'Composite', + class_name: 'UsageName', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'String' + } + }, + localized_value: { + required: false, + read_only: true, + serialized_name: 'localizedValue', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb new file mode 100644 index 0000000000..8c098dd155 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume.rb @@ -0,0 +1,93 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The properties of the volume. + # + class Volume + + include MsRestAzure + + # @return [String] The name of the volume. + attr_accessor :name + + # @return [AzureFileVolume] The Azure File volume. + attr_accessor :azure_file + + # @return The empty directory volume. + attr_accessor :empty_dir + + # @return [Hash{String => String}] The secret volume. + attr_accessor :secret + + # @return [GitRepoVolume] The git repo volume. + attr_accessor :git_repo + + + # + # Mapper for Volume class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Volume', + type: { + name: 'Composite', + class_name: 'Volume', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + azure_file: { + required: false, + serialized_name: 'azureFile', + type: { + name: 'Composite', + class_name: 'AzureFileVolume' + } + }, + empty_dir: { + required: false, + serialized_name: 'emptyDir', + type: { + name: 'Object' + } + }, + secret: { + required: false, + serialized_name: 'secret', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + git_repo: { + required: false, + serialized_name: 'gitRepo', + type: { + name: 'Composite', + class_name: 'GitRepoVolume' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb new file mode 100644 index 0000000000..2401baa0a5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/models/volume_mount.rb @@ -0,0 +1,66 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + module Models + # + # The properties of the volume mount. + # + class VolumeMount + + include MsRestAzure + + # @return [String] The name of the volume mount. + attr_accessor :name + + # @return [String] The path within the container where the volume should + # be mounted. Must not contain colon (:). + attr_accessor :mount_path + + # @return [Boolean] The flag indicating whether the volume mount is + # read-only. + attr_accessor :read_only + + + # + # Mapper for VolumeMount class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VolumeMount', + type: { + name: 'Composite', + class_name: 'VolumeMount', + model_properties: { + name: { + required: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + mount_path: { + required: true, + serialized_name: 'mountPath', + type: { + name: 'String' + } + }, + read_only: { + required: false, + serialized_name: 'readOnly', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/module_definition.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/module_definition.rb new file mode 100644 index 0000000000..6d1f2b4958 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/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::ContainerInstance end +module Azure::ContainerInstance::Mgmt end +module Azure::ContainerInstance::Mgmt::V2018_10_01 end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.rb new file mode 100644 index 0000000000..025ba422a5 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/operations.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::ContainerInstance::Mgmt::V2018_10_01 + # + # Operations + # + class Operations + include MsRestAzure + + # + # Creates and initializes a new instance of the Operations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # List the operations for Azure Container Instance service. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationListResult] operation results. + # + def list(custom_headers = nil) + response = list_async(custom_headers).value! + response.body unless response.nil? + end + + # + # List the operations for Azure Container Instance service. + # + # @param custom_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 the operations for Azure Container Instance service. + # + # @param [Hash{String => String}] 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.ContainerInstance/operations' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::OperationListResult.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb new file mode 100644 index 0000000000..2639c2db71 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb @@ -0,0 +1,118 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + # + # ServiceAssociationLink + # + class ServiceAssociationLink + include MsRestAzure + + # + # Creates and initializes a new instance of the ServiceAssociationLink class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [ContainerInstanceManagementClient] reference to the ContainerInstanceManagementClient + attr_reader :client + + # + # Delete the container instance service association link for the subnet. + # + # Delete the container instance service association link for the subnet. This + # operation unblocks user from deleting subnet. + # + # @param resource_group_name [String] The name of the resource group. + # @param virtual_network_name [String] The name of the virtual network. + # @param subnet_name [String] The name of the subnet. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! + nil + end + + # + # Delete the container instance service association link for the subnet. + # + # Delete the container instance service association link for the subnet. This + # operation unblocks user from deleting subnet. + # + # @param resource_group_name [String] The name of the resource group. + # @param virtual_network_name [String] The name of the virtual network. + # @param subnet_name [String] The name of the subnet. + # @param custom_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, virtual_network_name, subnet_name, custom_headers = nil) + delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! + end + + # + # Delete the container instance service association link for the subnet. + # + # Delete the container instance service association link for the subnet. This + # operation unblocks user from deleting subnet. + # + # @param resource_group_name [String] The name of the resource group. + # @param virtual_network_name [String] The name of the virtual network. + # @param subnet_name [String] The name of the subnet. + # @param [Hash{String => String}] 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, virtual_network_name, subnet_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, 'virtual_network_name is nil' if virtual_network_name.nil? + fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? + + + request_headers = {} + + # Set 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.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default' + + 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,'virtualNetworkName' => virtual_network_name,'subnetName' => subnet_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:delete, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 204 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + end +end diff --git a/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/version.rb b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/version.rb new file mode 100644 index 0000000000..85d1e953a9 --- /dev/null +++ b/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::ContainerInstance::Mgmt::V2018_10_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb b/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb index e0ff201431..45f038d409 100644 --- a/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb +++ b/management/azure_mgmt_container_instance/lib/azure_mgmt_container_instance.rb @@ -2,10 +2,12 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -require '2017-08-01-preview/generated/azure_mgmt_container_instance' +require '2018-10-01/generated/azure_mgmt_container_instance' +require '2018-02-01-preview/generated/azure_mgmt_container_instance' require '2018-06-01/generated/azure_mgmt_container_instance' +require '2017-08-01-preview/generated/azure_mgmt_container_instance' +require '2017-10-01-preview/generated/azure_mgmt_container_instance' require '2018-04-01/generated/azure_mgmt_container_instance' +require '2018-09-01/generated/azure_mgmt_container_instance' require '2017-12-01-preview/generated/azure_mgmt_container_instance' -require '2018-02-01-preview/generated/azure_mgmt_container_instance' -require '2017-10-01-preview/generated/azure_mgmt_container_instance' require 'profiles/latest/containerinstance_latest_profile_client'