azure_mgmt_notification_hubs 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_notification_hubs.gemspec +35 -0
- data/lib/azure_mgmt_notification_hubs.rb +57 -0
- data/lib/azure_mgmt_notification_hubs/models/access_rights.rb +17 -0
- data/lib/azure_mgmt_notification_hubs/models/adm_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/adm_credential_properties.rb +74 -0
- data/lib/azure_mgmt_notification_hubs/models/apns_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/apns_credential_properties.rb +83 -0
- data/lib/azure_mgmt_notification_hubs/models/baidu_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb +74 -0
- data/lib/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +86 -0
- data/lib/azure_mgmt_notification_hubs/models/check_availability_resource.rb +102 -0
- data/lib/azure_mgmt_notification_hubs/models/gcm_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb +65 -0
- data/lib/azure_mgmt_notification_hubs/models/mpns_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb +74 -0
- data/lib/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +83 -0
- data/lib/azure_mgmt_notification_hubs/models/namespace_list_result.rb +87 -0
- data/lib/azure_mgmt_notification_hubs/models/namespace_properties.rb +159 -0
- data/lib/azure_mgmt_notification_hubs/models/namespace_resource.rb +108 -0
- data/lib/azure_mgmt_notification_hubs/models/namespace_type.rb +16 -0
- data/lib/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +84 -0
- data/lib/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +87 -0
- data/lib/azure_mgmt_notification_hubs/models/notification_hub_properties.rb +197 -0
- data/lib/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +111 -0
- data/lib/azure_mgmt_notification_hubs/models/resource_list_keys.rb +67 -0
- data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +83 -0
- data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +87 -0
- data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +145 -0
- data/lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +113 -0
- data/lib/azure_mgmt_notification_hubs/models/wns_credential.rb +63 -0
- data/lib/azure_mgmt_notification_hubs/models/wns_credential_properties.rb +74 -0
- data/lib/azure_mgmt_notification_hubs/module_definition.rb +8 -0
- data/lib/azure_mgmt_notification_hubs/namespaces.rb +1012 -0
- data/lib/azure_mgmt_notification_hubs/notification_hubs.rb +896 -0
- data/lib/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +72 -0
- data/lib/azure_mgmt_notification_hubs/version.rb +8 -0
- metadata +167 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::NotificationHubs
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class NotificationHubsManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include Azure::ARM::NotificationHubs::Models
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Gets Azure subscription credentials.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Gets subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client Api Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] Gets or sets the preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] Gets or sets the retry timeout in seconds for Long
|
32
|
+
# Running Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
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.
|
37
|
+
attr_accessor :generate_client_request_id
|
38
|
+
|
39
|
+
# @return Subscription credentials which uniquely identify client
|
40
|
+
# subscription.
|
41
|
+
attr_accessor :credentials
|
42
|
+
|
43
|
+
# @return namespaces
|
44
|
+
attr_reader :namespaces
|
45
|
+
|
46
|
+
# @return notification_hubs
|
47
|
+
attr_reader :notification_hubs
|
48
|
+
|
49
|
+
#
|
50
|
+
# Creates initializes a new instance of the NotificationHubsManagementClient class.
|
51
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
52
|
+
# @param base_url [String] the base URI of the service.
|
53
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
54
|
+
#
|
55
|
+
def initialize(credentials, base_url = nil, options = nil)
|
56
|
+
super(credentials, options)
|
57
|
+
@base_url = base_url || 'https://management.azure.com'
|
58
|
+
|
59
|
+
fail ArgumentError, 'credentials is nil' if credentials.nil?
|
60
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
61
|
+
@credentials = credentials
|
62
|
+
|
63
|
+
@namespaces = Namespaces.new(self)
|
64
|
+
@notification_hubs = NotificationHubs.new(self)
|
65
|
+
@api_version = '2014-09-01'
|
66
|
+
@accept_language = 'en-US'
|
67
|
+
@long_running_operation_retry_timeout = 30
|
68
|
+
@generate_client_request_id = true
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
end
|
metadata
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: azure_mgmt_notification_hubs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Microsoft Corporation
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: dotenv
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: azure_mgmt_resources
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ms_rest_azure
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.2.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.2.0
|
97
|
+
description: Microsoft Azure Notification Hubs Management Client Library for Ruby
|
98
|
+
email: azrubyteam@microsoft.com
|
99
|
+
executables: []
|
100
|
+
extensions: []
|
101
|
+
extra_rdoc_files: []
|
102
|
+
files:
|
103
|
+
- ".rspec"
|
104
|
+
- LICENSE.txt
|
105
|
+
- Rakefile
|
106
|
+
- azure_mgmt_notification_hubs.gemspec
|
107
|
+
- lib/azure_mgmt_notification_hubs.rb
|
108
|
+
- lib/azure_mgmt_notification_hubs/models/access_rights.rb
|
109
|
+
- lib/azure_mgmt_notification_hubs/models/adm_credential.rb
|
110
|
+
- lib/azure_mgmt_notification_hubs/models/adm_credential_properties.rb
|
111
|
+
- lib/azure_mgmt_notification_hubs/models/apns_credential.rb
|
112
|
+
- lib/azure_mgmt_notification_hubs/models/apns_credential_properties.rb
|
113
|
+
- lib/azure_mgmt_notification_hubs/models/baidu_credential.rb
|
114
|
+
- lib/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb
|
115
|
+
- lib/azure_mgmt_notification_hubs/models/check_availability_parameters.rb
|
116
|
+
- lib/azure_mgmt_notification_hubs/models/check_availability_resource.rb
|
117
|
+
- lib/azure_mgmt_notification_hubs/models/gcm_credential.rb
|
118
|
+
- lib/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb
|
119
|
+
- lib/azure_mgmt_notification_hubs/models/mpns_credential.rb
|
120
|
+
- lib/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb
|
121
|
+
- lib/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb
|
122
|
+
- lib/azure_mgmt_notification_hubs/models/namespace_list_result.rb
|
123
|
+
- lib/azure_mgmt_notification_hubs/models/namespace_properties.rb
|
124
|
+
- lib/azure_mgmt_notification_hubs/models/namespace_resource.rb
|
125
|
+
- lib/azure_mgmt_notification_hubs/models/namespace_type.rb
|
126
|
+
- lib/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb
|
127
|
+
- lib/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb
|
128
|
+
- lib/azure_mgmt_notification_hubs/models/notification_hub_properties.rb
|
129
|
+
- lib/azure_mgmt_notification_hubs/models/notification_hub_resource.rb
|
130
|
+
- lib/azure_mgmt_notification_hubs/models/resource_list_keys.rb
|
131
|
+
- lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb
|
132
|
+
- lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb
|
133
|
+
- lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb
|
134
|
+
- lib/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb
|
135
|
+
- lib/azure_mgmt_notification_hubs/models/wns_credential.rb
|
136
|
+
- lib/azure_mgmt_notification_hubs/models/wns_credential_properties.rb
|
137
|
+
- lib/azure_mgmt_notification_hubs/module_definition.rb
|
138
|
+
- lib/azure_mgmt_notification_hubs/namespaces.rb
|
139
|
+
- lib/azure_mgmt_notification_hubs/notification_hubs.rb
|
140
|
+
- lib/azure_mgmt_notification_hubs/notification_hubs_management_client.rb
|
141
|
+
- lib/azure_mgmt_notification_hubs/version.rb
|
142
|
+
homepage: http://github.com/azure/azure-sdk-for-ruby
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata: {}
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
149
|
+
- lib
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 1.9.3
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.4.6
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: Official Ruby client library to consume Microsoft Azure Notification Hubs
|
166
|
+
Management services.
|
167
|
+
test_files: []
|