ChangeManagementDashboardsCompartmentDetails Compartment to move the dashboard to.
type ChangeManagementDashboardsCompartmentDetails struct { // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagementDashboardsCompartmentDetails) String() string
ChangeManagementDashboardsCompartmentRequest wrapper for the ChangeManagementDashboardsCompartment operation
type ChangeManagementDashboardsCompartmentRequest struct { // unique dashboard identifier ManagementDashboardId *string `mandatory:"true" contributesTo:"path" name:"managementDashboardId"` // Id for dashboard to be moved. ChangeManagementDashboardsCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeManagementDashboardsCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagementDashboardsCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagementDashboardsCompartmentRequest) String() string
ChangeManagementDashboardsCompartmentResponse wrapper for the ChangeManagementDashboardsCompartment operation
type ChangeManagementDashboardsCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ChangeManagementDashboardsCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagementDashboardsCompartmentResponse) String() string
ChangeManagementSavedSearchesCompartmentDetails Details required for changing the compartment of saved search.
type ChangeManagementSavedSearchesCompartmentDetails struct { // Compartment Identifier CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeManagementSavedSearchesCompartmentDetails) String() string
ChangeManagementSavedSearchesCompartmentRequest wrapper for the ChangeManagementSavedSearchesCompartment operation
type ChangeManagementSavedSearchesCompartmentRequest struct { // unique saved search identifier ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // Compartment id to move the saved search to. ChangeManagementSavedSearchesCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeManagementSavedSearchesCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeManagementSavedSearchesCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeManagementSavedSearchesCompartmentRequest) String() string
ChangeManagementSavedSearchesCompartmentResponse wrapper for the ChangeManagementSavedSearchesCompartment operation
type ChangeManagementSavedSearchesCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` }
func (response ChangeManagementSavedSearchesCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeManagementSavedSearchesCompartmentResponse) String() string
CreateManagementDashboardDetails Properties for a dashboard. Id is not required if not Out Of the Box dashboard.
type CreateManagementDashboardDetails struct { // Provider Id. ProviderId *string `mandatory:"true" json:"providerId"` // Provider name. ProviderName *string `mandatory:"true" json:"providerName"` // Provider version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Dashboard tiles array. Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name for dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Dashboard's description. Description *string `mandatory:"true" json:"description"` // The ocid of the compartment that owns the dashboard. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // String boolean ("true" or "false"). When false, dashboard is not shown in dashboard home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // String boolean ("true" or "false"). Whether to show the dashboard description. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // screen image. ScreenImage *string `mandatory:"true" json:"screenImage"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // NORMAL means single dashboard, or SET means dashboard set. Type *string `mandatory:"true" json:"type"` // String boolean ("true" or "false"). IsFavorite *bool `mandatory:"true" json:"isFavorite"` // Dashboard Id. Must be providied if OOB, otherwise must not be provided. DashboardId *string `mandatory:"false" json:"dashboardId"` // 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 CreateManagementDashboardDetails) String() string
CreateManagementDashboardRequest wrapper for the CreateManagementDashboard operation
type CreateManagementDashboardRequest struct { // Json metadata for creating a new dashboard. CreateManagementDashboardDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateManagementDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagementDashboardRequest) String() string
CreateManagementDashboardResponse wrapper for the CreateManagementDashboard operation
type CreateManagementDashboardResponse struct { // The underlying http response RawResponse *http.Response // The ManagementDashboard instance ManagementDashboard `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagementDashboardResponse) String() string
CreateManagementSavedSearchDetails Properties of a saved search.
type CreateManagementSavedSearchDetails struct { // id for saved search. Must be provided if OOB, otherwise must not be provided. Id *string `mandatory:"true" json:"id"` // Display name for saved search. DisplayName *string `mandatory:"true" json:"displayName"` // Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id. ProviderId *string `mandatory:"true" json:"providerId"` // Version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Name for application (LA, APM, etc.) that owners this saved search. ProviderName *string `mandatory:"true" json:"providerName"` // The ocid of the compartment that owns the saved search. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false") to indicate Out Of the Box saved search. IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"` // Description. Description *string `mandatory:"true" json:"description"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // How to show the saved search. Type SavedSearchTypesEnum `mandatory:"true" json:"type"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // Screenshot. ScreenImage *string `mandatory:"true" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Template. WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"` // View Model WidgetVM *string `mandatory:"true" json:"widgetVM"` // 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
CreateManagementSavedSearchRequest wrapper for the CreateManagementSavedSearch operation
type CreateManagementSavedSearchRequest struct { // Json metadata for the saved search. CreateManagementSavedSearchDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateManagementSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateManagementSavedSearchRequest) String() string
CreateManagementSavedSearchResponse wrapper for the CreateManagementSavedSearch operation
type CreateManagementSavedSearchResponse struct { // The underlying http response RawResponse *http.Response // The ManagementSavedSearch instance ManagementSavedSearch `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateManagementSavedSearchResponse) String() string
DashxApisClient a client for DashxApis
type DashxApisClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDashxApisClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DashxApisClient, err error)
NewDashxApisClientWithConfigurationProvider Creates a new default DashxApis client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDashxApisClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DashxApisClient, err error)
NewDashxApisClientWithOboToken Creates a new default DashxApis client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DashxApisClient) ChangeManagementDashboardsCompartment(ctx context.Context, request ChangeManagementDashboardsCompartmentRequest) (response ChangeManagementDashboardsCompartmentResponse, err error)
ChangeManagementDashboardsCompartment Move the dashboard from existing compartment to a new compartment.
func (client DashxApisClient) ChangeManagementSavedSearchesCompartment(ctx context.Context, request ChangeManagementSavedSearchesCompartmentRequest) (response ChangeManagementSavedSearchesCompartmentResponse, err error)
ChangeManagementSavedSearchesCompartment Move the saved search from existing compartment to a new compartment.
func (client *DashxApisClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DashxApisClient) CreateManagementDashboard(ctx context.Context, request CreateManagementDashboardRequest) (response CreateManagementDashboardResponse, err error)
CreateManagementDashboard Creates a new dashboard. Limit for number of saved searches in a dashboard is 20.
func (client DashxApisClient) CreateManagementSavedSearch(ctx context.Context, request CreateManagementSavedSearchRequest) (response CreateManagementSavedSearchResponse, err error)
CreateManagementSavedSearch Creates a new saved search.
func (client DashxApisClient) DeleteManagementDashboard(ctx context.Context, request DeleteManagementDashboardRequest) (response DeleteManagementDashboardResponse, err error)
DeleteManagementDashboard Deletes a Dashboard by id.
func (client DashxApisClient) DeleteManagementSavedSearch(ctx context.Context, request DeleteManagementSavedSearchRequest) (response DeleteManagementSavedSearchResponse, err error)
DeleteManagementSavedSearch Deletes a saved search by Id
func (client DashxApisClient) ExportDashboard(ctx context.Context, request ExportDashboardRequest) (response ExportDashboardResponse, err error)
ExportDashboard Exports an array of dashboards and their saved searches.
func (client DashxApisClient) GetManagementDashboard(ctx context.Context, request GetManagementDashboardRequest) (response GetManagementDashboardResponse, err error)
GetManagementDashboard Get a Dashboard and its saved searches by id. Deleted or unauthorized saved searches are marked by tile's state property.
func (client DashxApisClient) GetManagementSavedSearch(ctx context.Context, request GetManagementSavedSearchRequest) (response GetManagementSavedSearchResponse, err error)
GetManagementSavedSearch Get a saved search by Id.
func (client DashxApisClient) ImportDashboard(ctx context.Context, request ImportDashboardRequest) (response ImportDashboardResponse, err error)
ImportDashboard Import an array of dashboards and their saved searches.
func (client DashxApisClient) ListManagementDashboards(ctx context.Context, request ListManagementDashboardsRequest) (response ListManagementDashboardsResponse, err error)
ListManagementDashboards Gets list of dashboards and their saved searches for compartment with pagination. Returned properties are a summary.
func (client DashxApisClient) ListManagementSavedSearches(ctx context.Context, request ListManagementSavedSearchesRequest) (response ListManagementSavedSearchesResponse, err error)
ListManagementSavedSearches Gets list of saved searches with pagination. Returned properties are a summary.
func (client *DashxApisClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DashxApisClient) UpdateManagementDashboard(ctx context.Context, request UpdateManagementDashboardRequest) (response UpdateManagementDashboardResponse, err error)
UpdateManagementDashboard Updates an existing dashboard identified by id path parameter. Limit for number of saved searches in a dashboard is 20.
func (client DashxApisClient) UpdateManagementSavedSearch(ctx context.Context, request UpdateManagementSavedSearchRequest) (response UpdateManagementSavedSearchResponse, err error)
UpdateManagementSavedSearch Update an existing saved search. Id cannot be updated.
DeleteManagementDashboardRequest wrapper for the DeleteManagementDashboard operation
type DeleteManagementDashboardRequest struct { // unique dashboard identifier ManagementDashboardId *string `mandatory:"true" contributesTo:"path" name:"managementDashboardId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagementDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagementDashboardRequest) String() string
DeleteManagementDashboardResponse wrapper for the DeleteManagementDashboard operation
type DeleteManagementDashboardResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagementDashboardResponse) String() string
DeleteManagementSavedSearchRequest wrapper for the DeleteManagementSavedSearch operation
type DeleteManagementSavedSearchRequest struct { // unique saved search identifier ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteManagementSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteManagementSavedSearchRequest) String() string
DeleteManagementSavedSearchResponse wrapper for the DeleteManagementSavedSearch operation
type DeleteManagementSavedSearchResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteManagementSavedSearchResponse) String() string
ExportDashboardRequest wrapper for the ExportDashboard operation
type ExportDashboardRequest struct { // {"dashboardIds":["dashboardId1", "dashboardId2", ...]} ExportDashboardId *string `mandatory:"true" contributesTo:"path" name:"exportDashboardId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ExportDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ExportDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ExportDashboardRequest) String() string
ExportDashboardResponse wrapper for the ExportDashboard operation
type ExportDashboardResponse struct { // The underlying http response RawResponse *http.Response // The ManagementDashboardExportDetails instance ManagementDashboardExportDetails `presentIn:"body"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ExportDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ExportDashboardResponse) String() string
GetManagementDashboardRequest wrapper for the GetManagementDashboard operation
type GetManagementDashboardRequest struct { // unique dashboard identifier ManagementDashboardId *string `mandatory:"true" contributesTo:"path" name:"managementDashboardId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagementDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementDashboardRequest) String() string
GetManagementDashboardResponse wrapper for the GetManagementDashboard operation
type GetManagementDashboardResponse struct { // The underlying http response RawResponse *http.Response // The ManagementDashboard instance ManagementDashboard `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementDashboardResponse) String() string
GetManagementSavedSearchRequest wrapper for the GetManagementSavedSearch operation
type GetManagementSavedSearchRequest struct { // unique saved search identifier ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetManagementSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetManagementSavedSearchRequest) String() string
GetManagementSavedSearchResponse wrapper for the GetManagementSavedSearch operation
type GetManagementSavedSearchResponse struct { // The underlying http response RawResponse *http.Response // The ManagementSavedSearch instance ManagementSavedSearch `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetManagementSavedSearchResponse) String() string
ImportDashboardRequest wrapper for the ImportDashboard operation
type ImportDashboardRequest struct { // Json metadata for dashboards and their saved searches to import. ManagementDashboardImportDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ImportDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ImportDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ImportDashboardRequest) String() string
ImportDashboardResponse wrapper for the ImportDashboard operation
type ImportDashboardResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ImportDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ImportDashboardResponse) String() string
LifecycleStatesEnum Enum with underlying type: string
type LifecycleStatesEnum string
Set of constants representing the allowable values for LifecycleStatesEnum
const ( LifecycleStatesActive LifecycleStatesEnum = "ACTIVE" )
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
ListManagementDashboardsRequest wrapper for the ListManagementDashboards operation
type ListManagementDashboardsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementDashboardsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListManagementDashboardsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagementDashboardsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementDashboardsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementDashboardsRequest) String() string
ListManagementDashboardsResponse wrapper for the ListManagementDashboards operation
type ListManagementDashboardsResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagementDashboardCollection instances ManagementDashboardCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementDashboardsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementDashboardsResponse) String() string
ListManagementDashboardsSortByEnum Enum with underlying type: string
type ListManagementDashboardsSortByEnum string
Set of constants representing the allowable values for ListManagementDashboardsSortByEnum
const ( ListManagementDashboardsSortByTimecreated ListManagementDashboardsSortByEnum = "timeCreated" ListManagementDashboardsSortByDisplayname ListManagementDashboardsSortByEnum = "displayName" )
func GetListManagementDashboardsSortByEnumValues() []ListManagementDashboardsSortByEnum
GetListManagementDashboardsSortByEnumValues Enumerates the set of values for ListManagementDashboardsSortByEnum
ListManagementDashboardsSortOrderEnum Enum with underlying type: string
type ListManagementDashboardsSortOrderEnum string
Set of constants representing the allowable values for ListManagementDashboardsSortOrderEnum
const ( ListManagementDashboardsSortOrderAsc ListManagementDashboardsSortOrderEnum = "ASC" ListManagementDashboardsSortOrderDesc ListManagementDashboardsSortOrderEnum = "DESC" )
func GetListManagementDashboardsSortOrderEnumValues() []ListManagementDashboardsSortOrderEnum
GetListManagementDashboardsSortOrderEnumValues Enumerates the set of values for ListManagementDashboardsSortOrderEnum
ListManagementSavedSearchesRequest wrapper for the ListManagementSavedSearches operation
type ListManagementSavedSearchesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListManagementSavedSearchesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListManagementSavedSearchesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListManagementSavedSearchesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListManagementSavedSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListManagementSavedSearchesRequest) String() string
ListManagementSavedSearchesResponse wrapper for the ListManagementSavedSearches operation
type ListManagementSavedSearchesResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagementSavedSearchCollection instances ManagementSavedSearchCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListManagementSavedSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListManagementSavedSearchesResponse) String() string
ListManagementSavedSearchesSortByEnum Enum with underlying type: string
type ListManagementSavedSearchesSortByEnum string
Set of constants representing the allowable values for ListManagementSavedSearchesSortByEnum
const ( ListManagementSavedSearchesSortByTimecreated ListManagementSavedSearchesSortByEnum = "timeCreated" ListManagementSavedSearchesSortByDisplayname ListManagementSavedSearchesSortByEnum = "displayName" )
func GetListManagementSavedSearchesSortByEnumValues() []ListManagementSavedSearchesSortByEnum
GetListManagementSavedSearchesSortByEnumValues Enumerates the set of values for ListManagementSavedSearchesSortByEnum
ListManagementSavedSearchesSortOrderEnum Enum with underlying type: string
type ListManagementSavedSearchesSortOrderEnum string
Set of constants representing the allowable values for ListManagementSavedSearchesSortOrderEnum
const ( ListManagementSavedSearchesSortOrderAsc ListManagementSavedSearchesSortOrderEnum = "ASC" ListManagementSavedSearchesSortOrderDesc ListManagementSavedSearchesSortOrderEnum = "DESC" )
func GetListManagementSavedSearchesSortOrderEnumValues() []ListManagementSavedSearchesSortOrderEnum
GetListManagementSavedSearchesSortOrderEnumValues Enumerates the set of values for ListManagementSavedSearchesSortOrderEnum
ManagementDashboard Properties for a dashboard, including dashboard id.
type ManagementDashboard struct { // Dashboard Id. Must be providied if OOB, otherwise must not be provided. DashboardId *string `mandatory:"true" json:"dashboardId"` // Provider Id. ProviderId *string `mandatory:"true" json:"providerId"` // Provider name. ProviderName *string `mandatory:"true" json:"providerName"` // Provider version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Dashboard tiles array Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name for dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Dashboard's description. Description *string `mandatory:"true" json:"description"` // The ocid of the compartment that owns the dashboard. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // String boolean ("true" or "false"). When false, dashboard is not shown in dashboard home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // Created by which user. CreatedBy *string `mandatory:"true" json:"createdBy"` // Time created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Updated by which user. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Time updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // String boolean ("true" or "false"). When false, dashboard is not automatically refreshed in intervals. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // screen image. ScreenImage *string `mandatory:"true" json:"screenImage"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // NORMAL means single dashboard, SET means dashboard set. Type *string `mandatory:"true" json:"type"` // String boolean ("true" or "false"). IsFavorite *bool `mandatory:"true" json:"isFavorite"` // Array of saved searches. SavedSearches []ManagementSavedSearch `mandatory:"true" json:"savedSearches"` // 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 ManagementDashboard) String() string
ManagementDashboardCollection List of dashboards.
type ManagementDashboardCollection struct { // Array of dashboard summaries. Items []ManagementDashboardSummary `mandatory:"true" json:"items"` }
func (m ManagementDashboardCollection) String() string
ManagementDashboardExportDetails Array of dashboards to export. Response from export must be directly acceptable to import (compartmentIds may have to be changed).
type ManagementDashboardExportDetails struct { // Array of dashboards Dashboards []ManagementDashboardForImportExportDetails `mandatory:"true" json:"dashboards"` // 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 ManagementDashboardExportDetails) String() string
ManagementDashboardForImportExportDetails Properties for a dashboard, including dashboard id, and saved searches, for import purposes.
type ManagementDashboardForImportExportDetails struct { // Dashboard Id. Must be providied if OOB, otherwise must not be provided. DashboardId *string `mandatory:"true" json:"dashboardId"` // Provider Id. ProviderId *string `mandatory:"true" json:"providerId"` // Provider name. ProviderName *string `mandatory:"true" json:"providerName"` // Provider version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Dashboard tiles array Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name for dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Dashboard's description. Description *string `mandatory:"true" json:"description"` // The ocid of the compartment that owns the dashboard. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // String boolean ("true" or "false"). When false, dashboard is not shown in dashboard home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // String boolean ("true" or "false"). When false, dashboard is not automatically refreshed in intervals. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // screen image. ScreenImage *string `mandatory:"true" json:"screenImage"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // NORMAL means single dashboard, SET means dashboard set. Type *string `mandatory:"true" json:"type"` // String boolean ("true" or "false"). IsFavorite *bool `mandatory:"true" json:"isFavorite"` // Array of saved searches. SavedSearches []ManagementSavedSearchForImportDetails `mandatory:"true" json:"savedSearches"` // 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 ManagementDashboardForImportExportDetails) String() string
ManagementDashboardImportDetails Array of dashboards to import.
type ManagementDashboardImportDetails struct { // Array of dashboards Dashboards []ManagementDashboardForImportExportDetails `mandatory:"true" json:"dashboards"` // 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 ManagementDashboardImportDetails) String() string
ManagementDashboardSummary Summary of properties for a dashboard.
type ManagementDashboardSummary struct { // Dashboard Id. Must be providied if OOB, otherwise must not be provided. DashboardId *string `mandatory:"true" json:"dashboardId"` // Display name for dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Dashboard's description. Description *string `mandatory:"true" json:"description"` // The ocid of the compartment that owns the dashboard. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // Created by which user. CreatedBy *string `mandatory:"true" json:"createdBy"` // Time created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Updated by which user. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Time updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // screen image. ScreenImage *string `mandatory:"true" json:"screenImage"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // NORMAL means single dashboard, SET means dashboard set. Type *string `mandatory:"true" json:"type"` // State of dashboard. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // 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:"true" 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:"true" json:"definedTags"` }
func (m ManagementDashboardSummary) String() string
ManagementDashboardTileDetails Properties of dashboard tile representing a saved search.
type ManagementDashboardTileDetails struct { // Display name for saved search. DisplayName *string `mandatory:"true" json:"displayName"` // Id of saved search. SavedSearchId *string `mandatory:"true" json:"savedSearchId"` // Row, Y position Row *int `mandatory:"true" json:"row"` // Column, X position Column *int `mandatory:"true" json:"column"` // Height position Height *int `mandatory:"true" json:"height"` // Width position Width *int `mandatory:"true" json:"width"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // State of saved search. State ManagementDashboardTileDetailsStateEnum `mandatory:"true" json:"state"` // Drill down configuration DrilldownConfig *interface{} `mandatory:"true" json:"drilldownConfig"` }
func (m ManagementDashboardTileDetails) String() string
ManagementDashboardTileDetailsStateEnum Enum with underlying type: string
type ManagementDashboardTileDetailsStateEnum string
Set of constants representing the allowable values for ManagementDashboardTileDetailsStateEnum
const ( ManagementDashboardTileDetailsStateDeleted ManagementDashboardTileDetailsStateEnum = "DELETED" ManagementDashboardTileDetailsStateEnum = "UNAUTHORIZED" ManagementDashboardTileDetailsStateDefault ManagementDashboardTileDetailsStateEnum = "DEFAULT" )
func GetManagementDashboardTileDetailsStateEnumValues() []ManagementDashboardTileDetailsStateEnum
GetManagementDashboardTileDetailsStateEnumValues Enumerates the set of values for ManagementDashboardTileDetailsStateEnum
ManagementSavedSearch Properties of a saved search.
type ManagementSavedSearch struct { // id for saved search. Must be provided if OOB, otherwise must not be provided. Id *string `mandatory:"true" json:"id"` // Display name for saved search. DisplayName *string `mandatory:"true" json:"displayName"` // Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id. ProviderId *string `mandatory:"true" json:"providerId"` // Version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Name for application (LA, APM, etc.) that owners this saved search. ProviderName *string `mandatory:"true" json:"providerName"` // The ocid of the compartment that owns the saved search. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false") to indicate Out Of the Box saved search. IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"` // Description. Description *string `mandatory:"true" json:"description"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // How to show the saved search. Type SavedSearchTypesEnum `mandatory:"true" json:"type"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // Created by which user. CreatedBy *string `mandatory:"true" json:"createdBy"` // Updated by which user. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Time created. Passed in to keep UI cache valid (operation is synchronous). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Time updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Screenshot. ScreenImage *string `mandatory:"true" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Template. WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"` // View Model WidgetVM *string `mandatory:"true" json:"widgetVM"` // 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 ManagementSavedSearch) String() string
ManagementSavedSearchCollection List of saved searches.
type ManagementSavedSearchCollection struct { // Array of saved search summaries. Items []ManagementSavedSearchSummary `mandatory:"true" json:"items"` }
func (m ManagementSavedSearchCollection) String() string
ManagementSavedSearchForImportDetails Properties of a saved search.
type ManagementSavedSearchForImportDetails struct { // id for saved search. Must be provided if OOB, otherwise must not be provided. Id *string `mandatory:"true" json:"id"` // Display name for saved search. DisplayName *string `mandatory:"true" json:"displayName"` // Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id. ProviderId *string `mandatory:"true" json:"providerId"` // Version. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Name for application (LA, APM, etc.) that owners this saved search. ProviderName *string `mandatory:"true" json:"providerName"` // The ocid of the compartment that owns the saved search. CompartmentId *string `mandatory:"true" json:"compartmentId"` // String boolean ("true" or "false") to indicate Out Of the Box saved search. IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"` // Description. Description *string `mandatory:"true" json:"description"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // How to show the saved search. Type SavedSearchTypesEnum `mandatory:"true" json:"type"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // Screenshot. ScreenImage *string `mandatory:"true" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Template. WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"` // View Model WidgetVM *string `mandatory:"true" json:"widgetVM"` // 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 ManagementSavedSearchForImportDetails) String() string
ManagementSavedSearchSummary Summary of properties of a saved search.
type ManagementSavedSearchSummary struct { // id for saved search. Must be provided if OOB, otherwise must not be provided. Id *string `mandatory:"true" json:"id"` // Display name for saved search. DisplayName *string `mandatory:"true" json:"displayName"` // String boolean ("true" or "false") to indicate Out Of the Box saved search. IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"` // Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id. ProviderId *string `mandatory:"true" json:"providerId"` // The ocid of the compartment that owns the saved search. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Description. Description *string `mandatory:"true" json:"description"` // Json for internationalization. Nls *interface{} `mandatory:"true" json:"nls"` // How to show the saved search. Type SavedSearchTypesEnum `mandatory:"true" json:"type"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"true" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"true" json:"dataConfig"` // Created by which user. CreatedBy *string `mandatory:"true" json:"createdBy"` // Updated by which user. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Screenshot. ScreenImage *string `mandatory:"true" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Template. WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"` // View Model WidgetVM *string `mandatory:"true" json:"widgetVM"` // Current state of saved search. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // 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 ManagementSavedSearchSummary) String() string
SavedSearchTypesEnum Enum with underlying type: string
type SavedSearchTypesEnum string
Set of constants representing the allowable values for SavedSearchTypesEnum
const ( SavedSearchTypesSearchShowInDashboard SavedSearchTypesEnum = "SEARCH_SHOW_IN_DASHBOARD" SavedSearchTypesSearchDontShowInDashboard SavedSearchTypesEnum = "SEARCH_DONT_SHOW_IN_DASHBOARD" SavedSearchTypesWidgetShowInDashboard SavedSearchTypesEnum = "WIDGET_SHOW_IN_DASHBOARD" SavedSearchTypesWidgetDontShowInDashboard SavedSearchTypesEnum = "WIDGET_DONT_SHOW_IN_DASHBOARD" )
func GetSavedSearchTypesEnumValues() []SavedSearchTypesEnum
GetSavedSearchTypesEnumValues Enumerates the set of values for SavedSearchTypesEnum
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
UpdateManagementDashboardDetails Properties for a dashboard. Dashboard id must not be provided.
type UpdateManagementDashboardDetails struct { // Provider Id. ProviderId *string `mandatory:"false" json:"providerId"` // Provider name. ProviderName *string `mandatory:"false" json:"providerName"` // Provider version. ProviderVersion *string `mandatory:"false" json:"providerVersion"` // Dashboard tiles array. Tiles []ManagementDashboardTileDetails `mandatory:"false" json:"tiles"` // Display name for dashboard. DisplayName *string `mandatory:"false" json:"displayName"` // Dashboard's description. Description *string `mandatory:"false" json:"description"` // The ocid of the compartment that owns the dashboard. CompartmentId *string `mandatory:"false" json:"compartmentId"` // String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle. IsOobDashboard *bool `mandatory:"false" json:"isOobDashboard"` // String boolean ("true" or "false"). When false, dashboard is not shown in dashboard home. IsShowInHome *bool `mandatory:"false" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"false" json:"metadataVersion"` // String boolean ("true" or "false"). Whether to show the dashboard description. IsShowDescription *bool `mandatory:"false" json:"isShowDescription"` // Screen image. ScreenImage *string `mandatory:"false" json:"screenImage"` // Json for internationalization. Nls *interface{} `mandatory:"false" json:"nls"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"false" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"false" json:"dataConfig"` // NORMAL meaning single dashboard, or SET meaning dashboard set. Type *string `mandatory:"false" json:"type"` // String boolean ("true" or "false"). IsFavorite *bool `mandatory:"false" json:"isFavorite"` // 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 UpdateManagementDashboardDetails) String() string
UpdateManagementDashboardRequest wrapper for the UpdateManagementDashboard operation
type UpdateManagementDashboardRequest struct { // unique dashboard identifier ManagementDashboardId *string `mandatory:"true" contributesTo:"path" name:"managementDashboardId"` // Json Metadata for changed dashboard properties. UpdateManagementDashboardDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagementDashboardRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagementDashboardRequest) String() string
UpdateManagementDashboardResponse wrapper for the UpdateManagementDashboard operation
type UpdateManagementDashboardResponse struct { // The underlying http response RawResponse *http.Response // The ManagementDashboard instance ManagementDashboard `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagementDashboardResponse) String() string
UpdateManagementSavedSearchDetails Properties of a saved search. Saved search id must not be provided.
type UpdateManagementSavedSearchDetails struct { // Display name for saved search. DisplayName *string `mandatory:"false" json:"displayName"` // Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id. ProviderId *string `mandatory:"false" json:"providerId"` // Version. ProviderVersion *string `mandatory:"false" json:"providerVersion"` // Name for application (LA, APM, etc.) that owners this saved search. ProviderName *string `mandatory:"false" json:"providerName"` // The ocid of the compartment that owns the saved search. CompartmentId *string `mandatory:"false" json:"compartmentId"` // String boolean ("true" or "false") to indicate Out Of the Box saved search. IsOobSavedSearch *bool `mandatory:"false" json:"isOobSavedSearch"` // Description. Description *string `mandatory:"false" json:"description"` // Json for internationalization. Nls *interface{} `mandatory:"false" json:"nls"` // How to show the saved search. Type SavedSearchTypesEnum `mandatory:"false" json:"type,omitempty"` // Json to contain options for UI. UiConfig *interface{} `mandatory:"false" json:"uiConfig"` // Array of Json to contain options for source of data. DataConfig []interface{} `mandatory:"false" json:"dataConfig"` // Screenshot. ScreenImage *string `mandatory:"false" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"false" json:"metadataVersion"` // Template. WidgetTemplate *string `mandatory:"false" json:"widgetTemplate"` // View Model WidgetVM *string `mandatory:"false" json:"widgetVM"` // 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 UpdateManagementSavedSearchDetails) String() string
UpdateManagementSavedSearchRequest wrapper for the UpdateManagementSavedSearch operation
type UpdateManagementSavedSearchRequest struct { // unique saved search identifier ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // Json metadata for changed properties in existing saved search. UpdateManagementSavedSearchDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateManagementSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateManagementSavedSearchRequest) String() string
UpdateManagementSavedSearchResponse wrapper for the UpdateManagementSavedSearch operation
type UpdateManagementSavedSearchResponse struct { // The underlying http response RawResponse *http.Response // The ManagementSavedSearch instance ManagementSavedSearch `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateManagementSavedSearchResponse) String() string