azure_mgmt_notification_hubs 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_notification_hubs.rb +17 -20
  3. data/lib/generated/azure_mgmt_notification_hubs/models/access_rights.rb +1 -1
  4. data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential.rb +26 -8
  5. data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential.rb +36 -8
  6. data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential.rb +26 -8
  7. data/lib/generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb +40 -7
  8. data/lib/generated/azure_mgmt_notification_hubs/models/{check_availability_resource.rb → check_availability_result.rb} +25 -29
  9. data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential.rb +16 -8
  10. data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential.rb +26 -8
  11. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb +146 -12
  12. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb +5 -5
  13. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb +62 -0
  14. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_resource.rb +128 -24
  15. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_type.rb +1 -1
  16. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb +138 -13
  17. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb +5 -5
  18. data/lib/generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb +120 -27
  19. data/lib/generated/azure_mgmt_notification_hubs/models/{notification_hub_properties.rb → pns_credentials_resource.rb} +45 -31
  20. data/lib/generated/azure_mgmt_notification_hubs/models/policykey_resource.rb +46 -0
  21. data/lib/generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb +34 -5
  22. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb +45 -12
  23. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb +5 -5
  24. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb +1 -82
  25. data/lib/generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb +32 -34
  26. data/lib/generated/azure_mgmt_notification_hubs/models/sku.rb +85 -0
  27. data/lib/generated/azure_mgmt_notification_hubs/models/sku_name.rb +17 -0
  28. data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential.rb +26 -8
  29. data/lib/generated/azure_mgmt_notification_hubs/module_definition.rb +1 -1
  30. data/lib/generated/azure_mgmt_notification_hubs/namespaces.rb +379 -243
  31. data/lib/generated/azure_mgmt_notification_hubs/notification_hubs.rb +192 -71
  32. data/lib/generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb +15 -2
  33. data/lib/generated/azure_mgmt_notification_hubs/version.rb +2 -2
  34. metadata +10 -13
  35. data/lib/generated/azure_mgmt_notification_hubs/models/adm_credential_properties.rb +0 -64
  36. data/lib/generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb +0 -74
  37. data/lib/generated/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb +0 -64
  38. data/lib/generated/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb +0 -54
  39. data/lib/generated/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb +0 -64
  40. data/lib/generated/azure_mgmt_notification_hubs/models/namespace_properties.rb +0 -153
  41. data/lib/generated/azure_mgmt_notification_hubs/models/wns_credential_properties.rb +0 -64
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c4f98a96d449a6c82dccd5dd9bc92b413f4b55d
4
- data.tar.gz: 40073ddd0eac8501bd1189050775a6e571748f59
3
+ metadata.gz: 8af7a037b030b16a2d96f52b522b65da215eec8d
4
+ data.tar.gz: 858768b21381d21d654ded06bc6d0c2c95ea4dfe
5
5
  SHA512:
6
- metadata.gz: 99b50fd80f2c1a39d344c9adefa2cbab90cce0e72d3a069ea2030d961c1a26c62b789a96c89f0ccd6483385b6ffdae61f1b8ea41f65783d51263892e4695aead
7
- data.tar.gz: c72048d1725c4566231127f5ad9b24b59bd9aa170bdd7082905d207fb1f044e555b096f0c344c42e7bc70dc6fe0fc1aee6948118f5a569378506cb62f48ece8f
6
+ metadata.gz: d294c6f79c74a1a37cbc5d318563fb35f4c9c4bc2c612c025e611af690989329b7a89535a5299e29fdde03a4bb80640b7378a30d99d3a5b82c5475bb5473b7f2
7
+ data.tar.gz: 9cfabbd114dd645539d957ed3802039b55e54d7e9772868b223d9af94ba690e6f3dcb1dd7f1b8dc5a1936e704493f77dbb65055a14f118f9d6a4ba497213d84e
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -25,33 +25,30 @@ module Azure::ARM::NotificationHubs
25
25
  autoload :NotificationHubsManagementClient, 'generated/azure_mgmt_notification_hubs/notification_hubs_management_client.rb'
26
26
 
27
27
  module Models
28
+ autoload :PolicykeyResource, 'generated/azure_mgmt_notification_hubs/models/policykey_resource.rb'
29
+ autoload :ApnsCredential, 'generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
30
+ autoload :Sku, 'generated/azure_mgmt_notification_hubs/models/sku.rb'
31
+ autoload :WnsCredential, 'generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
32
+ autoload :ResourceListKeys, 'generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
33
+ autoload :NamespacePatchParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_patch_parameters.rb'
28
34
  autoload :CheckAvailabilityParameters, 'generated/azure_mgmt_notification_hubs/models/check_availability_parameters.rb'
29
- autoload :CheckAvailabilityResource, 'generated/azure_mgmt_notification_hubs/models/check_availability_resource.rb'
30
- autoload :NamespaceProperties, 'generated/azure_mgmt_notification_hubs/models/namespace_properties.rb'
31
- autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
32
- autoload :NamespaceResource, 'generated/azure_mgmt_notification_hubs/models/namespace_resource.rb'
33
35
  autoload :SharedAccessAuthorizationRuleProperties, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_properties.rb'
34
- autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb'
35
- autoload :SharedAccessAuthorizationRuleResource, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb'
36
+ autoload :BaiduCredential, 'generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
36
37
  autoload :NamespaceListResult, 'generated/azure_mgmt_notification_hubs/models/namespace_list_result.rb'
37
- autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
38
- autoload :ResourceListKeys, 'generated/azure_mgmt_notification_hubs/models/resource_list_keys.rb'
39
- autoload :ApnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/apns_credential_properties.rb'
40
- autoload :ApnsCredential, 'generated/azure_mgmt_notification_hubs/models/apns_credential.rb'
41
- autoload :WnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/wns_credential_properties.rb'
42
- autoload :WnsCredential, 'generated/azure_mgmt_notification_hubs/models/wns_credential.rb'
43
- autoload :GcmCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/gcm_credential_properties.rb'
38
+ autoload :NotificationHubListResult, 'generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
44
39
  autoload :GcmCredential, 'generated/azure_mgmt_notification_hubs/models/gcm_credential.rb'
45
- autoload :MpnsCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/mpns_credential_properties.rb'
40
+ autoload :SharedAccessAuthorizationRuleListResult, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_list_result.rb'
46
41
  autoload :MpnsCredential, 'generated/azure_mgmt_notification_hubs/models/mpns_credential.rb'
47
- autoload :AdmCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/adm_credential_properties.rb'
48
42
  autoload :AdmCredential, 'generated/azure_mgmt_notification_hubs/models/adm_credential.rb'
49
- autoload :BaiduCredentialProperties, 'generated/azure_mgmt_notification_hubs/models/baidu_credential_properties.rb'
50
- autoload :BaiduCredential, 'generated/azure_mgmt_notification_hubs/models/baidu_credential.rb'
51
- autoload :NotificationHubProperties, 'generated/azure_mgmt_notification_hubs/models/notification_hub_properties.rb'
43
+ autoload :CheckAvailabilityResult, 'generated/azure_mgmt_notification_hubs/models/check_availability_result.rb'
44
+ autoload :NamespaceCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/namespace_create_or_update_parameters.rb'
45
+ autoload :NamespaceResource, 'generated/azure_mgmt_notification_hubs/models/namespace_resource.rb'
46
+ autoload :SharedAccessAuthorizationRuleCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_create_or_update_parameters.rb'
47
+ autoload :SharedAccessAuthorizationRuleResource, 'generated/azure_mgmt_notification_hubs/models/shared_access_authorization_rule_resource.rb'
52
48
  autoload :NotificationHubCreateOrUpdateParameters, 'generated/azure_mgmt_notification_hubs/models/notification_hub_create_or_update_parameters.rb'
53
49
  autoload :NotificationHubResource, 'generated/azure_mgmt_notification_hubs/models/notification_hub_resource.rb'
54
- autoload :NotificationHubListResult, 'generated/azure_mgmt_notification_hubs/models/notification_hub_list_result.rb'
50
+ autoload :PnsCredentialsResource, 'generated/azure_mgmt_notification_hubs/models/pns_credentials_resource.rb'
51
+ autoload :SkuName, 'generated/azure_mgmt_notification_hubs/models/sku_name.rb'
55
52
  autoload :NamespaceType, 'generated/azure_mgmt_notification_hubs/models/namespace_type.rb'
56
53
  autoload :AccessRights, 'generated/azure_mgmt_notification_hubs/models/access_rights.rb'
57
54
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,9 +12,14 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [AdmCredentialProperties] Gets or sets properties of
16
- # NotificationHub AdmCredential.
17
- attr_accessor :properties
15
+ # @return [String] The client identifier.
16
+ attr_accessor :client_id
17
+
18
+ # @return [String] The credential secret access key.
19
+ attr_accessor :client_secret
20
+
21
+ # @return [String] The URL of the authorization token.
22
+ attr_accessor :auth_token_url
18
23
 
19
24
 
20
25
  #
@@ -29,12 +34,25 @@ module Azure::ARM::NotificationHubs
29
34
  name: 'Composite',
30
35
  class_name: 'AdmCredential',
31
36
  model_properties: {
32
- properties: {
37
+ client_id: {
38
+ required: false,
39
+ serialized_name: 'properties.clientId',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ client_secret: {
45
+ required: false,
46
+ serialized_name: 'properties.clientSecret',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ auth_token_url: {
33
52
  required: false,
34
- serialized_name: 'properties',
53
+ serialized_name: 'properties.authTokenUrl',
35
54
  type: {
36
- name: 'Composite',
37
- class_name: 'AdmCredentialProperties'
55
+ name: 'String'
38
56
  }
39
57
  }
40
58
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,9 +12,17 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [ApnsCredentialProperties] Gets or sets properties of
16
- # NotificationHub ApnsCredential.
17
- attr_accessor :properties
15
+ # @return [String] The APNS certificate.
16
+ attr_accessor :apns_certificate
17
+
18
+ # @return [String] The certificate key.
19
+ attr_accessor :certificate_key
20
+
21
+ # @return [String] The endpoint of this credential.
22
+ attr_accessor :endpoint
23
+
24
+ # @return [String] The Apns certificate Thumbprint
25
+ attr_accessor :thumbprint
18
26
 
19
27
 
20
28
  #
@@ -29,12 +37,32 @@ module Azure::ARM::NotificationHubs
29
37
  name: 'Composite',
30
38
  class_name: 'ApnsCredential',
31
39
  model_properties: {
32
- properties: {
40
+ apns_certificate: {
41
+ required: false,
42
+ serialized_name: 'properties.apnsCertificate',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ certificate_key: {
48
+ required: false,
49
+ serialized_name: 'properties.certificateKey',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ endpoint: {
55
+ required: false,
56
+ serialized_name: 'properties.endpoint',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ thumbprint: {
33
62
  required: false,
34
- serialized_name: 'properties',
63
+ serialized_name: 'properties.thumbprint',
35
64
  type: {
36
- name: 'Composite',
37
- class_name: 'ApnsCredentialProperties'
65
+ name: 'String'
38
66
  }
39
67
  }
40
68
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,9 +12,14 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [BaiduCredentialProperties] Gets or sets properties of
16
- # NotificationHub BaiduCredential.
17
- attr_accessor :properties
15
+ # @return [String] Baidu Api Key.
16
+ attr_accessor :baidu_api_key
17
+
18
+ # @return [String] Baidu Endpoint.
19
+ attr_accessor :baidu_end_point
20
+
21
+ # @return [String] Baidu Secret Key
22
+ attr_accessor :baidu_secret_key
18
23
 
19
24
 
20
25
  #
@@ -29,12 +34,25 @@ module Azure::ARM::NotificationHubs
29
34
  name: 'Composite',
30
35
  class_name: 'BaiduCredential',
31
36
  model_properties: {
32
- properties: {
37
+ baidu_api_key: {
38
+ required: false,
39
+ serialized_name: 'properties.baiduApiKey',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ baidu_end_point: {
45
+ required: false,
46
+ serialized_name: 'properties.baiduEndPoint',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ baidu_secret_key: {
33
52
  required: false,
34
- serialized_name: 'properties',
53
+ serialized_name: 'properties.baiduSecretKey',
35
54
  type: {
36
- name: 'Composite',
37
- class_name: 'BaiduCredentialProperties'
55
+ name: 'String'
38
56
  }
39
57
  }
40
58
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -13,17 +13,26 @@ module Azure::ARM::NotificationHubs
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- # @return [String] Gets or sets name
16
+ # @return [String] Resource Id
17
+ attr_accessor :id
18
+
19
+ # @return [String] Resource name
17
20
  attr_accessor :name
18
21
 
19
- # @return [String] Gets or sets location.
22
+ # @return [String] Resource type
23
+ attr_accessor :type
24
+
25
+ # @return [String] Resource location
20
26
  attr_accessor :location
21
27
 
22
- # @return [Hash{String => String}] Gets or sets tags.
28
+ # @return [Hash{String => String}] Resource tags
23
29
  attr_accessor :tags
24
30
 
25
- # @return [Boolean] Gets or sets true if the name is available and can
26
- # be used to create new Namespace/NotificationHub. Otherwise false.
31
+ # @return [Sku] The sku of the created namespace
32
+ attr_accessor :sku
33
+
34
+ # @return [Boolean] True if the name is available and can be used to
35
+ # create new Namespace/NotificationHub. Otherwise false.
27
36
  attr_accessor :is_availiable
28
37
 
29
38
 
@@ -39,6 +48,14 @@ module Azure::ARM::NotificationHubs
39
48
  name: 'Composite',
40
49
  class_name: 'CheckAvailabilityParameters',
41
50
  model_properties: {
51
+ id: {
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'id',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
42
59
  name: {
43
60
  required: true,
44
61
  serialized_name: 'name',
@@ -46,8 +63,16 @@ module Azure::ARM::NotificationHubs
46
63
  name: 'String'
47
64
  }
48
65
  },
49
- location: {
66
+ type: {
50
67
  required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ location: {
75
+ required: true,
51
76
  serialized_name: 'location',
52
77
  type: {
53
78
  name: 'String'
@@ -67,6 +92,14 @@ module Azure::ARM::NotificationHubs
67
92
  }
68
93
  }
69
94
  },
95
+ sku: {
96
+ required: false,
97
+ serialized_name: 'sku',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'Sku'
101
+ }
102
+ },
70
103
  is_availiable: {
71
104
  required: false,
72
105
  serialized_name: 'isAvailiable',
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,58 +8,38 @@ module Azure::ARM::NotificationHubs
8
8
  #
9
9
  # Description of a CheckAvailibility resource.
10
10
  #
11
- class CheckAvailabilityResource
11
+ class CheckAvailabilityResult < MsRestAzure::Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] Gets or sets the id
16
- attr_accessor :id
17
-
18
- # @return [String] Gets or sets datacenter location
19
- attr_accessor :location
20
-
21
- # @return [String] Gets or sets name
22
- attr_accessor :name
23
-
24
- # @return [String] Gets or sets resource type
25
- attr_accessor :type
26
-
27
- # @return [Hash{String => String}] Gets or sets tags
28
- attr_accessor :tags
29
-
30
- # @return [Boolean] Gets or sets true if the name is available and can
31
- # be used to create new Namespace/NotificationHub. Otherwise false.
15
+ # @return [Boolean] True if the name is available and can be used to
16
+ # create new Namespace/NotificationHub. Otherwise false.
32
17
  attr_accessor :is_availiable
33
18
 
34
19
 
35
20
  #
36
- # Mapper for CheckAvailabilityResource class as Ruby Hash.
21
+ # Mapper for CheckAvailabilityResult class as Ruby Hash.
37
22
  # This will be used for serialization/deserialization.
38
23
  #
39
24
  def self.mapper()
40
25
  {
41
26
  required: false,
42
- serialized_name: 'CheckAvailabilityResource',
27
+ serialized_name: 'CheckAvailabilityResult',
43
28
  type: {
44
29
  name: 'Composite',
45
- class_name: 'CheckAvailabilityResource',
30
+ class_name: 'CheckAvailabilityResult',
46
31
  model_properties: {
47
32
  id: {
48
33
  required: false,
34
+ read_only: true,
49
35
  serialized_name: 'id',
50
36
  type: {
51
37
  name: 'String'
52
38
  }
53
39
  },
54
- location: {
55
- required: false,
56
- serialized_name: 'location',
57
- type: {
58
- name: 'String'
59
- }
60
- },
61
40
  name: {
62
41
  required: false,
42
+ read_only: true,
63
43
  serialized_name: 'name',
64
44
  type: {
65
45
  name: 'String'
@@ -67,11 +47,19 @@ module Azure::ARM::NotificationHubs
67
47
  },
68
48
  type: {
69
49
  required: false,
50
+ read_only: true,
70
51
  serialized_name: 'type',
71
52
  type: {
72
53
  name: 'String'
73
54
  }
74
55
  },
56
+ location: {
57
+ required: true,
58
+ serialized_name: 'location',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
75
63
  tags: {
76
64
  required: false,
77
65
  serialized_name: 'tags',
@@ -86,6 +74,14 @@ module Azure::ARM::NotificationHubs
86
74
  }
87
75
  }
88
76
  },
77
+ sku: {
78
+ required: false,
79
+ serialized_name: 'sku',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'Sku'
83
+ }
84
+ },
89
85
  is_availiable: {
90
86
  required: false,
91
87
  serialized_name: 'isAvailiable',
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,9 +12,11 @@ module Azure::ARM::NotificationHubs
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [GcmCredentialProperties] Gets or sets properties of
16
- # NotificationHub GcmCredential.
17
- attr_accessor :properties
15
+ # @return [String] The GCM endpoint.
16
+ attr_accessor :gcm_endpoint
17
+
18
+ # @return [String] The Google API key.
19
+ attr_accessor :google_api_key
18
20
 
19
21
 
20
22
  #
@@ -29,12 +31,18 @@ module Azure::ARM::NotificationHubs
29
31
  name: 'Composite',
30
32
  class_name: 'GcmCredential',
31
33
  model_properties: {
32
- properties: {
34
+ gcm_endpoint: {
35
+ required: false,
36
+ serialized_name: 'properties.gcmEndpoint',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ google_api_key: {
33
42
  required: false,
34
- serialized_name: 'properties',
43
+ serialized_name: 'properties.googleApiKey',
35
44
  type: {
36
- name: 'Composite',
37
- class_name: 'GcmCredentialProperties'
45
+ name: 'String'
38
46
  }
39
47
  }
40
48
  }