Documentation ¶
Index ¶
- func PossibleValuesForEventLevel() []string
- type ActivityLogsClient
- func (c ActivityLogsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ActivityLogsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ActivityLogsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type EventData
- type EventDataOperationPredicate
- type EventLevel
- type HTTPRequestInfo
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type LocalizableString
- type SenderAuthorization
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEventLevel ¶
func PossibleValuesForEventLevel() []string
Types ¶
type ActivityLogsClient ¶
type ActivityLogsClient struct {
Client *resourcemanager.Client
}
func NewActivityLogsClientWithBaseURI ¶
func NewActivityLogsClientWithBaseURI(sdkApi sdkEnv.Api) (*ActivityLogsClient, error)
func (ActivityLogsClient) List ¶
func (c ActivityLogsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ActivityLogsClient) ListComplete ¶
func (c ActivityLogsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ActivityLogsClient) ListCompleteMatchingPredicate ¶
func (c ActivityLogsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate EventDataOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type EventData ¶
type EventData struct { Authorization *SenderAuthorization `json:"authorization,omitempty"` Caller *string `json:"caller,omitempty"` Category *LocalizableString `json:"category,omitempty"` Claims *map[string]string `json:"claims,omitempty"` CorrelationId *string `json:"correlationId,omitempty"` Description *string `json:"description,omitempty"` EventDataId *string `json:"eventDataId,omitempty"` EventName *LocalizableString `json:"eventName,omitempty"` EventTimestamp *string `json:"eventTimestamp,omitempty"` HTTPRequest *HTTPRequestInfo `json:"httpRequest,omitempty"` Id *string `json:"id,omitempty"` Level *EventLevel `json:"level,omitempty"` OperationId *string `json:"operationId,omitempty"` OperationName *LocalizableString `json:"operationName,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` ResourceId *string `json:"resourceId,omitempty"` ResourceProviderName *LocalizableString `json:"resourceProviderName,omitempty"` ResourceType *LocalizableString `json:"resourceType,omitempty"` Status *LocalizableString `json:"status,omitempty"` SubStatus *LocalizableString `json:"subStatus,omitempty"` SubmissionTimestamp *string `json:"submissionTimestamp,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
func (*EventData) GetEventTimestampAsTime ¶
func (*EventData) GetSubmissionTimestampAsTime ¶
func (*EventData) SetEventTimestampAsTime ¶
func (*EventData) SetSubmissionTimestampAsTime ¶
type EventDataOperationPredicate ¶
type EventDataOperationPredicate struct { Caller *string CorrelationId *string Description *string EventDataId *string EventTimestamp *string Id *string OperationId *string ResourceGroupName *string ResourceId *string SubmissionTimestamp *string SubscriptionId *string TenantId *string }
func (EventDataOperationPredicate) Matches ¶
func (p EventDataOperationPredicate) Matches(input EventData) bool
type EventLevel ¶
type EventLevel string
const ( EventLevelCritical EventLevel = "Critical" EventLevelError EventLevel = "Error" EventLevelInformational EventLevel = "Informational" EventLevelVerbose EventLevel = "Verbose" EventLevelWarning EventLevel = "Warning" )
func (*EventLevel) UnmarshalJSON ¶ added in v0.20240229.1102109
func (s *EventLevel) UnmarshalJSON(bytes []byte) error
type HTTPRequestInfo ¶
type ListCompleteResult ¶
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20240229.1102109
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20240229.1102109
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20240229.1102109
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type LocalizableString ¶
type SenderAuthorization ¶
Click to show internal directories.
Click to hide internal directories.