azure_mgmt_notification_hubs 0.8.0 → 0.9.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/generated/azure_mgmt_notification_hubs.rb +3 -2
- data/lib/generated/azure_mgmt_notification_hubs/models/resource.rb +91 -0
- data/lib/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +4 -5
- data/lib/generated/azure_mgmt_notification_hubs/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05bfc9af72dfa02b5ee29bd374cba09f9d2046b9
|
4
|
+
data.tar.gz: 5664bf643cc19dd32632a42efe017ff5bd9a7bb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38ddd1db88c90f9e5fa13754014b407158b14d88e85fb151b8399b52152a2f9a72d60d36eada3d5b29549773ec3042c004e5f48e74ed326aa3b3607e47a1cfdb
|
7
|
+
data.tar.gz: 73b215b2140322c39500370c0ee47107d36a76d38ea8e3b506126f593ddb3d3afe473752b30af63d50412a5ed3f6856db5cd1bb6b043fc993ec2675eb7a778cc
|
@@ -27,11 +27,11 @@ module Azure::ARM::NotificationHubs
|
|
27
27
|
module Models
|
28
28
|
autoload :PolicykeyResource, 'generated/azure_mgmt_notification_hubs/models/policykey_resource.rb'
|
29
29
|
autoload :ApnsCredential, 'generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
|
30
|
-
autoload :
|
30
|
+
autoload :CheckAvailabilityParameters, 'generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
|
31
31
|
autoload :WnsCredential, 'generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
|
32
32
|
autoload :ResourceListKeys, 'generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
|
33
33
|
autoload :NamespacePatchParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb'
|
34
|
-
autoload :
|
34
|
+
autoload :Sku, 'generated/azure_mgmt_notification_hubs/models/sku.rb'
|
35
35
|
autoload :SharedAccessAuthorizationRuleProperties, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
|
36
36
|
autoload :BaiduCredential, 'generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
|
37
37
|
autoload :NamespaceListResult, 'generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb'
|
@@ -39,6 +39,7 @@ module Azure::ARM::NotificationHubs
|
|
39
39
|
autoload :GcmCredential, 'generated/azure_mgmt_notification_hubs/models/gcm_credential.rb'
|
40
40
|
autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
|
41
41
|
autoload :MpnsCredential, 'generated/azure_mgmt_notification_hubs/models/mpns_credential.rb'
|
42
|
+
autoload :Resource, 'generated/azure_mgmt_notification_hubs/models/resource.rb'
|
42
43
|
autoload :AdmCredential, 'generated/azure_mgmt_notification_hubs/models/adm_credential.rb'
|
43
44
|
autoload :CheckAvailabilityResult, 'generated/azure_mgmt_notification_hubs/models/check_availability_result.rb'
|
44
45
|
autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Resource < MsRestAzure::Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Sku] The sku of the created namespace
|
17
|
+
attr_accessor :sku
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for Resource class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'Resource',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'Resource',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
required: false,
|
34
|
+
read_only: true,
|
35
|
+
serialized_name: 'id',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
},
|
40
|
+
name: {
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'type',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
location: {
|
57
|
+
required: true,
|
58
|
+
serialized_name: 'location',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
tags: {
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'StringElementType',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
},
|
77
|
+
sku: {
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'sku',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'Sku'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -48,12 +48,11 @@ module Azure::ARM::NotificationHubs
|
|
48
48
|
# @param base_url [String] the base URI of the service.
|
49
49
|
# @param options [Array] filters to be applied to the HTTP requests.
|
50
50
|
#
|
51
|
-
def initialize(credentials, base_url = nil, options = nil)
|
51
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
52
52
|
super(credentials, options)
|
53
53
|
@base_url = base_url || 'https://management.azure.com'
|
54
54
|
|
55
|
-
fail ArgumentError, 'credentials
|
56
|
-
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
|
55
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
57
56
|
@credentials = credentials
|
58
57
|
|
59
58
|
@namespaces = Namespaces.new(self)
|
@@ -67,7 +66,7 @@ module Azure::ARM::NotificationHubs
|
|
67
66
|
|
68
67
|
#
|
69
68
|
# Makes a request and returns the body of the response.
|
70
|
-
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
69
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
71
70
|
# @param path [String] the path, relative to {base_url}.
|
72
71
|
# @param options [Hash{String=>String}] specifying any request options like :body.
|
73
72
|
# @return [Hash{String=>String}] containing the body of the response.
|
@@ -128,7 +127,7 @@ module Azure::ARM::NotificationHubs
|
|
128
127
|
def add_telemetry
|
129
128
|
sdk_information = 'azure_mgmt_notification_hubs'
|
130
129
|
if defined? Azure::ARM::NotificationHubs::VERSION
|
131
|
-
sdk_information = "#{sdk_information}/#{Azure::ARM::NotificationHubs::VERSION}"
|
130
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::NotificationHubs::VERSION}"
|
132
131
|
end
|
133
132
|
add_user_agent_information(sdk_information)
|
134
133
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_notification_hubs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.7.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.7.0
|
83
83
|
description: Microsoft Azure Notification Hubs Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- lib/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb
|
108
108
|
- lib/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb
|
109
109
|
- lib/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb
|
110
|
+
- lib/generated/azure_mgmt_notification_hubs/models/resource.rb
|
110
111
|
- lib/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb
|
111
112
|
- lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb
|
112
113
|
- lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb
|