azure_mgmt_notification_hubs 0.16.0 → 0.17.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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb +15 -12
  3. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +1 -1
  4. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb +1 -1
  5. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/debug_send_response.rb +128 -0
  6. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/error_response.rb +58 -0
  7. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +35 -1
  8. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +35 -1
  9. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +1 -1
  10. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_patch_parameters.rb +216 -0
  11. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +1 -1
  12. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/{check_name_availability_request_parameters.rb → operation.rb} +15 -15
  13. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/{check_name_availability_response.rb → operation_display.rb} +22 -21
  14. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/operation_list_result.rb +103 -0
  15. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +1 -1
  16. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/resource.rb +1 -1
  17. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +1 -61
  18. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +98 -0
  19. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +99 -1
  20. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/namespaces.rb +7 -7
  21. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb +228 -6
  22. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +11 -14
  23. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/operations.rb +215 -0
  24. data/lib/profiles/latest/modules/notificationhubs_profile_module.rb +53 -39
  25. data/lib/version.rb +1 -1
  26. metadata +12 -9
  27. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/hubs.rb +0 -131
  28. data/lib/2017-04-01/generated/azure_mgmt_notification_hubs/name.rb +0 -129
@@ -25,29 +25,27 @@ module Azure::NotificationHubs::Mgmt::V2017_04_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
 
40
+ # @return [Operations] operations
41
+ attr_reader :operations
42
+
39
43
  # @return [Namespaces] namespaces
40
44
  attr_reader :namespaces
41
45
 
42
- # @return [Name] name
43
- attr_reader :name
44
-
45
46
  # @return [NotificationHubs] notification_hubs
46
47
  attr_reader :notification_hubs
47
48
 
48
- # @return [Hubs] hubs
49
- attr_reader :hubs
50
-
51
49
  #
52
50
  # Creates initializes a new instance of the NotificationHubsManagementClient class.
53
51
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
@@ -61,10 +59,9 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
61
59
  fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
62
60
  @credentials = credentials
63
61
 
62
+ @operations = Operations.new(self)
64
63
  @namespaces = Namespaces.new(self)
65
- @name = Name.new(self)
66
64
  @notification_hubs = NotificationHubs.new(self)
67
- @hubs = Hubs.new(self)
68
65
  @api_version = '2017-04-01'
69
66
  @accept_language = 'en-US'
70
67
  @long_running_operation_retry_timeout = 30
@@ -137,7 +134,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
137
134
  #
138
135
  def add_telemetry
139
136
  sdk_information = 'azure_mgmt_notification_hubs'
140
- sdk_information = "#{sdk_information}/0.16.0"
137
+ sdk_information = "#{sdk_information}/0.17.0"
141
138
  add_user_agent_information(sdk_information)
142
139
  end
143
140
  end
@@ -0,0 +1,215 @@
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
+ module Azure::NotificationHubs::Mgmt::V2017_04_01
7
+ #
8
+ # Azure NotificationHub client
9
+ #
10
+ class Operations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Operations class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [NotificationHubsManagementClient] reference to the NotificationHubsManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Lists all of the available NotificationHubs REST API operations.
26
+ #
27
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
28
+ # will be added to the HTTP request.
29
+ #
30
+ # @return [Array<Operation>] operation results.
31
+ #
32
+ def list(custom_headers:nil)
33
+ first_page = list_as_lazy(custom_headers:custom_headers)
34
+ first_page.get_all_items
35
+ end
36
+
37
+ #
38
+ # Lists all of the available NotificationHubs REST API operations.
39
+ #
40
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
41
+ # will be added to the HTTP request.
42
+ #
43
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
+ #
45
+ def list_with_http_info(custom_headers:nil)
46
+ list_async(custom_headers:custom_headers).value!
47
+ end
48
+
49
+ #
50
+ # Lists all of the available NotificationHubs REST API operations.
51
+ #
52
+ # @param [Hash{String => String}] A hash of custom headers that will be added
53
+ # to the HTTP request.
54
+ #
55
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
+ #
57
+ def list_async(custom_headers:nil)
58
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
59
+
60
+
61
+ request_headers = {}
62
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
63
+
64
+ # Set Headers
65
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
66
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
67
+ path_template = 'providers/Microsoft.NotificationHubs/operations'
68
+
69
+ request_url = @base_url || @client.base_url
70
+
71
+ options = {
72
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
73
+ query_params: {'api-version' => @client.api_version},
74
+ headers: request_headers.merge(custom_headers || {}),
75
+ base_url: request_url
76
+ }
77
+ promise = @client.make_request_async(:get, path_template, options)
78
+
79
+ promise = promise.then do |result|
80
+ http_response = result.response
81
+ status_code = http_response.status
82
+ response_content = http_response.body
83
+ unless status_code == 200
84
+ error_model = JSON.load(response_content)
85
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
86
+ end
87
+
88
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
89
+ # Deserialize Response
90
+ if status_code == 200
91
+ begin
92
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
93
+ result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult.mapper()
94
+ result.body = @client.deserialize(result_mapper, parsed_response)
95
+ rescue Exception => e
96
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
97
+ end
98
+ end
99
+
100
+ result
101
+ end
102
+
103
+ promise.execute
104
+ end
105
+
106
+ #
107
+ # Lists all of the available NotificationHubs REST API operations.
108
+ #
109
+ # @param next_page_link [String] The NextLink from the previous successful call
110
+ # to List operation.
111
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
112
+ # will be added to the HTTP request.
113
+ #
114
+ # @return [OperationListResult] operation results.
115
+ #
116
+ def list_next(next_page_link, custom_headers:nil)
117
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
118
+ response.body unless response.nil?
119
+ end
120
+
121
+ #
122
+ # Lists all of the available NotificationHubs REST API operations.
123
+ #
124
+ # @param next_page_link [String] The NextLink from the previous successful call
125
+ # to List operation.
126
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
127
+ # will be added to the HTTP request.
128
+ #
129
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
130
+ #
131
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
132
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
133
+ end
134
+
135
+ #
136
+ # Lists all of the available NotificationHubs REST API operations.
137
+ #
138
+ # @param next_page_link [String] The NextLink from the previous successful call
139
+ # to List operation.
140
+ # @param [Hash{String => String}] A hash of custom headers that will be added
141
+ # to the HTTP request.
142
+ #
143
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
144
+ #
145
+ def list_next_async(next_page_link, custom_headers:nil)
146
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
147
+
148
+
149
+ request_headers = {}
150
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
151
+
152
+ # Set Headers
153
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
154
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
155
+ path_template = '{nextLink}'
156
+
157
+ request_url = @base_url || @client.base_url
158
+
159
+ options = {
160
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
161
+ skip_encoding_path_params: {'nextLink' => next_page_link},
162
+ headers: request_headers.merge(custom_headers || {}),
163
+ base_url: request_url
164
+ }
165
+ promise = @client.make_request_async(:get, path_template, options)
166
+
167
+ promise = promise.then do |result|
168
+ http_response = result.response
169
+ status_code = http_response.status
170
+ response_content = http_response.body
171
+ unless status_code == 200
172
+ error_model = JSON.load(response_content)
173
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
174
+ end
175
+
176
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
177
+ # Deserialize Response
178
+ if status_code == 200
179
+ begin
180
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
181
+ result_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult.mapper()
182
+ result.body = @client.deserialize(result_mapper, parsed_response)
183
+ rescue Exception => e
184
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
185
+ end
186
+ end
187
+
188
+ result
189
+ end
190
+
191
+ promise.execute
192
+ end
193
+
194
+ #
195
+ # Lists all of the available NotificationHubs REST API operations.
196
+ #
197
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
198
+ # will be added to the HTTP request.
199
+ #
200
+ # @return [OperationListResult] which provide lazy access to pages of the
201
+ # response.
202
+ #
203
+ def list_as_lazy(custom_headers:nil)
204
+ response = list_async(custom_headers:custom_headers).value!
205
+ unless response.nil?
206
+ page = response.body
207
+ page.next_method = Proc.new do |next_page_link|
208
+ list_next_async(next_page_link, custom_headers:custom_headers)
209
+ end
210
+ page
211
+ end
212
+ end
213
+
214
+ end
215
+ end
@@ -6,38 +6,41 @@ require 'azure_mgmt_notification_hubs'
6
6
 
7
7
  module Azure::NotificationHubs::Profiles::Latest
8
8
  module Mgmt
9
+ Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations
9
10
  Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces
10
- Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name
11
11
  NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs
12
- Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs
13
12
 
14
13
  module Models
15
14
  ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
16
15
  PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
17
- CheckNameAvailabilityResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse
16
+ Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
18
17
  ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
19
- CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
18
+ ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
20
19
  WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
21
- CheckNameAvailabilityRequestParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters
22
- NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
20
+ CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
21
+ GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
22
+ OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
23
+ OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
23
24
  Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
24
- SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
25
+ SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
25
26
  SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
26
- BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
27
- NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
28
27
  NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
29
- GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
30
28
  SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
31
- MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
32
29
  Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
30
+ SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
31
+ MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
32
+ NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
33
33
  AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
34
+ NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
35
+ BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
34
36
  CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
35
37
  NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
36
38
  NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
37
- SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
38
39
  SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
39
40
  NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
41
+ NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
40
42
  NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
43
+ DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
41
44
  PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
42
45
  SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
43
46
  NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
@@ -48,7 +51,7 @@ module Azure::NotificationHubs::Profiles::Latest
48
51
  # NotificationHubsManagementClass
49
52
  #
50
53
  class NotificationHubsManagementClass
51
- attr_reader :namespaces, :name, :notification_hubs, :hubs, :configurable, :base_url, :options, :model_classes
54
+ attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes
52
55
 
53
56
  def initialize(options = {})
54
57
  if options.is_a?(Hash) && options.length == 0
@@ -68,10 +71,9 @@ module Azure::NotificationHubs::Profiles::Latest
68
71
  @client_0.subscription_id = configurable.subscription_id
69
72
  end
70
73
  add_telemetry(@client_0)
74
+ @operations = @client_0.operations
71
75
  @namespaces = @client_0.namespaces
72
- @name = @client_0.name
73
76
  @notification_hubs = @client_0.notification_hubs
74
- @hubs = @client_0.hubs
75
77
 
76
78
  @model_classes = ModelClasses.new
77
79
  end
@@ -98,57 +100,66 @@ module Azure::NotificationHubs::Profiles::Latest
98
100
  def policykey_resource
99
101
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
100
102
  end
101
- def check_name_availability_response
102
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResponse
103
+ def operation
104
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
103
105
  end
104
106
  def apns_credential
105
107
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
106
108
  end
107
- def check_availability_parameters
108
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
109
+ def error_response
110
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
109
111
  end
110
112
  def wns_credential
111
113
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
112
114
  end
113
- def check_name_availability_request_parameters
114
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters
115
+ def check_availability_parameters
116
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
115
117
  end
116
- def namespace_patch_parameters
117
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
118
+ def gcm_credential
119
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
120
+ end
121
+ def operation_display
122
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
123
+ end
124
+ def operation_list_result
125
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
118
126
  end
119
127
  def sku
120
128
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
121
129
  end
122
- def shared_access_authorization_rule_properties
123
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
130
+ def shared_access_authorization_rule_create_or_update_parameters
131
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
124
132
  end
125
133
  def sub_resource
126
134
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
127
135
  end
128
- def baidu_credential
129
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
130
- end
131
- def namespace_list_result
132
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
133
- end
134
136
  def notification_hub_list_result
135
137
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
136
138
  end
137
- def gcm_credential
138
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
139
- end
140
139
  def shared_access_authorization_rule_list_result
141
140
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
142
141
  end
142
+ def resource
143
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
144
+ end
145
+ def shared_access_authorization_rule_properties
146
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
147
+ end
143
148
  def mpns_credential
144
149
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
145
150
  end
146
- def resource
147
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
151
+ def namespace_patch_parameters
152
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
148
153
  end
149
154
  def adm_credential
150
155
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
151
156
  end
157
+ def namespace_list_result
158
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
159
+ end
160
+ def baidu_credential
161
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
162
+ end
152
163
  def check_availability_result
153
164
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
154
165
  end
@@ -158,18 +169,21 @@ module Azure::NotificationHubs::Profiles::Latest
158
169
  def namespace_resource
159
170
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
160
171
  end
161
- def shared_access_authorization_rule_create_or_update_parameters
162
- Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
163
- end
164
172
  def shared_access_authorization_rule_resource
165
173
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
166
174
  end
167
175
  def notification_hub_create_or_update_parameters
168
176
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
169
177
  end
178
+ def notification_hub_patch_parameters
179
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
180
+ end
170
181
  def notification_hub_resource
171
182
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
172
183
  end
184
+ def debug_send_response
185
+ Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
186
+ end
173
187
  def pns_credentials_resource
174
188
  Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
175
189
  end