-
Notifications
You must be signed in to change notification settings - Fork 80
/
create_management_saved_search_details.go
82 lines (58 loc) · 3.45 KB
/
create_management_saved_search_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
// ManagementDashboard API
//
// API for the Management Dashboard micro-service. Use this API for dashboard and saved search metadata preservation and to perform tasks such as creating a dashboard, creating a saved search, and obtaining a list of dashboards and saved searches in a compartment.
//
//
package managementdashboard
import (
"github.com/oracle/oci-go-sdk/v43/common"
)
// CreateManagementSavedSearchDetails Properties of a saved search.
type CreateManagementSavedSearchDetails struct {
// Display name of the saved search.
DisplayName *string `mandatory:"true" json:"displayName"`
// ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID.
ProviderId *string `mandatory:"true" json:"providerId"`
// Version of the service that owns this saved search.
ProviderVersion *string `mandatory:"true" json:"providerVersion"`
// Name of the service (for example, Logging Analytics) that owns the saved search.
ProviderName *string `mandatory:"true" json:"providerName"`
// OCID of the compartment in which the saved search resides.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// Determines whether the saved search is an Out-of-the-Box (OOB) saved search. Note that OOB saved searches are only provided by Oracle and cannot be modified.
IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"`
// Description of the saved search.
Description *string `mandatory:"true" json:"description"`
// JSON that contains internationalization options.
Nls *interface{} `mandatory:"true" json:"nls"`
// Determines how the saved search is displayed in a dashboard.
Type SavedSearchTypesEnum `mandatory:"true" json:"type"`
// JSON that contains user interface options.
UiConfig *interface{} `mandatory:"true" json:"uiConfig"`
// Array of JSON that contain data source options.
DataConfig []interface{} `mandatory:"true" json:"dataConfig"`
// Screen image of the saved search.
ScreenImage *string `mandatory:"true" json:"screenImage"`
// Version of the metadata.
MetadataVersion *string `mandatory:"true" json:"metadataVersion"`
// Reference to the HTML file of the widget.
WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"`
// Reference to the view model of the widget.
WidgetVM *string `mandatory:"true" json:"widgetVM"`
// ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search.
Id *string `mandatory:"false" json:"id"`
// Defines parameters for the saved search.
ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateManagementSavedSearchDetails) String() string {
return common.PointerString(m)
}