Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[AutoPR cost-management/resource-manager] Applying changes for new version of Cost Management APIs 2018-08-31 #1671

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module Mgmt
Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations

module Models
Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource
SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier
State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State
Expand All @@ -37,7 +38,6 @@ module Models
SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult
AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer
ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode
Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
end

class AnalysisServicesManagementClass
Expand Down Expand Up @@ -71,6 +71,9 @@ def method_missing(method, *args)
end

class ModelClasses
def status
Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
end
def resource
Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource
end
Expand Down Expand Up @@ -149,9 +152,6 @@ def analysis_services_server
def connection_mode
Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode
end
def status
Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status
end
end
end
end
Expand Down
50 changes: 25 additions & 25 deletions azure_sdk/lib/latest/modules/apimanagement_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,27 @@
module Azure::Profiles::Latest
module ApiManagement
module Mgmt
ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions
ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy
Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property
QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByCounterKeys
QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_01_01_preview::QuotaByPeriodKeys
Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group
Reports = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Reports
ProductSubscriptions = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductSubscriptions
TagResource = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagResource
Group = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Group
OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations
TagDescription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TagDescription
TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit
OperationOperations = Azure::ApiManagement::Mgmt::V2018_01_01_preview::OperationOperations
TenantAccess = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccess
User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User
DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings
TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantConfiguration
UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription
TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_01_01_preview::TenantAccessGit
UserGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserGroup
ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet
User = Azure::ApiManagement::Mgmt::V2018_01_01_preview::User
UserIdentities = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserIdentities
Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription
UserSubscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::UserSubscription
ApiExport = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiExport
Subscription = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Subscription
ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ApiVersionSet
Policy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Policy
Tag = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Tag
Logger = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Logger
Expand Down Expand Up @@ -57,12 +60,9 @@ module Mgmt
SignInSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignInSettings
SignUpSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::SignUpSettings
Certificate = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Certificate
DelegationSettings = Azure::ApiManagement::Mgmt::V2018_01_01_preview::DelegationSettings
Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product
ProductApi = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductApi
ProductGroup = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductGroup
Product = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Product
ProductPolicy = Azure::ApiManagement::Mgmt::V2018_01_01_preview::ProductPolicy
Property = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Property

module Models
SubscriptionState = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::SubscriptionState
Expand Down Expand Up @@ -266,7 +266,7 @@ module Models
end

class ApiManagementManagementClass
attr_reader :quota_by_counter_keys, :quota_by_period_keys, :reports, :product_subscriptions, :tag_resource, :group, :operation_operations, :tag_description, :tenant_access_git, :tenant_access, :user, :tenant_configuration, :user_subscription, :user_group, :api_version_set, :user_identities, :subscription, :api_export, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :certificate, :delegation_settings, :product_api, :product_group, :product, :product_policy, :property, :configurable, :base_url, :options, :model_classes
attr_reader :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :group, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :delegation_settings, :tenant_configuration, :tenant_access_git, :user_group, :user, :user_identities, :user_subscription, :api_export, :subscription, :api_version_set, :policy, :tag, :logger, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_diagnostic_logger, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :diagnostic_logger, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :certificate, :product, :product_api, :product_group, :configurable, :base_url, :options, :model_classes

def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
Expand All @@ -276,24 +276,27 @@ def initialize(configurable, base_url=nil, options=nil)
@client_0.subscription_id = configurable.subscription_id
end
add_telemetry(@client_0)
@product_subscriptions = @client_0.product_subscriptions
@product_policy = @client_0.product_policy
@property = @client_0.property
@quota_by_counter_keys = @client_0.quota_by_counter_keys
@quota_by_period_keys = @client_0.quota_by_period_keys
@group = @client_0.group
@reports = @client_0.reports
@product_subscriptions = @client_0.product_subscriptions
@tag_resource = @client_0.tag_resource
@group = @client_0.group
@operation_operations = @client_0.operation_operations
@tag_description = @client_0.tag_description
@tenant_access_git = @client_0.tenant_access_git
@operation_operations = @client_0.operation_operations
@tenant_access = @client_0.tenant_access
@user = @client_0.user
@delegation_settings = @client_0.delegation_settings
@tenant_configuration = @client_0.tenant_configuration
@user_subscription = @client_0.user_subscription
@tenant_access_git = @client_0.tenant_access_git
@user_group = @client_0.user_group
@api_version_set = @client_0.api_version_set
@user = @client_0.user
@user_identities = @client_0.user_identities
@subscription = @client_0.subscription
@user_subscription = @client_0.user_subscription
@api_export = @client_0.api_export
@subscription = @client_0.subscription
@api_version_set = @client_0.api_version_set
@policy = @client_0.policy
@tag = @client_0.tag
@logger = @client_0.logger
Expand Down Expand Up @@ -326,12 +329,9 @@ def initialize(configurable, base_url=nil, options=nil)
@sign_in_settings = @client_0.sign_in_settings
@sign_up_settings = @client_0.sign_up_settings
@certificate = @client_0.certificate
@delegation_settings = @client_0.delegation_settings
@product = @client_0.product
@product_api = @client_0.product_api
@product_group = @client_0.product_group
@product = @client_0.product
@product_policy = @client_0.product_policy
@property = @client_0.property

@model_classes = ModelClasses.new
end
Expand Down
14 changes: 7 additions & 7 deletions azure_sdk/lib/latest/modules/authorization_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ module Azure::Profiles::Latest
module Authorization
module Mgmt
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations
Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions
RoleAssignments = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleAssignments
RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations

module Models
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition
ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType
Expand All @@ -32,7 +32,7 @@ module Models
end

class AuthorizationManagementClass
attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes
attr_reader :classic_administrators, :permissions, :role_assignments, :role_definitions, :provider_operations_metadata_operations, :configurable, :base_url, :options, :model_classes

def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
Expand All @@ -49,10 +49,10 @@ def initialize(configurable, base_url=nil, options=nil)
@client_1.subscription_id = configurable.subscription_id
end
add_telemetry(@client_1)
@provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations
@permissions = @client_1.permissions
@role_assignments = @client_1.role_assignments
@role_definitions = @client_1.role_definitions
@provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations

@model_classes = ModelClasses.new
end
Expand All @@ -73,12 +73,12 @@ def method_missing(method, *args)
end

class ModelClasses
def classic_administrator_list_result
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
end
def classic_administrator
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator
end
def classic_administrator_list_result
Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult
end
def role_definition_filter
Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter
end
Expand Down
Loading