azure_mgmt_notification_hubs 0.13.0 → 0.14.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/generated/azure_mgmt_notification_hubs.rb +1 -0
  3. data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential.rb +0 -1
  4. data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb +0 -1
  5. data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb +0 -1
  6. data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +0 -1
  7. data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_result.rb +1 -2
  8. data/lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_request_parameters.rb +0 -1
  9. data/lib/generated/azure_mgmt_notification_hubs/models/check_name_availability_response.rb +0 -1
  10. data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb +0 -1
  11. data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb +0 -1
  12. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +1 -2
  13. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +0 -1
  14. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +1 -2
  15. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +1 -2
  16. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +1 -2
  17. data/lib/generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb +1 -2
  18. data/lib/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb +0 -1
  19. data/lib/generated/azure_mgmt_notification_hubs/models/resource.rb +16 -2
  20. data/lib/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb +0 -1
  21. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +1 -2
  22. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +0 -1
  23. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +1 -2
  24. data/lib/generated/azure_mgmt_notification_hubs/models/sku.rb +0 -1
  25. data/lib/generated/azure_mgmt_notification_hubs/models/sub_resource.rb +45 -0
  26. data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential.rb +0 -1
  27. data/lib/generated/azure_mgmt_notification_hubs/version.rb +1 -1
  28. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb9c84574b1d98b39ed1d9a7dcab24485ab624d4
4
- data.tar.gz: 359b4c5cf997d298bc3a1972ba5463839d9bbb32
3
+ metadata.gz: 4a6c147dda7ab8c4bed671ccf1aa27be992a22e7
4
+ data.tar.gz: 541627b9040c450f7d6f034a5a45000dcf70d319
5
5
  SHA512:
6
- metadata.gz: ab04356a00013c16bc51bb07969f39d82f51c3a0d60c3c7c74c6f4b6428262541ce91b2f901ebd5e67b8fe8d2c18cedc8bf11edd59746338495548e696d1559d
7
- data.tar.gz: 00b9cf215cceef659e19ea2c417d5142d423670c2b8d58903976e4bb7925d2b3a8ee23a208cafee15325a344c0b6c6af56df9f394d2eb24040490feca109d174
6
+ metadata.gz: b7db03d582e54538a5b87d758b12cec5b61fa546524e30bb0f2784de1f8e1361cb9194531f9c8cff682e4392a6fc2fb22ddf8fe08da85b085886a2864aed76d9
7
+ data.tar.gz: f0c52a4ff5ded44ac662789e57ce5e1318f41ee0ff7cae82383721663ceda4d3c32eef772627667a045cb8f315d64d3d852d87ccf0af6174d25a276cb01dade2
@@ -37,6 +37,7 @@ module Azure::ARM::NotificationHubs
37
37
  autoload :NamespacePatchParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb'
38
38
  autoload :Sku, 'generated/azure_mgmt_notification_hubs/models/sku.rb'
39
39
  autoload :SharedAccessAuthorizationRuleProperties, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
40
+ autoload :SubResource, 'generated/azure_mgmt_notification_hubs/models/sub_resource.rb'
40
41
  autoload :BaiduCredential, 'generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
41
42
  autoload :NamespaceListResult, 'generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb'
42
43
  autoload :NotificationHubListResult, 'generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The client identifier.
17
16
  attr_accessor :client_id
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The APNS certificate.
17
16
  attr_accessor :apns_certificate
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Baidu Api Key.
17
16
  attr_accessor :baidu_api_key
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::NotificationHubs
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Resource Id
18
17
  attr_accessor :id
19
18
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a CheckAvailibility resource.
10
10
  #
11
- class CheckAvailabilityResult < MsRestAzure::Resource
11
+ class CheckAvailabilityResult < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Boolean] True if the name is available and can be used to
17
16
  # create new Namespace/NotificationHub. Otherwise false.
18
17
  attr_accessor :is_availiable
@@ -13,7 +13,6 @@ module Azure::ARM::NotificationHubs
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] Resource name
18
17
  attr_accessor :name
19
18
 
@@ -13,7 +13,6 @@ module Azure::ARM::NotificationHubs
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [Boolean] Checks if the namespace name is available
18
17
  attr_accessor :name_available
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The GCM endpoint.
17
16
  attr_accessor :gcm_endpoint
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The MPNS certificate.
17
16
  attr_accessor :mpns_certificate
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate Namespace operation.
10
10
  #
11
- class NamespaceCreateOrUpdateParameters < MsRestAzure::Resource
11
+ class NamespaceCreateOrUpdateParameters < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the namespace.
17
16
  attr_accessor :namespace_create_or_update_parameters_name
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Hash{String => String}] Resource tags
17
16
  attr_accessor :tags
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a Namespace resource.
10
10
  #
11
- class NamespaceResource < MsRestAzure::Resource
11
+ class NamespaceResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name of the namespace.
17
16
  attr_accessor :namespace_resource_name
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate NotificationHub operation.
10
10
  #
11
- class NotificationHubCreateOrUpdateParameters < MsRestAzure::Resource
11
+ class NotificationHubCreateOrUpdateParameters < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The NotificationHub name.
17
16
  attr_accessor :notification_hub_create_or_update_parameters_name
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a NotificationHub Resource.
10
10
  #
11
- class NotificationHubResource < MsRestAzure::Resource
11
+ class NotificationHubResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The NotificationHub name.
17
16
  attr_accessor :notification_hub_resource_name
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a NotificationHub PNS Credentials.
10
10
  #
11
- class PnsCredentialsResource < MsRestAzure::Resource
11
+ class PnsCredentialsResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [ApnsCredential] The ApnsCredential of the created
17
16
  # NotificationHub
18
17
  attr_accessor :apns_credential
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Name of the key that has to be regenerated for the
17
16
  # Namespace/Notification Hub Authorization Rule. The value can be Primary
18
17
  # Key/Secondary Key.
@@ -9,11 +9,25 @@ module Azure::ARM::NotificationHubs
9
9
  # Model object.
10
10
  #
11
11
  #
12
- class Resource < MsRestAzure::Resource
12
+ class Resource
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
16
+ # @return [String] Resource Id
17
+ attr_accessor :id
18
+
19
+ # @return [String] Resource name
20
+ attr_accessor :name
21
+
22
+ # @return [String] Resource type
23
+ attr_accessor :type
24
+
25
+ # @return [String] Resource location
26
+ attr_accessor :location
27
+
28
+ # @return [Hash{String => String}] Resource tags
29
+ attr_accessor :tags
30
+
17
31
  # @return [Sku] The sku of the created namespace
18
32
  attr_accessor :sku
19
33
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] PrimaryConnectionString of the AuthorizationRule.
17
16
  attr_accessor :primary_connection_string
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Parameters supplied to the CreateOrUpdate Namespace AuthorizationRules.
10
10
  #
11
- class SharedAccessAuthorizationRuleCreateOrUpdateParameters < MsRestAzure::Resource
11
+ class SharedAccessAuthorizationRuleCreateOrUpdateParameters < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [SharedAccessAuthorizationRuleProperties] Properties of the
17
16
  # Namespace AuthorizationRules.
18
17
  attr_accessor :properties
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<AccessRights>] The rights associated with the rule.
17
16
  attr_accessor :rights
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a Namespace AuthorizationRules.
10
10
  #
11
- class SharedAccessAuthorizationRuleResource < MsRestAzure::Resource
11
+ class SharedAccessAuthorizationRuleResource < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<AccessRights>] The rights associated with the rule.
17
16
  attr_accessor :rights
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [SkuName] Name of the notification hub sku. Possible values
17
16
  # include: 'Free', 'Basic', 'Standard'
18
17
  attr_accessor :name
@@ -0,0 +1,45 @@
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::ARM::NotificationHubs
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class SubResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Id
17
+ attr_accessor :id
18
+
19
+
20
+ #
21
+ # Mapper for SubResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'SubResource',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SubResource',
31
+ model_properties: {
32
+ id: {
33
+ required: false,
34
+ serialized_name: 'id',
35
+ type: {
36
+ name: 'String'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The package ID for this credential.
17
16
  attr_accessor :package_sid
18
17
 
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::NotificationHubs
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  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.13.0
4
+ version: 0.14.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: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -118,6 +118,7 @@ files:
118
118
  - lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb
119
119
  - lib/generated/azure_mgmt_notification_hubs/models/sku.rb
120
120
  - lib/generated/azure_mgmt_notification_hubs/models/sku_name.rb
121
+ - lib/generated/azure_mgmt_notification_hubs/models/sub_resource.rb
121
122
  - lib/generated/azure_mgmt_notification_hubs/models/wns_credential.rb
122
123
  - lib/generated/azure_mgmt_notification_hubs/module_definition.rb
123
124
  - lib/generated/azure_mgmt_notification_hubs/name.rb