public interface ActivityLogsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<EventDataInner> |
list(String filter)
Provides the list of records from the activity logs.
|
com.azure.core.http.rest.PagedIterable<EventDataInner> |
list(String filter,
String select,
com.azure.core.util.Context context)
Provides the list of records from the activity logs.
|
com.azure.core.http.rest.PagedFlux<EventDataInner> |
listAsync(String filter)
Provides the list of records from the activity logs.
|
com.azure.core.http.rest.PagedFlux<EventDataInner> |
listAsync(String filter,
String select)
Provides the list of records from the activity logs.
|
com.azure.core.http.rest.PagedFlux<EventDataInner> listAsync(String filter, String select)
filter - Reduces the set of data collected.<br>This argument is required and it also requires at least
the start date/time.<br>The **$filter** argument is very restricted and allows only the following
patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
syntax is allowed.select - Used to fetch events with only the given properties.<br>The **$select** argument is a comma
separated list of property names to be returned. Possible values are: *authorization*, *claims*,
*correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*,
*operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*,
*status*, *submissionTimestamp*, *subStatus*, *subscriptionId*.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<EventDataInner> listAsync(String filter)
filter - Reduces the set of data collected.<br>This argument is required and it also requires at least
the start date/time.<br>The **$filter** argument is very restricted and allows only the following
patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
syntax is allowed.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<EventDataInner> list(String filter, String select, com.azure.core.util.Context context)
filter - Reduces the set of data collected.<br>This argument is required and it also requires at least
the start date/time.<br>The **$filter** argument is very restricted and allows only the following
patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
syntax is allowed.select - Used to fetch events with only the given properties.<br>The **$select** argument is a comma
separated list of property names to be returned. Possible values are: *authorization*, *claims*,
*correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*, *httpRequest*, *level*,
*operationId*, *operationName*, *properties*, *resourceGroupName*, *resourceProviderName*, *resourceId*,
*status*, *submissionTimestamp*, *subStatus*, *subscriptionId*.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<EventDataInner> list(String filter)
filter - Reduces the set of data collected.<br>This argument is required and it also requires at least
the start date/time.<br>The **$filter** argument is very restricted and allows only the following
patterns.<br>- *List events for a resource group*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq
'resourceURI'.<br>- *List events for a subscription in a time range*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.<br>- *List events
for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.<br>- *List events for a
correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.<br><br>**NOTE**: No other
syntax is allowed.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.