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

[AutoPR eventhub/resource-manager] Event Hubs 2018-01-01: renamed and added VirtualNetworkRules and IPFilterRules #1416

Merged
Merged
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
64 changes: 41 additions & 23 deletions azure_sdk/lib/latest/modules/eventhub_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,36 @@ module Mgmt
DisasterRecoveryConfigs = Azure::EventHub::Mgmt::V2017_04_01::DisasterRecoveryConfigs
EventHubs = Azure::EventHub::Mgmt::V2017_04_01::EventHubs
ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups
Regions = Azure::EventHub::Mgmt::V2017_04_01::Regions

module Models
MessagingRegionsProperties = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
Resource = Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
ErrorResponse = Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
MessagingRegionsListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
EHNamespaceListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespaceListResult
CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
Sku = Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
TrackedResource = Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
EHNamespace = Azure::EventHub::Mgmt::V2017_04_01::Models::EHNamespace
AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
MessagingRegions = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
MessagingPlan = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingPlan
SkuName = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
SkuTier = Azure::EventHub::Mgmt::V2017_04_01::Models::SkuTier
AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
Expand All @@ -49,7 +54,7 @@ module Models
end

class EventHubManagementClass
attr_reader :operations, :namespaces, :disaster_recovery_configs, :event_hubs, :consumer_groups, :configurable, :base_url, :options, :model_classes
attr_reader :operations, :namespaces, :disaster_recovery_configs, :event_hubs, :consumer_groups, :regions, :configurable, :base_url, :options, :model_classes

def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
Expand All @@ -64,6 +69,7 @@ def initialize(configurable, base_url=nil, options=nil)
@disaster_recovery_configs = @client_0.disaster_recovery_configs
@event_hubs = @client_0.event_hubs
@consumer_groups = @client_0.consumer_groups
@regions = @client_0.regions

@model_classes = ModelClasses.new
end
Expand All @@ -82,41 +88,35 @@ def method_missing(method, *args)
end

class ModelClasses
def messaging_regions_properties
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
end
def capture_description
Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
end
def destination
Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
end
def resource
Azure::EventHub::Mgmt::V2017_04_01::Models::Resource
end
def operation
Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
end
def error_response
Azure::EventHub::Mgmt::V2017_04_01::Models::ErrorResponse
end
def operation_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
def arm_disaster_recovery_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
end
def event_hub_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
end
def messaging_regions_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
end
def access_keys
Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
end
def arm_disaster_recovery_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
end
def sku
Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
end
def consumer_group_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
end
def authorization_rule_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
def destination
Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
end
def check_name_availability_parameter
Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
Expand All @@ -133,6 +133,18 @@ def regenerate_access_key_parameters
def operation_display
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
end
def authorization_rule_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
end
def operation
Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
end
def sku
Azure::EventHub::Mgmt::V2017_04_01::Models::Sku
end
def operation_list_result
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
end
def tracked_resource
Azure::EventHub::Mgmt::V2017_04_01::Models::TrackedResource
end
Expand All @@ -151,6 +163,12 @@ def consumer_group
def arm_disaster_recovery
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
end
def messaging_regions
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
end
def messaging_plan
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingPlan
end
def sku_name
Azure::EventHub::Mgmt::V2017_04_01::Models::SkuName
end
Expand Down
Loading