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

[AutoPR cdn/resource-manager] [Portal Generated] Review request for Microsoft.Cdn to add version 2017-10-12 #1974

Closed
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
80 changes: 40 additions & 40 deletions azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,23 @@ module Mgmt
CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability

module Models
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus
ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType
ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode
ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName
ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
CognitiveServicesAccountUpdateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
Expand All @@ -32,20 +38,14 @@ module Models
OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
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
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
Expand Down Expand Up @@ -81,15 +81,30 @@ def method_missing(method, *args)
end

class ModelClasses
def sku_tier
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
def metric_name
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
end
def resource_sku_restrictions_reason_code
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode
def cognitive_services_resource_and_sku
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
end
def resource_sku_restriction_info
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
end
def unit_type
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
end
def key_name
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
end
def quota_usage_status
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus
end
def resource_sku_restrictions_type
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType
end
def resource_sku_restrictions_reason_code
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode
end
def provisioning_state
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
end
Expand All @@ -111,8 +126,11 @@ def resource_skus_result
def kind
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
end
def error_body
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
def sku_tier
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
end
def sku
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
end
def cognitive_services_account_update_parameters
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters
Expand All @@ -138,12 +156,12 @@ def cognitive_services_account_enumerate_skus_result
def check_sku_availability_parameter
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
end
def sku
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
end
def check_sku_availability_result
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
end
def error_body
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
end
def cognitive_services_account_create_parameters
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters
end
Expand All @@ -153,33 +171,15 @@ def check_sku_availability_result_list
def cognitive_services_account_keys
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
end
def resource_sku_restriction_info
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
end
def metric_name
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
def error
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
end
def cognitive_services_account
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
end
def usages_result
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
end
def cognitive_services_resource_and_sku
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
end
def key_name
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
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
Expand Down
14 changes: 7 additions & 7 deletions azure_sdk/lib/latest/modules/commerce_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
module Azure::Profiles::Latest
module Commerce
module Mgmt
UsageAggregates = Azure::Commerce::Mgmt::V2015_06_01_preview::UsageAggregates
RateCard = Azure::Commerce::Mgmt::V2015_06_01_preview::RateCard
UsageAggregates = Azure::Commerce::Mgmt::V2015_06_01_preview::UsageAggregates

module Models
MeterInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo
Expand All @@ -18,15 +18,15 @@ module Models
UsageAggregationListResult = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult
OfferTermInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo
RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters
ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit
MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment
RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge
ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity
end

class CommerceManagementClass
attr_reader :usage_aggregates, :rate_card, :configurable, :base_url, :options, :model_classes
attr_reader :rate_card, :usage_aggregates, :configurable, :base_url, :options, :model_classes

def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
Expand All @@ -36,8 +36,8 @@ def initialize(configurable, base_url=nil, options=nil)
@client_0.subscription_id = configurable.subscription_id
end
add_telemetry(@client_0)
@usage_aggregates = @client_0.usage_aggregates
@rate_card = @client_0.rate_card
@usage_aggregates = @client_0.usage_aggregates

@model_classes = ModelClasses.new
end
Expand Down Expand Up @@ -77,9 +77,6 @@ def offer_term_info
def rate_card_query_parameters
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters
end
def error_response
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
end
def monetary_credit
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit
end
Expand All @@ -89,6 +86,9 @@ def monetary_commitment
def recurring_charge
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge
end
def error_response
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
end
def aggregation_granularity
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity
end
Expand Down
Loading