azure_mgmt_notification_hubs 0.7.0 → 0.8.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 (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
@@ -1,64 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Description of a NotificationHub AdmCredential.
10
- #
11
- class AdmCredentialProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the client identifier.
16
- attr_accessor :client_id
17
-
18
- # @return [String] Gets or sets the credential secret access key.
19
- attr_accessor :client_secret
20
-
21
- # @return [String] Gets or sets the URL of the authorization token.
22
- attr_accessor :auth_token_url
23
-
24
-
25
- #
26
- # Mapper for AdmCredentialProperties class as Ruby Hash.
27
- # This will be used for serialization/deserialization.
28
- #
29
- def self.mapper()
30
- {
31
- required: false,
32
- serialized_name: 'AdmCredentialProperties',
33
- type: {
34
- name: 'Composite',
35
- class_name: 'AdmCredentialProperties',
36
- model_properties: {
37
- client_id: {
38
- required: false,
39
- serialized_name: 'clientId',
40
- type: {
41
- name: 'String'
42
- }
43
- },
44
- client_secret: {
45
- required: false,
46
- serialized_name: 'clientSecret',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- auth_token_url: {
52
- required: false,
53
- serialized_name: 'authTokenUrl',
54
- type: {
55
- name: 'String'
56
- }
57
- }
58
- }
59
- }
60
- }
61
- end
62
- end
63
- end
64
- end
@@ -1,74 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Description of a NotificationHub ApnsCredential.
10
- #
11
- class ApnsCredentialProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the APNS certificate.
16
- attr_accessor :apns_certificate
17
-
18
- # @return [String] Gets or sets the certificate key.
19
- attr_accessor :certificate_key
20
-
21
- # @return [String] Gets or sets the endpoint of this credential.
22
- attr_accessor :endpoint
23
-
24
- # @return [String] Gets or sets the Apns certificate Thumbprint
25
- attr_accessor :thumbprint
26
-
27
-
28
- #
29
- # Mapper for ApnsCredentialProperties class as Ruby Hash.
30
- # This will be used for serialization/deserialization.
31
- #
32
- def self.mapper()
33
- {
34
- required: false,
35
- serialized_name: 'ApnsCredentialProperties',
36
- type: {
37
- name: 'Composite',
38
- class_name: 'ApnsCredentialProperties',
39
- model_properties: {
40
- apns_certificate: {
41
- required: false,
42
- serialized_name: 'apnsCertificate',
43
- type: {
44
- name: 'String'
45
- }
46
- },
47
- certificate_key: {
48
- required: false,
49
- serialized_name: 'certificateKey',
50
- type: {
51
- name: 'String'
52
- }
53
- },
54
- endpoint: {
55
- required: false,
56
- serialized_name: 'endpoint',
57
- type: {
58
- name: 'String'
59
- }
60
- },
61
- thumbprint: {
62
- required: false,
63
- serialized_name: 'thumbprint',
64
- type: {
65
- name: 'String'
66
- }
67
- }
68
- }
69
- }
70
- }
71
- end
72
- end
73
- end
74
- end
@@ -1,64 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Description of a NotificationHub BaiduCredential.
10
- #
11
- class BaiduCredentialProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Get or Set Baidu Api Key.
16
- attr_accessor :baidu_api_key
17
-
18
- # @return [String] Get or Set Baidu Endpoint.
19
- attr_accessor :baidu_end_point
20
-
21
- # @return [String] Get or Set Baidu Secret Key
22
- attr_accessor :baidu_secret_key
23
-
24
-
25
- #
26
- # Mapper for BaiduCredentialProperties class as Ruby Hash.
27
- # This will be used for serialization/deserialization.
28
- #
29
- def self.mapper()
30
- {
31
- required: false,
32
- serialized_name: 'BaiduCredentialProperties',
33
- type: {
34
- name: 'Composite',
35
- class_name: 'BaiduCredentialProperties',
36
- model_properties: {
37
- baidu_api_key: {
38
- required: false,
39
- serialized_name: 'baiduApiKey',
40
- type: {
41
- name: 'String'
42
- }
43
- },
44
- baidu_end_point: {
45
- required: false,
46
- serialized_name: 'baiduEndPoint',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- baidu_secret_key: {
52
- required: false,
53
- serialized_name: 'baiduSecretKey',
54
- type: {
55
- name: 'String'
56
- }
57
- }
58
- }
59
- }
60
- }
61
- end
62
- end
63
- end
64
- end
@@ -1,54 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Description of a NotificationHub GcmCredential.
10
- #
11
- class GcmCredentialProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the GCM endpoint.
16
- attr_accessor :gcm_endpoint
17
-
18
- # @return [String] Gets or sets the Google API key.
19
- attr_accessor :google_api_key
20
-
21
-
22
- #
23
- # Mapper for GcmCredentialProperties class as Ruby Hash.
24
- # This will be used for serialization/deserialization.
25
- #
26
- def self.mapper()
27
- {
28
- required: false,
29
- serialized_name: 'GcmCredentialProperties',
30
- type: {
31
- name: 'Composite',
32
- class_name: 'GcmCredentialProperties',
33
- model_properties: {
34
- gcm_endpoint: {
35
- required: false,
36
- serialized_name: 'gcmEndpoint',
37
- type: {
38
- name: 'String'
39
- }
40
- },
41
- google_api_key: {
42
- required: false,
43
- serialized_name: 'googleApiKey',
44
- type: {
45
- name: 'String'
46
- }
47
- }
48
- }
49
- }
50
- }
51
- end
52
- end
53
- end
54
- end
@@ -1,64 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Description of a NotificationHub MpnsCredential.
10
- #
11
- class MpnsCredentialProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] Gets or sets the MPNS certificate.
16
- attr_accessor :mpns_certificate
17
-
18
- # @return [String] Gets or sets the certificate key for this credential.
19
- attr_accessor :certificate_key
20
-
21
- # @return [String] Gets or sets the Mpns certificate Thumbprint
22
- attr_accessor :thumbprint
23
-
24
-
25
- #
26
- # Mapper for MpnsCredentialProperties class as Ruby Hash.
27
- # This will be used for serialization/deserialization.
28
- #
29
- def self.mapper()
30
- {
31
- required: false,
32
- serialized_name: 'MpnsCredentialProperties',
33
- type: {
34
- name: 'Composite',
35
- class_name: 'MpnsCredentialProperties',
36
- model_properties: {
37
- mpns_certificate: {
38
- required: false,
39
- serialized_name: 'mpnsCertificate',
40
- type: {
41
- name: 'String'
42
- }
43
- },
44
- certificate_key: {
45
- required: false,
46
- serialized_name: 'certificateKey',
47
- type: {
48
- name: 'String'
49
- }
50
- },
51
- thumbprint: {
52
- required: false,
53
- serialized_name: 'thumbprint',
54
- type: {
55
- name: 'String'
56
- }
57
- }
58
- }
59
- }
60
- }
61
- end
62
- end
63
- end
64
- end
@@ -1,153 +0,0 @@
1
- # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.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
- # Namespace properties.
10
- #
11
- class NamespaceProperties
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] The name of the namespace.
16
- attr_accessor :name
17
-
18
- # @return [String] Gets or sets provisioning state of the Namespace.
19
- attr_accessor :provisioning_state
20
-
21
- # @return [String] Specifies the targeted region in which the namespace
22
- # should be created. It can be any of the following values: Australia
23
- # EastAustralia SoutheastCentral USEast USEast US 2West USNorth Central
24
- # USSouth Central USEast AsiaSoutheast AsiaBrazil SouthJapan EastJapan
25
- # WestNorth EuropeWest Europe
26
- attr_accessor :region
27
-
28
- # @return [String] Status of the namespace. It can be any of these
29
- # values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
30
- attr_accessor :status
31
-
32
- # @return [DateTime] The time the namespace was created.
33
- attr_accessor :created_at
34
-
35
- # @return [String] Endpoint you can use to perform NotificationHub
36
- # operations.
37
- attr_accessor :service_bus_endpoint
38
-
39
- # @return [String] The Id of the Azure subscription associated with the
40
- # namespace.
41
- attr_accessor :subscription_id
42
-
43
- # @return [String] ScaleUnit where the namespace gets created
44
- attr_accessor :scale_unit
45
-
46
- # @return [Boolean] Whether or not the namespace is currently enabled.
47
- attr_accessor :enabled
48
-
49
- # @return [Boolean] Whether or not the namespace is set as Critical.
50
- attr_accessor :critical
51
-
52
- # @return [NamespaceType] Gets or sets the namespace type. Possible
53
- # values include: 'Messaging', 'NotificationHub'
54
- attr_accessor :namespace_type
55
-
56
-
57
- #
58
- # Mapper for NamespaceProperties class as Ruby Hash.
59
- # This will be used for serialization/deserialization.
60
- #
61
- def self.mapper()
62
- {
63
- required: false,
64
- serialized_name: 'NamespaceProperties',
65
- type: {
66
- name: 'Composite',
67
- class_name: 'NamespaceProperties',
68
- model_properties: {
69
- name: {
70
- required: false,
71
- serialized_name: 'name',
72
- type: {
73
- name: 'String'
74
- }
75
- },
76
- provisioning_state: {
77
- required: false,
78
- serialized_name: 'provisioningState',
79
- type: {
80
- name: 'String'
81
- }
82
- },
83
- region: {
84
- required: false,
85
- serialized_name: 'region',
86
- type: {
87
- name: 'String'
88
- }
89
- },
90
- status: {
91
- required: false,
92
- serialized_name: 'status',
93
- type: {
94
- name: 'String'
95
- }
96
- },
97
- created_at: {
98
- required: false,
99
- serialized_name: 'createdAt',
100
- type: {
101
- name: 'DateTime'
102
- }
103
- },
104
- service_bus_endpoint: {
105
- required: false,
106
- serialized_name: 'serviceBusEndpoint',
107
- type: {
108
- name: 'String'
109
- }
110
- },
111
- subscription_id: {
112
- required: false,
113
- serialized_name: 'subscriptionId',
114
- type: {
115
- name: 'String'
116
- }
117
- },
118
- scale_unit: {
119
- required: false,
120
- serialized_name: 'scaleUnit',
121
- type: {
122
- name: 'String'
123
- }
124
- },
125
- enabled: {
126
- required: false,
127
- serialized_name: 'enabled',
128
- type: {
129
- name: 'Boolean'
130
- }
131
- },
132
- critical: {
133
- required: false,
134
- serialized_name: 'critical',
135
- type: {
136
- name: 'Boolean'
137
- }
138
- },
139
- namespace_type: {
140
- required: false,
141
- serialized_name: 'namespaceType',
142
- type: {
143
- name: 'Enum',
144
- module: 'NamespaceType'
145
- }
146
- }
147
- }
148
- }
149
- }
150
- end
151
- end
152
- end
153
- end