azure_mgmt_notification_hubs 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb +61 -0
  3. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/hubs.rb +3 -3
  4. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/access_rights.rb +1 -1
  5. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/adm_credential.rb +1 -1
  6. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/apns_credential.rb +1 -1
  7. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/baidu_credential.rb +1 -1
  8. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +1 -1
  9. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_availability_result.rb +1 -1
  10. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb +1 -1
  11. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_name_availability_response.rb +1 -1
  12. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/gcm_credential.rb +1 -1
  13. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/mpns_credential.rb +1 -1
  14. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +1 -1
  15. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_list_result.rb +1 -1
  16. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +1 -1
  17. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_resource.rb +1 -1
  18. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_type.rb +1 -1
  19. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +1 -1
  20. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +1 -1
  21. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +1 -1
  22. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +1 -1
  23. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/policykey_resource.rb +1 -1
  24. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/resource.rb +1 -1
  25. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/resource_list_keys.rb +1 -1
  26. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +1 -1
  27. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +1 -1
  28. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +1 -1
  29. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +1 -1
  30. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sku.rb +1 -1
  31. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sku_name.rb +1 -1
  32. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sub_resource.rb +1 -1
  33. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/wns_credential.rb +1 -1
  34. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/module_definition.rb +3 -2
  35. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/name.rb +3 -3
  36. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/namespaces.rb +21 -21
  37. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/notification_hubs.rb +18 -18
  38. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +3 -3
  39. data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/version.rb +2 -2
  40. data/lib/azure_mgmt_notification_hubs.rb +2 -1
  41. data/lib/module_definition.rb +8 -0
  42. data/lib/profiles/common/configurable.rb +73 -0
  43. data/lib/profiles/common/default.rb +68 -0
  44. data/lib/profiles/latest/modules/notificationhubs_profile_module.rb +168 -0
  45. data/lib/profiles/latest/notificationhubs_latest_profile_client.rb +33 -0
  46. data/lib/profiles/latest/notificationhubs_module_definition.rb +9 -0
  47. data/lib/version.rb +7 -0
  48. metadata +47 -40
  49. data/lib/generated/azure_mgmt_notification_hubs.rb +0 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a6c147dda7ab8c4bed671ccf1aa27be992a22e7
4
- data.tar.gz: 541627b9040c450f7d6f034a5a45000dcf70d319
3
+ metadata.gz: 84f50c0f97cb5069ed444213d00e080b0b41d450
4
+ data.tar.gz: 239eeefc7327de37adcc49f3d2cad36aa3e73055
5
5
  SHA512:
6
- metadata.gz: b7db03d582e54538a5b87d758b12cec5b61fa546524e30bb0f2784de1f8e1361cb9194531f9c8cff682e4392a6fc2fb22ddf8fe08da85b085886a2864aed76d9
7
- data.tar.gz: f0c52a4ff5ded44ac662789e57ce5e1318f41ee0ff7cae82383721663ceda4d3c32eef772627667a045cb8f315d64d3d852d87ccf0af6174d25a276cb01dade2
6
+ metadata.gz: cf01361b9343411ac164f9f640076ac5b6e2c90c214ac342fb5973b44eba5732f16325f461f77ac972b4206c44e089da5daf956ed85e9ee6b4d28aba75f40a37
7
+ data.tar.gz: 52972cd77341268405acd71289e9f45bc80418b8e0e900f00cd9ecadbf185d129ed45e2d8b989e098a858595d8430f95b11f8db6ef14416165fa18d8dbae3c5e
@@ -0,0 +1,61 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2017-04-01/generated/azure_mgmt_notification_hubs/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
23
+ autoload :Namespaces, '2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb'
24
+ autoload :Name, '2017-04-01/generated/azure_mgmt_notification_hubs/name.rb'
25
+ autoload :NotificationHubs, '2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb'
26
+ autoload :Hubs, '2017-04-01/generated/azure_mgmt_notification_hubs/hubs.rb'
27
+ autoload :NotificationHubsManagementClient, '2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb'
28
+
29
+ module Models
30
+ autoload :ResourceListKeys, '2017-04-01/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
31
+ autoload :PolicykeyResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb'
32
+ autoload :CheckNameAvailabilityResponse, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb'
33
+ autoload :ApnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
34
+ autoload :CheckAvailabilityParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
35
+ autoload :WnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
36
+ autoload :CheckNameAvailabilityRequestParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb'
37
+ autoload :NamespacePatchParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb'
38
+ autoload :Sku, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sku.rb'
39
+ autoload :SharedAccessAuthorizationRuleProperties, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
40
+ autoload :SubResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sub_resource.rb'
41
+ autoload :BaiduCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
42
+ autoload :NamespaceListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb'
43
+ autoload :NotificationHubListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
44
+ autoload :GcmCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb'
45
+ autoload :SharedAccessAuthorizationRuleListResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
46
+ autoload :MpnsCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb'
47
+ autoload :Resource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb'
48
+ autoload :AdmCredential, '2017-04-01/generated/azure_mgmt_notification_hubs/models/adm_credential.rb'
49
+ autoload :CheckAvailabilityResult, '2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb'
50
+ autoload :NamespaceCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
51
+ autoload :NamespaceResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb'
52
+ autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb'
53
+ autoload :SharedAccessAuthorizationRuleResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb'
54
+ autoload :NotificationHubCreateOrUpdateParameters, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb'
55
+ autoload :NotificationHubResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb'
56
+ autoload :PnsCredentialsResource, '2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb'
57
+ autoload :SkuName, '2017-04-01/generated/azure_mgmt_notification_hubs/models/sku_name.rb'
58
+ autoload :NamespaceType, '2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_type.rb'
59
+ autoload :AccessRights, '2017-04-01/generated/azure_mgmt_notification_hubs/models/access_rights.rb'
60
+ end
61
+ end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  #
8
8
  # Azure NotificationHub client
9
9
  #
@@ -83,7 +83,7 @@ module Azure::ARM::NotificationHubs
83
83
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
84
84
 
85
85
  # Serialize Request
86
- request_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityRequestParameters.mapper()
86
+ request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters.mapper()
87
87
  request_content = @client.serialize(request_mapper, parameters)
88
88
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
89
89
 
@@ -115,7 +115,7 @@ module Azure::ARM::NotificationHubs
115
115
  if status_code == 200
116
116
  begin
117
117
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
118
- result_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityResponse.mapper()
118
+ result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse.mapper()
119
119
  result.body = @client.deserialize(result_mapper, parsed_response)
120
120
  rescue Exception => e
121
121
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for AccessRights
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub AdmCredential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub ApnsCredential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub BaiduCredential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the Check Name Availability for Namespace and
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a CheckAvailibility resource.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the Check Name Availability for Namespace and
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Model object.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub GcmCredential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub MpnsCredential.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate Namespace operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The response of the List Namespace operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the Patch Namespace operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a Namespace resource.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for NamespaceType
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate NotificationHub operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The response of the List NotificationHub operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub Resource.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub PNS Credentials.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Namespace/NotificationHub Regenerate Keys
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Model object.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Namespace/NotificationHub Connection String
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The response of the List Namespace operation.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # SharedAccessAuthorizationRule properties.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a Namespace AuthorizationRules.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # The Sku description for a namespace
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Defines values for SkuName
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Model object.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  module Models
8
8
  #
9
9
  # Description of a NotificationHub WnsCredential.
@@ -4,5 +4,6 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure end
7
- module Azure::ARM end
8
- module Azure::ARM::NotificationHubs end
7
+ module Azure::NotificationHubs end
8
+ module Azure::NotificationHubs::Mgmt end
9
+ module Azure::NotificationHubs::Mgmt::V2017_04_01 end
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::NotificationHubs
6
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
7
  #
8
8
  # Azure NotificationHub client
9
9
  #
@@ -81,7 +81,7 @@ module Azure::ARM::NotificationHubs
81
81
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
82
82
 
83
83
  # Serialize Request
84
- request_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityRequestParameters.mapper()
84
+ request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters.mapper()
85
85
  request_content = @client.serialize(request_mapper, parameters)
86
86
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
87
87
 
@@ -113,7 +113,7 @@ module Azure::ARM::NotificationHubs
113
113
  if status_code == 200
114
114
  begin
115
115
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
116
- result_mapper = Azure::ARM::NotificationHubs::Models::CheckNameAvailabilityResponse.mapper()
116
+ result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse.mapper()
117
117
  result.body = @client.deserialize(result_mapper, parsed_response)
118
118
  rescue Exception => e
119
119
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)