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.
- checksums.yaml +4 -4
- data/lib/2017-04-01/generated/azure_mgmt_notification_hubs.rb +61 -0
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/hubs.rb +3 -3
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/access_rights.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/adm_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/apns_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/baidu_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_availability_result.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/check_name_availability_response.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/gcm_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/mpns_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_list_result.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/namespace_type.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/policykey_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/resource_list_keys.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sku.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sku_name.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/sub_resource.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/models/wns_credential.rb +1 -1
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/module_definition.rb +3 -2
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/name.rb +3 -3
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/namespaces.rb +21 -21
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/notification_hubs.rb +18 -18
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +3 -3
- data/lib/{generated → 2017-04-01/generated}/azure_mgmt_notification_hubs/version.rb +2 -2
- data/lib/azure_mgmt_notification_hubs.rb +2 -1
- data/lib/module_definition.rb +8 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/notificationhubs_profile_module.rb +168 -0
- data/lib/profiles/latest/notificationhubs_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/notificationhubs_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +47 -40
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f50c0f97cb5069ed444213d00e080b0b41d450
|
4
|
+
data.tar.gz: 239eeefc7327de37adcc49f3d2cad36aa3e73055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|