azure_mgmt_service_bus 0.16.0 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
  3. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/namespace_list_result.rb +1 -1
  4. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
  5. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/queue_list_result.rb +1 -1
  6. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/resource.rb +9 -0
  7. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/shared_access_authorization_rule_list_result.rb +1 -1
  8. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/subscription_list_result.rb +1 -1
  9. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_create_or_update_parameters.rb +0 -12
  10. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_list_result.rb +1 -1
  11. data/lib/2015-08-01/generated/azure_mgmt_service_bus/models/topic_resource.rb +0 -12
  12. data/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb +15 -15
  13. data/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb +126 -15
  14. data/lib/2015-08-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +7 -6
  15. data/lib/2015-08-01/generated/azure_mgmt_service_bus/topics.rb +129 -18
  16. data/lib/2017-04-01/generated/azure_mgmt_service_bus.rb +31 -20
  17. data/lib/2017-04-01/generated/azure_mgmt_service_bus/disaster_recovery_configs.rb +9 -9
  18. data/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb +777 -0
  19. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery.rb +14 -2
  20. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb +1 -1
  21. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb +1 -1
  22. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb +19 -0
  23. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/default_action.rb +16 -0
  24. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/error_response.rb +1 -1
  25. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/event_hub_list_result.rb +1 -1
  26. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_list_result.rb +100 -0
  27. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_properties.rb +123 -0
  28. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/name_space_type.rb +19 -0
  29. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_ipaction.rb +15 -0
  30. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_set.rb +114 -0
  31. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb +59 -0
  32. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_virtual_network_rules.rb +59 -0
  33. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb +1 -1
  34. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb +1 -1
  35. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb +1 -1
  36. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/resource.rb +9 -0
  37. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/rule_list_result.rb +1 -1
  38. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb +1 -1
  39. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace.rb +1 -1
  40. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +1 -1
  41. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_migrate.rb +48 -0
  42. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +1 -1
  43. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue.rb +12 -0
  44. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue_list_result.rb +1 -1
  45. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription_list_result.rb +1 -1
  46. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic.rb +1 -1
  47. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic_list_result.rb +1 -1
  48. data/lib/2017-04-01/generated/azure_mgmt_service_bus/models/subnet.rb +46 -0
  49. data/lib/2017-04-01/generated/azure_mgmt_service_bus/namespaces.rb +326 -15
  50. data/lib/2017-04-01/generated/azure_mgmt_service_bus/queues.rb +51 -23
  51. data/lib/2017-04-01/generated/azure_mgmt_service_bus/rules.rb +36 -8
  52. data/lib/2017-04-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb +11 -6
  53. data/lib/2017-04-01/generated/azure_mgmt_service_bus/subscriptions.rb +36 -8
  54. data/lib/2017-04-01/generated/azure_mgmt_service_bus/topics.rb +54 -26
  55. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus.rb +53 -0
  56. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/default_action.rb +16 -0
  57. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/error_response.rb +58 -0
  58. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ip_filter_rule.rb +96 -0
  59. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ip_filter_rule_list_result.rb +100 -0
  60. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/ipaction.rb +16 -0
  61. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/network_rule_ipaction.rb +15 -0
  62. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/network_rule_set.rb +114 -0
  63. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb +58 -0
  64. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/nwrule_set_virtual_network_rules.rb +59 -0
  65. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation.rb +59 -0
  66. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation_display.rb +72 -0
  67. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/operation_list_result.rb +103 -0
  68. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/resource.rb +80 -0
  69. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb +92 -0
  70. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace.rb +171 -0
  71. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb +99 -0
  72. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbnamespace_update_parameters.rb +171 -0
  73. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sbsku.rb +73 -0
  74. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sku_name.rb +17 -0
  75. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/sku_tier.rb +17 -0
  76. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/subnet.rb +46 -0
  77. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/tracked_resource.rb +92 -0
  78. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/virtual_network_rule.rb +73 -0
  79. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/models/virtual_network_rule_list_result.rb +100 -0
  80. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/module_definition.rb +9 -0
  81. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/namespaces.rb +2211 -0
  82. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/operations.rb +216 -0
  83. data/lib/2018-01-01-preview/generated/azure_mgmt_service_bus/service_bus_management_client.rb +137 -0
  84. data/lib/azure_mgmt_service_bus.rb +2 -1
  85. data/lib/profiles/latest/modules/servicebus_profile_module.rb +107 -65
  86. data/lib/version.rb +1 -1
  87. metadata +45 -5
@@ -25,15 +25,16 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
25
25
  # @return [String] Client API version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Operations] operations
@@ -141,7 +142,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
141
142
  #
142
143
  def add_telemetry
143
144
  sdk_information = 'azure_mgmt_service_bus'
144
- sdk_information = "#{sdk_information}/0.16.0"
145
+ sdk_information = "#{sdk_information}/0.17.4"
145
146
  add_user_agent_information(sdk_information)
146
147
  end
147
148
  end
@@ -544,13 +544,13 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
544
544
  end
545
545
 
546
546
  #
547
- # Creates an authorizatio rule for the specified topic.
547
+ # Creates an authorization rule for the specified topic.
548
548
  #
549
549
  # @param resource_group_name [String] Name of the Resource group within the
550
550
  # Azure subscription.
551
551
  # @param namespace_name [String] The namespace name
552
552
  # @param topic_name [String] The topic name.
553
- # @param authorization_rule_name [String] The authorizationrule name.
553
+ # @param authorization_rule_name [String] The authorization rule name.
554
554
  # @param parameters [SharedAccessAuthorizationRuleCreateOrUpdateParameters] The
555
555
  # shared access authorization rule.
556
556
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -564,13 +564,13 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
564
564
  end
565
565
 
566
566
  #
567
- # Creates an authorizatio rule for the specified topic.
567
+ # Creates an authorization rule for the specified topic.
568
568
  #
569
569
  # @param resource_group_name [String] Name of the Resource group within the
570
570
  # Azure subscription.
571
571
  # @param namespace_name [String] The namespace name
572
572
  # @param topic_name [String] The topic name.
573
- # @param authorization_rule_name [String] The authorizationrule name.
573
+ # @param authorization_rule_name [String] The authorization rule name.
574
574
  # @param parameters [SharedAccessAuthorizationRuleCreateOrUpdateParameters] The
575
575
  # shared access authorization rule.
576
576
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -583,13 +583,13 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
583
583
  end
584
584
 
585
585
  #
586
- # Creates an authorizatio rule for the specified topic.
586
+ # Creates an authorization rule for the specified topic.
587
587
  #
588
588
  # @param resource_group_name [String] Name of the Resource group within the
589
589
  # Azure subscription.
590
590
  # @param namespace_name [String] The namespace name
591
591
  # @param topic_name [String] The topic name.
592
- # @param authorization_rule_name [String] The authorizationrule name.
592
+ # @param authorization_rule_name [String] The authorization rule name.
593
593
  # @param parameters [SharedAccessAuthorizationRuleCreateOrUpdateParameters] The
594
594
  # shared access authorization rule.
595
595
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -675,7 +675,118 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
675
675
  # Azure subscription.
676
676
  # @param namespace_name [String] The namespace name
677
677
  # @param topic_name [String] The topic name.
678
- # @param authorization_rule_name [String] The authorizationrule name.
678
+ # @param authorization_rule_name [String] The authorization rule name.
679
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
680
+ # will be added to the HTTP request.
681
+ #
682
+ # @return [SharedAccessAuthorizationRuleResource] operation results.
683
+ #
684
+ def post_authorization_rule(resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers:nil)
685
+ response = post_authorization_rule_async(resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers:custom_headers).value!
686
+ response.body unless response.nil?
687
+ end
688
+
689
+ #
690
+ # Returns the specified authorization rule.
691
+ #
692
+ # @param resource_group_name [String] Name of the Resource group within the
693
+ # Azure subscription.
694
+ # @param namespace_name [String] The namespace name
695
+ # @param topic_name [String] The topic name.
696
+ # @param authorization_rule_name [String] The authorization rule name.
697
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
698
+ # will be added to the HTTP request.
699
+ #
700
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
701
+ #
702
+ def post_authorization_rule_with_http_info(resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers:nil)
703
+ post_authorization_rule_async(resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers:custom_headers).value!
704
+ end
705
+
706
+ #
707
+ # Returns the specified authorization rule.
708
+ #
709
+ # @param resource_group_name [String] Name of the Resource group within the
710
+ # Azure subscription.
711
+ # @param namespace_name [String] The namespace name
712
+ # @param topic_name [String] The topic name.
713
+ # @param authorization_rule_name [String] The authorization rule name.
714
+ # @param [Hash{String => String}] A hash of custom headers that will be added
715
+ # to the HTTP request.
716
+ #
717
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
718
+ #
719
+ def post_authorization_rule_async(resource_group_name, namespace_name, topic_name, authorization_rule_name, custom_headers:nil)
720
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
721
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
722
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
723
+ fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
724
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MaxLength': '50'" if !namespace_name.nil? && namespace_name.length > 50
725
+ fail ArgumentError, "'namespace_name' should satisfy the constraint - 'MinLength': '6'" if !namespace_name.nil? && namespace_name.length < 6
726
+ fail ArgumentError, 'topic_name is nil' if topic_name.nil?
727
+ fail ArgumentError, "'topic_name' should satisfy the constraint - 'MaxLength': '50'" if !topic_name.nil? && topic_name.length > 50
728
+ fail ArgumentError, "'topic_name' should satisfy the constraint - 'MinLength': '1'" if !topic_name.nil? && topic_name.length < 1
729
+ fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
730
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MaxLength': '50'" if !authorization_rule_name.nil? && authorization_rule_name.length > 50
731
+ fail ArgumentError, "'authorization_rule_name' should satisfy the constraint - 'MinLength': '1'" if !authorization_rule_name.nil? && authorization_rule_name.length < 1
732
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
733
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
734
+
735
+
736
+ request_headers = {}
737
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
738
+
739
+ # Set Headers
740
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
741
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
742
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}'
743
+
744
+ request_url = @base_url || @client.base_url
745
+
746
+ options = {
747
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
748
+ path_params: {'resourceGroupName' => resource_group_name,'namespaceName' => namespace_name,'topicName' => topic_name,'authorizationRuleName' => authorization_rule_name,'subscriptionId' => @client.subscription_id},
749
+ query_params: {'api-version' => @client.api_version},
750
+ headers: request_headers.merge(custom_headers || {}),
751
+ base_url: request_url
752
+ }
753
+ promise = @client.make_request_async(:post, path_template, options)
754
+
755
+ promise = promise.then do |result|
756
+ http_response = result.response
757
+ status_code = http_response.status
758
+ response_content = http_response.body
759
+ unless status_code == 200
760
+ error_model = JSON.load(response_content)
761
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
762
+ end
763
+
764
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
765
+ # Deserialize Response
766
+ if status_code == 200
767
+ begin
768
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
769
+ result_mapper = Azure::ServiceBus::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleResource.mapper()
770
+ result.body = @client.deserialize(result_mapper, parsed_response)
771
+ rescue Exception => e
772
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
773
+ end
774
+ end
775
+
776
+ result
777
+ end
778
+
779
+ promise.execute
780
+ end
781
+
782
+ #
783
+ # Returns the specified authorization rule.
784
+ #
785
+ # @param resource_group_name [String] Name of the Resource group within the
786
+ # Azure subscription.
787
+ # @param namespace_name [String] The namespace name
788
+ # @param topic_name [String] The topic name.
789
+ # @param authorization_rule_name [String] The authorization rule name.
679
790
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
680
791
  # will be added to the HTTP request.
681
792
  #
@@ -693,7 +804,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
693
804
  # Azure subscription.
694
805
  # @param namespace_name [String] The namespace name
695
806
  # @param topic_name [String] The topic name.
696
- # @param authorization_rule_name [String] The authorizationrule name.
807
+ # @param authorization_rule_name [String] The authorization rule name.
697
808
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
698
809
  # will be added to the HTTP request.
699
810
  #
@@ -710,7 +821,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
710
821
  # Azure subscription.
711
822
  # @param namespace_name [String] The namespace name
712
823
  # @param topic_name [String] The topic name.
713
- # @param authorization_rule_name [String] The authorizationrule name.
824
+ # @param authorization_rule_name [String] The authorization rule name.
714
825
  # @param [Hash{String => String}] A hash of custom headers that will be added
715
826
  # to the HTTP request.
716
827
  #
@@ -786,7 +897,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
786
897
  # Azure subscription.
787
898
  # @param namespace_name [String] The namespace name
788
899
  # @param topic_name [String] The topic name.
789
- # @param authorization_rule_name [String] The authorizationrule name.
900
+ # @param authorization_rule_name [String] The authorization rule name.
790
901
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
791
902
  # will be added to the HTTP request.
792
903
  #
@@ -803,7 +914,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
803
914
  # Azure subscription.
804
915
  # @param namespace_name [String] The namespace name
805
916
  # @param topic_name [String] The topic name.
806
- # @param authorization_rule_name [String] The authorizationrule name.
917
+ # @param authorization_rule_name [String] The authorization rule name.
807
918
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
808
919
  # will be added to the HTTP request.
809
920
  #
@@ -820,7 +931,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
820
931
  # Azure subscription.
821
932
  # @param namespace_name [String] The namespace name
822
933
  # @param topic_name [String] The topic name.
823
- # @param authorization_rule_name [String] The authorizationrule name.
934
+ # @param authorization_rule_name [String] The authorization rule name.
824
935
  # @param [Hash{String => String}] A hash of custom headers that will be added
825
936
  # to the HTTP request.
826
937
  #
@@ -886,7 +997,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
886
997
  # Azure subscription.
887
998
  # @param namespace_name [String] The namespace name
888
999
  # @param topic_name [String] The topic name.
889
- # @param authorization_rule_name [String] The authorizationrule name.
1000
+ # @param authorization_rule_name [String] The authorization rule name.
890
1001
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
891
1002
  # will be added to the HTTP request.
892
1003
  #
@@ -904,7 +1015,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
904
1015
  # Azure subscription.
905
1016
  # @param namespace_name [String] The namespace name
906
1017
  # @param topic_name [String] The topic name.
907
- # @param authorization_rule_name [String] The authorizationrule name.
1018
+ # @param authorization_rule_name [String] The authorization rule name.
908
1019
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
909
1020
  # will be added to the HTTP request.
910
1021
  #
@@ -921,7 +1032,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
921
1032
  # Azure subscription.
922
1033
  # @param namespace_name [String] The namespace name
923
1034
  # @param topic_name [String] The topic name.
924
- # @param authorization_rule_name [String] The authorizationrule name.
1035
+ # @param authorization_rule_name [String] The authorization rule name.
925
1036
  # @param [Hash{String => String}] A hash of custom headers that will be added
926
1037
  # to the HTTP request.
927
1038
  #
@@ -997,7 +1108,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
997
1108
  # Azure subscription.
998
1109
  # @param namespace_name [String] The namespace name
999
1110
  # @param topic_name [String] The topic name.
1000
- # @param authorization_rule_name [String] The authorizationrule name.
1111
+ # @param authorization_rule_name [String] The authorization rule name.
1001
1112
  # @param parameters [RegenerateKeysParameters] Parameters supplied to
1002
1113
  # regenerate the authorization rule.
1003
1114
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1017,7 +1128,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
1017
1128
  # Azure subscription.
1018
1129
  # @param namespace_name [String] The namespace name
1019
1130
  # @param topic_name [String] The topic name.
1020
- # @param authorization_rule_name [String] The authorizationrule name.
1131
+ # @param authorization_rule_name [String] The authorization rule name.
1021
1132
  # @param parameters [RegenerateKeysParameters] Parameters supplied to
1022
1133
  # regenerate the authorization rule.
1023
1134
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -1036,7 +1147,7 @@ module Azure::ServiceBus::Mgmt::V2015_08_01
1036
1147
  # Azure subscription.
1037
1148
  # @param namespace_name [String] The namespace name
1038
1149
  # @param topic_name [String] The topic name.
1039
- # @param authorization_rule_name [String] The authorizationrule name.
1150
+ # @param authorization_rule_name [String] The authorization rule name.
1040
1151
  # @param parameters [RegenerateKeysParameters] Parameters supplied to
1041
1152
  # regenerate the authorization rule.
1042
1153
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -23,6 +23,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
23
23
  autoload :Operations, '2017-04-01/generated/azure_mgmt_service_bus/operations.rb'
24
24
  autoload :Namespaces, '2017-04-01/generated/azure_mgmt_service_bus/namespaces.rb'
25
25
  autoload :DisasterRecoveryConfigs, '2017-04-01/generated/azure_mgmt_service_bus/disaster_recovery_configs.rb'
26
+ autoload :MigrationConfigs, '2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb'
26
27
  autoload :Queues, '2017-04-01/generated/azure_mgmt_service_bus/queues.rb'
27
28
  autoload :Topics, '2017-04-01/generated/azure_mgmt_service_bus/topics.rb'
28
29
  autoload :Subscriptions, '2017-04-01/generated/azure_mgmt_service_bus/subscriptions.rb'
@@ -33,33 +34,38 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
33
34
  autoload :ServiceBusManagementClient, '2017-04-01/generated/azure_mgmt_service_bus/service_bus_management_client.rb'
34
35
 
35
36
  module Models
36
- autoload :CheckNameAvailabilityResult, '2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb'
37
- autoload :SBQueueListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue_list_result.rb'
37
+ autoload :Operation, '2017-04-01/generated/azure_mgmt_service_bus/models/operation.rb'
38
+ autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb'
38
39
  autoload :Resource, '2017-04-01/generated/azure_mgmt_service_bus/models/resource.rb'
39
- autoload :PremiumMessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb'
40
+ autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_service_bus/models/error_response.rb'
40
41
  autoload :SBSku, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsku.rb'
41
- autoload :SBTopicListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic_list_result.rb'
42
+ autoload :Action, '2017-04-01/generated/azure_mgmt_service_bus/models/action.rb'
42
43
  autoload :SBNamespaceListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_list_result.rb'
43
- autoload :PremiumMessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_properties.rb'
44
+ autoload :SqlFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/sql_filter.rb'
45
+ autoload :SBNamespaceMigrate, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace_migrate.rb'
46
+ autoload :CorrelationFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb'
47
+ autoload :SBAuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb'
48
+ autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_display.rb'
49
+ autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_service_bus/models/access_keys.rb'
50
+ autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb'
51
+ autoload :PremiumMessagingRegionsListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_list_result.rb'
52
+ autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb'
53
+ autoload :NWRuleSetIpRules, '2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_ip_rules.rb'
54
+ autoload :MigrationConfigListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_list_result.rb'
55
+ autoload :Subnet, '2017-04-01/generated/azure_mgmt_service_bus/models/subnet.rb'
56
+ autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/event_hub_list_result.rb'
44
57
  autoload :CaptureDescription, '2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb'
45
- autoload :SBSubscriptionListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription_list_result.rb'
46
- autoload :AuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb'
47
58
  autoload :CheckNameAvailability, '2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability.rb'
48
- autoload :RegenerateAccessKeyParameters, '2017-04-01/generated/azure_mgmt_service_bus/models/regenerate_access_key_parameters.rb'
49
- autoload :RuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/rule_list_result.rb'
50
59
  autoload :Destination, '2017-04-01/generated/azure_mgmt_service_bus/models/destination.rb'
51
- autoload :OperationDisplay, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_display.rb'
52
- autoload :ArmDisasterRecoveryListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery_list_result.rb'
53
- autoload :Operation, '2017-04-01/generated/azure_mgmt_service_bus/models/operation.rb'
54
- autoload :SBAuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbauthorization_rule_list_result.rb'
55
- autoload :OperationListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/operation_list_result.rb'
56
60
  autoload :MessageCountDetails, '2017-04-01/generated/azure_mgmt_service_bus/models/message_count_details.rb'
57
- autoload :ErrorResponse, '2017-04-01/generated/azure_mgmt_service_bus/models/error_response.rb'
58
- autoload :EventHubListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/event_hub_list_result.rb'
59
- autoload :Action, '2017-04-01/generated/azure_mgmt_service_bus/models/action.rb'
60
- autoload :SqlFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/sql_filter.rb'
61
- autoload :AccessKeys, '2017-04-01/generated/azure_mgmt_service_bus/models/access_keys.rb'
62
- autoload :CorrelationFilter, '2017-04-01/generated/azure_mgmt_service_bus/models/correlation_filter.rb'
61
+ autoload :AuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/authorization_rule_properties.rb'
62
+ autoload :SBTopicListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbtopic_list_result.rb'
63
+ autoload :CheckNameAvailabilityResult, '2017-04-01/generated/azure_mgmt_service_bus/models/check_name_availability_result.rb'
64
+ autoload :RuleListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/rule_list_result.rb'
65
+ autoload :SBSubscriptionListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbsubscription_list_result.rb'
66
+ autoload :NWRuleSetVirtualNetworkRules, '2017-04-01/generated/azure_mgmt_service_bus/models/nwrule_set_virtual_network_rules.rb'
67
+ autoload :SBQueueListResult, '2017-04-01/generated/azure_mgmt_service_bus/models/sbqueue_list_result.rb'
68
+ autoload :PremiumMessagingRegionsProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions_properties.rb'
63
69
  autoload :TrackedResource, '2017-04-01/generated/azure_mgmt_service_bus/models/tracked_resource.rb'
64
70
  autoload :ResourceNamespacePatch, '2017-04-01/generated/azure_mgmt_service_bus/models/resource_namespace_patch.rb'
65
71
  autoload :SBNamespace, '2017-04-01/generated/azure_mgmt_service_bus/models/sbnamespace.rb'
@@ -73,8 +79,11 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
73
79
  autoload :PremiumMessagingRegions, '2017-04-01/generated/azure_mgmt_service_bus/models/premium_messaging_regions.rb'
74
80
  autoload :Eventhub, '2017-04-01/generated/azure_mgmt_service_bus/models/eventhub.rb'
75
81
  autoload :ArmDisasterRecovery, '2017-04-01/generated/azure_mgmt_service_bus/models/arm_disaster_recovery.rb'
82
+ autoload :MigrationConfigProperties, '2017-04-01/generated/azure_mgmt_service_bus/models/migration_config_properties.rb'
83
+ autoload :NetworkRuleSet, '2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_set.rb'
76
84
  autoload :SkuName, '2017-04-01/generated/azure_mgmt_service_bus/models/sku_name.rb'
77
85
  autoload :SkuTier, '2017-04-01/generated/azure_mgmt_service_bus/models/sku_tier.rb'
86
+ autoload :NameSpaceType, '2017-04-01/generated/azure_mgmt_service_bus/models/name_space_type.rb'
78
87
  autoload :AccessRights, '2017-04-01/generated/azure_mgmt_service_bus/models/access_rights.rb'
79
88
  autoload :KeyType, '2017-04-01/generated/azure_mgmt_service_bus/models/key_type.rb'
80
89
  autoload :EntityStatus, '2017-04-01/generated/azure_mgmt_service_bus/models/entity_status.rb'
@@ -83,5 +92,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
83
92
  autoload :EncodingCaptureDescription, '2017-04-01/generated/azure_mgmt_service_bus/models/encoding_capture_description.rb'
84
93
  autoload :ProvisioningStateDR, '2017-04-01/generated/azure_mgmt_service_bus/models/provisioning_state_dr.rb'
85
94
  autoload :RoleDisasterRecovery, '2017-04-01/generated/azure_mgmt_service_bus/models/role_disaster_recovery.rb'
95
+ autoload :NetworkRuleIPAction, '2017-04-01/generated/azure_mgmt_service_bus/models/network_rule_ipaction.rb'
96
+ autoload :DefaultAction, '2017-04-01/generated/azure_mgmt_service_bus/models/default_action.rb'
86
97
  end
87
98
  end
@@ -652,7 +652,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
652
652
  end
653
653
 
654
654
  #
655
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
655
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
656
656
  # namespace
657
657
  #
658
658
  # @param resource_group_name [String] Name of the Resource group within the
@@ -669,7 +669,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
669
669
  end
670
670
 
671
671
  #
672
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
672
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
673
673
  # namespace
674
674
  #
675
675
  # @param resource_group_name [String] Name of the Resource group within the
@@ -686,7 +686,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
686
686
  end
687
687
 
688
688
  #
689
- # envokes GEO DR failover and reconfigure the alias to point to the secondary
689
+ # Invokes GEO DR failover and reconfigure the alias to point to the secondary
690
690
  # namespace
691
691
  #
692
692
  # @param resource_group_name [String] Name of the Resource group within the
@@ -860,7 +860,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
860
860
  # Azure subscription.
861
861
  # @param namespace_name [String] The namespace name
862
862
  # @param alias_parameter [String] The Disaster Recovery configuration name
863
- # @param authorization_rule_name [String] The authorizationrule name.
863
+ # @param authorization_rule_name [String] The authorization rule name.
864
864
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
865
865
  # will be added to the HTTP request.
866
866
  #
@@ -878,7 +878,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
878
878
  # Azure subscription.
879
879
  # @param namespace_name [String] The namespace name
880
880
  # @param alias_parameter [String] The Disaster Recovery configuration name
881
- # @param authorization_rule_name [String] The authorizationrule name.
881
+ # @param authorization_rule_name [String] The authorization rule name.
882
882
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
883
883
  # will be added to the HTTP request.
884
884
  #
@@ -895,7 +895,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
895
895
  # Azure subscription.
896
896
  # @param namespace_name [String] The namespace name
897
897
  # @param alias_parameter [String] The Disaster Recovery configuration name
898
- # @param authorization_rule_name [String] The authorizationrule name.
898
+ # @param authorization_rule_name [String] The authorization rule name.
899
899
  # @param [Hash{String => String}] A hash of custom headers that will be added
900
900
  # to the HTTP request.
901
901
  #
@@ -971,7 +971,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
971
971
  # Azure subscription.
972
972
  # @param namespace_name [String] The namespace name
973
973
  # @param alias_parameter [String] The Disaster Recovery configuration name
974
- # @param authorization_rule_name [String] The authorizationrule name.
974
+ # @param authorization_rule_name [String] The authorization rule name.
975
975
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
976
976
  # will be added to the HTTP request.
977
977
  #
@@ -989,7 +989,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
989
989
  # Azure subscription.
990
990
  # @param namespace_name [String] The namespace name
991
991
  # @param alias_parameter [String] The Disaster Recovery configuration name
992
- # @param authorization_rule_name [String] The authorizationrule name.
992
+ # @param authorization_rule_name [String] The authorization rule name.
993
993
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
994
994
  # will be added to the HTTP request.
995
995
  #
@@ -1006,7 +1006,7 @@ module Azure::ServiceBus::Mgmt::V2017_04_01
1006
1006
  # Azure subscription.
1007
1007
  # @param namespace_name [String] The namespace name
1008
1008
  # @param alias_parameter [String] The Disaster Recovery configuration name
1009
- # @param authorization_rule_name [String] The authorizationrule name.
1009
+ # @param authorization_rule_name [String] The authorization rule name.
1010
1010
  # @param [Hash{String => String}] A hash of custom headers that will be added
1011
1011
  # to the HTTP request.
1012
1012
  #