azure_mgmt_mobile_engagement 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_mobile_engagement/app_collections.rb +27 -27
- data/lib/generated/azure_mgmt_mobile_engagement/apps.rb +26 -26
- data/lib/generated/azure_mgmt_mobile_engagement/campaigns.rb +89 -89
- data/lib/generated/azure_mgmt_mobile_engagement/devices.rb +172 -174
- data/lib/generated/azure_mgmt_mobile_engagement/engagement_management_client.rb +14 -1
- data/lib/generated/azure_mgmt_mobile_engagement/export_tasks.rb +44 -44
- data/lib/generated/azure_mgmt_mobile_engagement/import_tasks.rb +56 -56
- data/lib/generated/azure_mgmt_mobile_engagement/models/announcement_feedback_criterion.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/api_error_error.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_collection_name_availability.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_info_filter.rb +5 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/app_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/application_version_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/audience_operators.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/boolean_tag_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign.rb +57 -53
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_audience.rb +3 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_feedbacks.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_kinds.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_list_result.rb +11 -5
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_localization.rb +9 -7
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_parameters.rb +16 -15
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_push_result.rb +9 -7
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_result.rb +4 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_statistics_result.rb +9 -8
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_new_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_test_saved_parameters.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_type.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaign_types.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/campaigns_list_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_country_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/carrier_name_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/criterion.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/datapush_feedback_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_range_export_task_parameter.rb +6 -5
- data/lib/generated/azure_mgmt_mobile_engagement/models/date_tag_criterion.rb +5 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/delivery_times.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_info.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_location.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_manufacturer_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_meta.rb +10 -10
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_model_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_query_result.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_parameters.rb +6 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/device_tags_result.rb +3 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/devices_query_result.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_active_users_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_idle_users_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_new_users_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_old_users_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/engage_subset_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_format.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_options.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_state.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_parameter.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_task_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/export_type.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_campaign_parameter.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/feedback_by_date_range_parameter.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/filter.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/firmware_version_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/geo_fencing_criterion.rb +4 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_list_result.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/import_task_result.rb +4 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/integer_tag_criterion.rb +4 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/job_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/language_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/location_criterion.rb +3 -3
- data/lib/generated/azure_mgmt_mobile_engagement/models/native_push_enabled_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/network_type_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/notification_options.rb +13 -8
- data/lib/generated/azure_mgmt_mobile_engagement/models/notification_types.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_answer_feedback_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_feedback_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question.rb +6 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice.rb +6 -4
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/poll_question_localization.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/provisioning_states.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/push_modes.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/push_quota_filter.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/screen_size_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/segment_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/string_tag_criterion.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/models/supported_platforms_list_result.rb +2 -1
- data/lib/generated/azure_mgmt_mobile_engagement/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/supported_platforms.rb +1 -1
- data/lib/generated/azure_mgmt_mobile_engagement/version.rb +2 -2
- data/lib/generated/azure_mgmt_mobile_engagement.rb +25 -25
- metadata +4 -4
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 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
|
|
@@ -26,108 +26,44 @@ module Azure::ARM::MobileEngagement
|
|
26
26
|
# Query the information associated to the devices running an application.
|
27
27
|
#
|
28
28
|
# @param top [Integer] Number of devices to return with each call. Defaults to
|
29
|
-
# 100 and cannot return more. Passing a greater value is ignored. The
|
30
|
-
#
|
31
|
-
#
|
29
|
+
# 100 and cannot return more. Passing a greater value is ignored. The response
|
30
|
+
# contains a `nextLink` property describing the URI path to get the next page
|
31
|
+
# of results if not all results could be returned at once.
|
32
32
|
# @param select [String] By default all `meta` and `appInfo` properties are
|
33
33
|
# returned, this property is used to restrict the output to the desired
|
34
34
|
# properties. It also excludes all devices from the output that have none of
|
35
|
-
# the selected properties. In other terms, only devices having at least one
|
36
|
-
#
|
37
|
-
# `$select=appInfo` : select all devices having at least 1 appInfo, return
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
# properties.
|
35
|
+
# the selected properties. In other terms, only devices having at least one of
|
36
|
+
# the selected property being set is part of the results. Examples: -
|
37
|
+
# `$select=appInfo` : select all devices having at least 1 appInfo, return them
|
38
|
+
# all and don’t return any meta property. - `$select=meta` : return only meta
|
39
|
+
# properties in the output. - `$select=appInfo,meta/firstSeen,meta/lastSeen` :
|
40
|
+
# return all `appInfo`, plus meta object containing only firstSeen and lastSeen
|
41
|
+
# properties. The format is thus a comma separated list of properties to
|
42
|
+
# select. Use `appInfo` to select all appInfo properties, `meta` to select all
|
43
|
+
# meta properties. Use `appInfo/{key}` and `meta/{key}` to select specific
|
44
|
+
# appInfo and meta properties.
|
46
45
|
# @param filter [String] Filter can be used to reduce the number of results.
|
47
46
|
# Filter is a boolean expression that can look like the following examples: *
|
48
47
|
# `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` *
|
49
48
|
# `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge
|
50
49
|
# 'abcdef0123456789abcdef0123456789') and (deviceId lt
|
51
|
-
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)`
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# criteria, like `$select`. Please note that the internal value of
|
69
|
-
# `lastModified` timestamp for a given property is never part of the results.
|
70
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
71
|
-
# will be added to the HTTP request.
|
72
|
-
#
|
73
|
-
# @return [DevicesQueryResult] which provide lazy access to pages of the
|
74
|
-
# response.
|
75
|
-
#
|
76
|
-
def list_as_lazy(top = nil, select = nil, filter = nil, custom_headers = nil)
|
77
|
-
response = list_async(top, select, filter, custom_headers).value!
|
78
|
-
unless response.nil?
|
79
|
-
page = response.body
|
80
|
-
page.next_method = Proc.new do |next_page_link|
|
81
|
-
list_next_async(next_page_link, custom_headers)
|
82
|
-
end
|
83
|
-
page
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
#
|
88
|
-
# Query the information associated to the devices running an application.
|
89
|
-
#
|
90
|
-
# @param top [Integer] Number of devices to return with each call. Defaults to
|
91
|
-
# 100 and cannot return more. Passing a greater value is ignored. The
|
92
|
-
# response contains a `nextLink` property describing the URI path to get the
|
93
|
-
# next page of results if not all results could be returned at once.
|
94
|
-
# @param select [String] By default all `meta` and `appInfo` properties are
|
95
|
-
# returned, this property is used to restrict the output to the desired
|
96
|
-
# properties. It also excludes all devices from the output that have none of
|
97
|
-
# the selected properties. In other terms, only devices having at least one
|
98
|
-
# of the selected property being set is part of the results. Examples: -
|
99
|
-
# `$select=appInfo` : select all devices having at least 1 appInfo, return
|
100
|
-
# them all and don’t return any meta property. - `$select=meta` : return only
|
101
|
-
# meta properties in the output. -
|
102
|
-
# `$select=appInfo,meta/firstSeen,meta/lastSeen` : return all `appInfo`, plus
|
103
|
-
# meta object containing only firstSeen and lastSeen properties. The format
|
104
|
-
# is thus a comma separated list of properties to select. Use `appInfo` to
|
105
|
-
# select all appInfo properties, `meta` to select all meta properties. Use
|
106
|
-
# `appInfo/{key}` and `meta/{key}` to select specific appInfo and meta
|
107
|
-
# properties.
|
108
|
-
# @param filter [String] Filter can be used to reduce the number of results.
|
109
|
-
# Filter is a boolean expression that can look like the following examples: *
|
110
|
-
# `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` *
|
111
|
-
# `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge
|
112
|
-
# 'abcdef0123456789abcdef0123456789') and (deviceId lt
|
113
|
-
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)`
|
114
|
-
# The first example is used automatically for paging when returning the
|
115
|
-
# `nextLink` property. The filter expression is a combination of checks on
|
116
|
-
# some properties that can be compared to their value. The available
|
117
|
-
# operators are: * `gt` : greater than * `ge` : greater than or equals *
|
118
|
-
# `lt` : less than * `le` : less than or equals * `and` : to add multiple
|
119
|
-
# checks (all checks must pass), optional parentheses can be used. The
|
120
|
-
# properties that can be used in the expression are the following: *
|
121
|
-
# `deviceId {operator} '{deviceIdValue}'` : a lexicographical comparison is
|
122
|
-
# made on the deviceId value, use single quotes for the value. *
|
123
|
-
# `lastModified {operator} {number}L` : returns only meta properties or
|
124
|
-
# appInfo properties whose last value modification timestamp compared to the
|
125
|
-
# specified value is matching (value is milliseconds since January 1st, 1970
|
126
|
-
# UTC). Please note the `L` character after the number of milliseconds, its
|
127
|
-
# required when the number of milliseconds exceeds `2^31 - 1` (which is
|
128
|
-
# always the case for recent timestamps). Using `lastModified` excludes all
|
129
|
-
# devices from the output that have no property matching the timestamp
|
130
|
-
# criteria, like `$select`. Please note that the internal value of
|
50
|
+
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)` The
|
51
|
+
# first example is used automatically for paging when returning the `nextLink`
|
52
|
+
# property. The filter expression is a combination of checks on some properties
|
53
|
+
# that can be compared to their value. The available operators are: * `gt` :
|
54
|
+
# greater than * `ge` : greater than or equals * `lt` : less than * `le` :
|
55
|
+
# less than or equals * `and` : to add multiple checks (all checks must pass),
|
56
|
+
# optional parentheses can be used. The properties that can be used in the
|
57
|
+
# expression are the following: * `deviceId {operator} '{deviceIdValue}'` : a
|
58
|
+
# lexicographical comparison is made on the deviceId value, use single quotes
|
59
|
+
# for the value. * `lastModified {operator} {number}L` : returns only meta
|
60
|
+
# properties or appInfo properties whose last value modification timestamp
|
61
|
+
# compared to the specified value is matching (value is milliseconds since
|
62
|
+
# January 1st, 1970 UTC). Please note the `L` character after the number of
|
63
|
+
# milliseconds, its required when the number of milliseconds exceeds `2^31 - 1`
|
64
|
+
# (which is always the case for recent timestamps). Using `lastModified`
|
65
|
+
# excludes all devices from the output that have no property matching the
|
66
|
+
# timestamp criteria, like `$select`. Please note that the internal value of
|
131
67
|
# `lastModified` timestamp for a given property is never part of the results.
|
132
68
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
133
69
|
# will be added to the HTTP request.
|
@@ -143,46 +79,44 @@ module Azure::ARM::MobileEngagement
|
|
143
79
|
# Query the information associated to the devices running an application.
|
144
80
|
#
|
145
81
|
# @param top [Integer] Number of devices to return with each call. Defaults to
|
146
|
-
# 100 and cannot return more. Passing a greater value is ignored. The
|
147
|
-
#
|
148
|
-
#
|
82
|
+
# 100 and cannot return more. Passing a greater value is ignored. The response
|
83
|
+
# contains a `nextLink` property describing the URI path to get the next page
|
84
|
+
# of results if not all results could be returned at once.
|
149
85
|
# @param select [String] By default all `meta` and `appInfo` properties are
|
150
86
|
# returned, this property is used to restrict the output to the desired
|
151
87
|
# properties. It also excludes all devices from the output that have none of
|
152
|
-
# the selected properties. In other terms, only devices having at least one
|
153
|
-
#
|
154
|
-
# `$select=appInfo` : select all devices having at least 1 appInfo, return
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# properties.
|
88
|
+
# the selected properties. In other terms, only devices having at least one of
|
89
|
+
# the selected property being set is part of the results. Examples: -
|
90
|
+
# `$select=appInfo` : select all devices having at least 1 appInfo, return them
|
91
|
+
# all and don’t return any meta property. - `$select=meta` : return only meta
|
92
|
+
# properties in the output. - `$select=appInfo,meta/firstSeen,meta/lastSeen` :
|
93
|
+
# return all `appInfo`, plus meta object containing only firstSeen and lastSeen
|
94
|
+
# properties. The format is thus a comma separated list of properties to
|
95
|
+
# select. Use `appInfo` to select all appInfo properties, `meta` to select all
|
96
|
+
# meta properties. Use `appInfo/{key}` and `meta/{key}` to select specific
|
97
|
+
# appInfo and meta properties.
|
163
98
|
# @param filter [String] Filter can be used to reduce the number of results.
|
164
99
|
# Filter is a boolean expression that can look like the following examples: *
|
165
100
|
# `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` *
|
166
101
|
# `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge
|
167
102
|
# 'abcdef0123456789abcdef0123456789') and (deviceId lt
|
168
|
-
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)`
|
169
|
-
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
# criteria, like `$select`. Please note that the internal value of
|
103
|
+
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)` The
|
104
|
+
# first example is used automatically for paging when returning the `nextLink`
|
105
|
+
# property. The filter expression is a combination of checks on some properties
|
106
|
+
# that can be compared to their value. The available operators are: * `gt` :
|
107
|
+
# greater than * `ge` : greater than or equals * `lt` : less than * `le` :
|
108
|
+
# less than or equals * `and` : to add multiple checks (all checks must pass),
|
109
|
+
# optional parentheses can be used. The properties that can be used in the
|
110
|
+
# expression are the following: * `deviceId {operator} '{deviceIdValue}'` : a
|
111
|
+
# lexicographical comparison is made on the deviceId value, use single quotes
|
112
|
+
# for the value. * `lastModified {operator} {number}L` : returns only meta
|
113
|
+
# properties or appInfo properties whose last value modification timestamp
|
114
|
+
# compared to the specified value is matching (value is milliseconds since
|
115
|
+
# January 1st, 1970 UTC). Please note the `L` character after the number of
|
116
|
+
# milliseconds, its required when the number of milliseconds exceeds `2^31 - 1`
|
117
|
+
# (which is always the case for recent timestamps). Using `lastModified`
|
118
|
+
# excludes all devices from the output that have no property matching the
|
119
|
+
# timestamp criteria, like `$select`. Please note that the internal value of
|
186
120
|
# `lastModified` timestamp for a given property is never part of the results.
|
187
121
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
188
122
|
# will be added to the HTTP request.
|
@@ -197,46 +131,44 @@ module Azure::ARM::MobileEngagement
|
|
197
131
|
# Query the information associated to the devices running an application.
|
198
132
|
#
|
199
133
|
# @param top [Integer] Number of devices to return with each call. Defaults to
|
200
|
-
# 100 and cannot return more. Passing a greater value is ignored. The
|
201
|
-
#
|
202
|
-
#
|
134
|
+
# 100 and cannot return more. Passing a greater value is ignored. The response
|
135
|
+
# contains a `nextLink` property describing the URI path to get the next page
|
136
|
+
# of results if not all results could be returned at once.
|
203
137
|
# @param select [String] By default all `meta` and `appInfo` properties are
|
204
138
|
# returned, this property is used to restrict the output to the desired
|
205
139
|
# properties. It also excludes all devices from the output that have none of
|
206
|
-
# the selected properties. In other terms, only devices having at least one
|
207
|
-
#
|
208
|
-
# `$select=appInfo` : select all devices having at least 1 appInfo, return
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
# properties.
|
140
|
+
# the selected properties. In other terms, only devices having at least one of
|
141
|
+
# the selected property being set is part of the results. Examples: -
|
142
|
+
# `$select=appInfo` : select all devices having at least 1 appInfo, return them
|
143
|
+
# all and don’t return any meta property. - `$select=meta` : return only meta
|
144
|
+
# properties in the output. - `$select=appInfo,meta/firstSeen,meta/lastSeen` :
|
145
|
+
# return all `appInfo`, plus meta object containing only firstSeen and lastSeen
|
146
|
+
# properties. The format is thus a comma separated list of properties to
|
147
|
+
# select. Use `appInfo` to select all appInfo properties, `meta` to select all
|
148
|
+
# meta properties. Use `appInfo/{key}` and `meta/{key}` to select specific
|
149
|
+
# appInfo and meta properties.
|
217
150
|
# @param filter [String] Filter can be used to reduce the number of results.
|
218
151
|
# Filter is a boolean expression that can look like the following examples: *
|
219
152
|
# `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` *
|
220
153
|
# `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge
|
221
154
|
# 'abcdef0123456789abcdef0123456789') and (deviceId lt
|
222
|
-
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)`
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
# criteria, like `$select`. Please note that the internal value of
|
155
|
+
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)` The
|
156
|
+
# first example is used automatically for paging when returning the `nextLink`
|
157
|
+
# property. The filter expression is a combination of checks on some properties
|
158
|
+
# that can be compared to their value. The available operators are: * `gt` :
|
159
|
+
# greater than * `ge` : greater than or equals * `lt` : less than * `le` :
|
160
|
+
# less than or equals * `and` : to add multiple checks (all checks must pass),
|
161
|
+
# optional parentheses can be used. The properties that can be used in the
|
162
|
+
# expression are the following: * `deviceId {operator} '{deviceIdValue}'` : a
|
163
|
+
# lexicographical comparison is made on the deviceId value, use single quotes
|
164
|
+
# for the value. * `lastModified {operator} {number}L` : returns only meta
|
165
|
+
# properties or appInfo properties whose last value modification timestamp
|
166
|
+
# compared to the specified value is matching (value is milliseconds since
|
167
|
+
# January 1st, 1970 UTC). Please note the `L` character after the number of
|
168
|
+
# milliseconds, its required when the number of milliseconds exceeds `2^31 - 1`
|
169
|
+
# (which is always the case for recent timestamps). Using `lastModified`
|
170
|
+
# excludes all devices from the output that have no property matching the
|
171
|
+
# timestamp criteria, like `$select`. Please note that the internal value of
|
240
172
|
# `lastModified` timestamp for a given property is never part of the results.
|
241
173
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
242
174
|
# to the HTTP request.
|
@@ -483,6 +415,7 @@ module Azure::ARM::MobileEngagement
|
|
483
415
|
# Update the tags registered for a set of devices running an application.
|
484
416
|
# Updates are performed asynchronously, meaning that a few seconds are needed
|
485
417
|
# before the modifications appear in the results of the Get device command.
|
418
|
+
#
|
486
419
|
#
|
487
420
|
# @param parameters [DeviceTagsParameters]
|
488
421
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -499,6 +432,7 @@ module Azure::ARM::MobileEngagement
|
|
499
432
|
# Update the tags registered for a set of devices running an application.
|
500
433
|
# Updates are performed asynchronously, meaning that a few seconds are needed
|
501
434
|
# before the modifications appear in the results of the Get device command.
|
435
|
+
#
|
502
436
|
#
|
503
437
|
# @param parameters [DeviceTagsParameters]
|
504
438
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -514,6 +448,7 @@ module Azure::ARM::MobileEngagement
|
|
514
448
|
# Update the tags registered for a set of devices running an application.
|
515
449
|
# Updates are performed asynchronously, meaning that a few seconds are needed
|
516
450
|
# before the modifications appear in the results of the Get device command.
|
451
|
+
#
|
517
452
|
#
|
518
453
|
# @param parameters [DeviceTagsParameters]
|
519
454
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -585,9 +520,10 @@ module Azure::ARM::MobileEngagement
|
|
585
520
|
end
|
586
521
|
|
587
522
|
#
|
588
|
-
# Update the tags registered for a set of users running an application.
|
589
|
-
#
|
590
|
-
#
|
523
|
+
# Update the tags registered for a set of users running an application. Updates
|
524
|
+
# are performed asynchronously, meaning that a few seconds are needed before
|
525
|
+
# the modifications appear in the results of the Get device command.
|
526
|
+
#
|
591
527
|
#
|
592
528
|
# @param parameters [DeviceTagsParameters]
|
593
529
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -601,9 +537,10 @@ module Azure::ARM::MobileEngagement
|
|
601
537
|
end
|
602
538
|
|
603
539
|
#
|
604
|
-
# Update the tags registered for a set of users running an application.
|
605
|
-
#
|
606
|
-
#
|
540
|
+
# Update the tags registered for a set of users running an application. Updates
|
541
|
+
# are performed asynchronously, meaning that a few seconds are needed before
|
542
|
+
# the modifications appear in the results of the Get device command.
|
543
|
+
#
|
607
544
|
#
|
608
545
|
# @param parameters [DeviceTagsParameters]
|
609
546
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -616,9 +553,10 @@ module Azure::ARM::MobileEngagement
|
|
616
553
|
end
|
617
554
|
|
618
555
|
#
|
619
|
-
# Update the tags registered for a set of users running an application.
|
620
|
-
#
|
621
|
-
#
|
556
|
+
# Update the tags registered for a set of users running an application. Updates
|
557
|
+
# are performed asynchronously, meaning that a few seconds are needed before
|
558
|
+
# the modifications appear in the results of the Get device command.
|
559
|
+
#
|
622
560
|
#
|
623
561
|
# @param parameters [DeviceTagsParameters]
|
624
562
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -692,8 +630,8 @@ module Azure::ARM::MobileEngagement
|
|
692
630
|
#
|
693
631
|
# Query the information associated to the devices running an application.
|
694
632
|
#
|
695
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
696
|
-
#
|
633
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
634
|
+
# to List operation.
|
697
635
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
698
636
|
# will be added to the HTTP request.
|
699
637
|
#
|
@@ -707,8 +645,8 @@ module Azure::ARM::MobileEngagement
|
|
707
645
|
#
|
708
646
|
# Query the information associated to the devices running an application.
|
709
647
|
#
|
710
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
711
|
-
#
|
648
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
649
|
+
# to List operation.
|
712
650
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
713
651
|
# will be added to the HTTP request.
|
714
652
|
#
|
@@ -721,8 +659,8 @@ module Azure::ARM::MobileEngagement
|
|
721
659
|
#
|
722
660
|
# Query the information associated to the devices running an application.
|
723
661
|
#
|
724
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
725
|
-
#
|
662
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
663
|
+
# to List operation.
|
726
664
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
727
665
|
# to the HTTP request.
|
728
666
|
#
|
@@ -776,5 +714,65 @@ module Azure::ARM::MobileEngagement
|
|
776
714
|
promise.execute
|
777
715
|
end
|
778
716
|
|
717
|
+
#
|
718
|
+
# Query the information associated to the devices running an application.
|
719
|
+
#
|
720
|
+
# @param top [Integer] Number of devices to return with each call. Defaults to
|
721
|
+
# 100 and cannot return more. Passing a greater value is ignored. The response
|
722
|
+
# contains a `nextLink` property describing the URI path to get the next page
|
723
|
+
# of results if not all results could be returned at once.
|
724
|
+
# @param select [String] By default all `meta` and `appInfo` properties are
|
725
|
+
# returned, this property is used to restrict the output to the desired
|
726
|
+
# properties. It also excludes all devices from the output that have none of
|
727
|
+
# the selected properties. In other terms, only devices having at least one of
|
728
|
+
# the selected property being set is part of the results. Examples: -
|
729
|
+
# `$select=appInfo` : select all devices having at least 1 appInfo, return them
|
730
|
+
# all and don’t return any meta property. - `$select=meta` : return only meta
|
731
|
+
# properties in the output. - `$select=appInfo,meta/firstSeen,meta/lastSeen` :
|
732
|
+
# return all `appInfo`, plus meta object containing only firstSeen and lastSeen
|
733
|
+
# properties. The format is thus a comma separated list of properties to
|
734
|
+
# select. Use `appInfo` to select all appInfo properties, `meta` to select all
|
735
|
+
# meta properties. Use `appInfo/{key}` and `meta/{key}` to select specific
|
736
|
+
# appInfo and meta properties.
|
737
|
+
# @param filter [String] Filter can be used to reduce the number of results.
|
738
|
+
# Filter is a boolean expression that can look like the following examples: *
|
739
|
+
# `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` *
|
740
|
+
# `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge
|
741
|
+
# 'abcdef0123456789abcdef0123456789') and (deviceId lt
|
742
|
+
# 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)` The
|
743
|
+
# first example is used automatically for paging when returning the `nextLink`
|
744
|
+
# property. The filter expression is a combination of checks on some properties
|
745
|
+
# that can be compared to their value. The available operators are: * `gt` :
|
746
|
+
# greater than * `ge` : greater than or equals * `lt` : less than * `le` :
|
747
|
+
# less than or equals * `and` : to add multiple checks (all checks must pass),
|
748
|
+
# optional parentheses can be used. The properties that can be used in the
|
749
|
+
# expression are the following: * `deviceId {operator} '{deviceIdValue}'` : a
|
750
|
+
# lexicographical comparison is made on the deviceId value, use single quotes
|
751
|
+
# for the value. * `lastModified {operator} {number}L` : returns only meta
|
752
|
+
# properties or appInfo properties whose last value modification timestamp
|
753
|
+
# compared to the specified value is matching (value is milliseconds since
|
754
|
+
# January 1st, 1970 UTC). Please note the `L` character after the number of
|
755
|
+
# milliseconds, its required when the number of milliseconds exceeds `2^31 - 1`
|
756
|
+
# (which is always the case for recent timestamps). Using `lastModified`
|
757
|
+
# excludes all devices from the output that have no property matching the
|
758
|
+
# timestamp criteria, like `$select`. Please note that the internal value of
|
759
|
+
# `lastModified` timestamp for a given property is never part of the results.
|
760
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
761
|
+
# will be added to the HTTP request.
|
762
|
+
#
|
763
|
+
# @return [DevicesQueryResult] which provide lazy access to pages of the
|
764
|
+
# response.
|
765
|
+
#
|
766
|
+
def list_as_lazy(top = nil, select = nil, filter = nil, custom_headers = nil)
|
767
|
+
response = list_async(top, select, filter, custom_headers).value!
|
768
|
+
unless response.nil?
|
769
|
+
page = response.body
|
770
|
+
page.next_method = Proc.new do |next_page_link|
|
771
|
+
list_next_async(next_page_link, custom_headers)
|
772
|
+
end
|
773
|
+
page
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
779
777
|
end
|
780
778
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 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
|
|
@@ -91,6 +91,7 @@ module Azure::ARM::MobileEngagement
|
|
91
91
|
@accept_language = 'en-US'
|
92
92
|
@long_running_operation_retry_timeout = 30
|
93
93
|
@generate_client_request_id = true
|
94
|
+
add_telemetry
|
94
95
|
end
|
95
96
|
|
96
97
|
#
|
@@ -148,5 +149,17 @@ module Azure::ARM::MobileEngagement
|
|
148
149
|
super(request_url, method, path, options)
|
149
150
|
end
|
150
151
|
|
152
|
+
|
153
|
+
private
|
154
|
+
#
|
155
|
+
# Adds telemetry information.
|
156
|
+
#
|
157
|
+
def add_telemetry
|
158
|
+
sdk_information = 'azure_mgmt_mobile_engagement'
|
159
|
+
if defined? Azure::ARM::MobileEngagement::VERSION
|
160
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::MobileEngagement::VERSION}"
|
161
|
+
end
|
162
|
+
add_user_agent_information(sdk_information)
|
163
|
+
end
|
151
164
|
end
|
152
165
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 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
|
|
@@ -22,43 +22,6 @@ module Azure::ARM::MobileEngagement
|
|
22
22
|
# @return [EngagementManagementClient] reference to the EngagementManagementClient
|
23
23
|
attr_reader :client
|
24
24
|
|
25
|
-
#
|
26
|
-
# Get the list of export tasks.
|
27
|
-
#
|
28
|
-
# @param skip [Integer] Control paging of export tasks, start results at the
|
29
|
-
# given offset, defaults to 0 (1st page of data).
|
30
|
-
# @param top [Integer] Control paging of export tasks, number of export tasks
|
31
|
-
# to return with each call. By default, it returns all export tasks with a
|
32
|
-
# default paging of 20.
|
33
|
-
# The response contains a `nextLink` property describing the path to get the
|
34
|
-
# next page if there are more results.
|
35
|
-
# The maximum paging limit for $top is 40.
|
36
|
-
# @param orderby [String] Sort results by an expression which looks like
|
37
|
-
# `$orderby=taskId asc` (default when not specified).
|
38
|
-
# The syntax is orderby={property} {direction} or just orderby={property}.
|
39
|
-
# Properties that can be specified for sorting: taskId, errorDetails,
|
40
|
-
# dateCreated, taskStatus, and dateCreated.
|
41
|
-
# The available directions are asc (for ascending order) and desc (for
|
42
|
-
# descending order).
|
43
|
-
# When not specified the asc direction is used.
|
44
|
-
# Only one orderby property can be specified.
|
45
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
46
|
-
# will be added to the HTTP request.
|
47
|
-
#
|
48
|
-
# @return [ExportTaskListResult] which provide lazy access to pages of the
|
49
|
-
# response.
|
50
|
-
#
|
51
|
-
def list_as_lazy(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
52
|
-
response = list_async(skip, top, orderby, custom_headers).value!
|
53
|
-
unless response.nil?
|
54
|
-
page = response.body
|
55
|
-
page.next_method = Proc.new do |next_page_link|
|
56
|
-
list_next_async(next_page_link, custom_headers)
|
57
|
-
end
|
58
|
-
page
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
25
|
#
|
63
26
|
# Get the list of export tasks.
|
64
27
|
#
|
@@ -1279,8 +1242,8 @@ module Azure::ARM::MobileEngagement
|
|
1279
1242
|
#
|
1280
1243
|
# Get the list of export tasks.
|
1281
1244
|
#
|
1282
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
1283
|
-
#
|
1245
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1246
|
+
# to List operation.
|
1284
1247
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1285
1248
|
# will be added to the HTTP request.
|
1286
1249
|
#
|
@@ -1294,8 +1257,8 @@ module Azure::ARM::MobileEngagement
|
|
1294
1257
|
#
|
1295
1258
|
# Get the list of export tasks.
|
1296
1259
|
#
|
1297
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
1298
|
-
#
|
1260
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1261
|
+
# to List operation.
|
1299
1262
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1300
1263
|
# will be added to the HTTP request.
|
1301
1264
|
#
|
@@ -1308,8 +1271,8 @@ module Azure::ARM::MobileEngagement
|
|
1308
1271
|
#
|
1309
1272
|
# Get the list of export tasks.
|
1310
1273
|
#
|
1311
|
-
# @param next_page_link [String] The NextLink from the previous successful
|
1312
|
-
#
|
1274
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1275
|
+
# to List operation.
|
1313
1276
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1314
1277
|
# to the HTTP request.
|
1315
1278
|
#
|
@@ -1363,5 +1326,42 @@ module Azure::ARM::MobileEngagement
|
|
1363
1326
|
promise.execute
|
1364
1327
|
end
|
1365
1328
|
|
1329
|
+
#
|
1330
|
+
# Get the list of export tasks.
|
1331
|
+
#
|
1332
|
+
# @param skip [Integer] Control paging of export tasks, start results at the
|
1333
|
+
# given offset, defaults to 0 (1st page of data).
|
1334
|
+
# @param top [Integer] Control paging of export tasks, number of export tasks
|
1335
|
+
# to return with each call. By default, it returns all export tasks with a
|
1336
|
+
# default paging of 20.
|
1337
|
+
# The response contains a `nextLink` property describing the path to get the
|
1338
|
+
# next page if there are more results.
|
1339
|
+
# The maximum paging limit for $top is 40.
|
1340
|
+
# @param orderby [String] Sort results by an expression which looks like
|
1341
|
+
# `$orderby=taskId asc` (default when not specified).
|
1342
|
+
# The syntax is orderby={property} {direction} or just orderby={property}.
|
1343
|
+
# Properties that can be specified for sorting: taskId, errorDetails,
|
1344
|
+
# dateCreated, taskStatus, and dateCreated.
|
1345
|
+
# The available directions are asc (for ascending order) and desc (for
|
1346
|
+
# descending order).
|
1347
|
+
# When not specified the asc direction is used.
|
1348
|
+
# Only one orderby property can be specified.
|
1349
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1350
|
+
# will be added to the HTTP request.
|
1351
|
+
#
|
1352
|
+
# @return [ExportTaskListResult] which provide lazy access to pages of the
|
1353
|
+
# response.
|
1354
|
+
#
|
1355
|
+
def list_as_lazy(skip = 0, top = 20, orderby = nil, custom_headers = nil)
|
1356
|
+
response = list_async(skip, top, orderby, custom_headers).value!
|
1357
|
+
unless response.nil?
|
1358
|
+
page = response.body
|
1359
|
+
page.next_method = Proc.new do |next_page_link|
|
1360
|
+
list_next_async(next_page_link, custom_headers)
|
1361
|
+
end
|
1362
|
+
page
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
|
1366
1366
|
end
|
1367
1367
|
end
|