Documentation ¶
Index ¶
- func GetLifecycleStatesEnumStringValues() []string
- func GetListManagementDashboardsSortByEnumStringValues() []string
- func GetListManagementDashboardsSortOrderEnumStringValues() []string
- func GetListManagementSavedSearchesSortByEnumStringValues() []string
- func GetListManagementSavedSearchesSortOrderEnumStringValues() []string
- func GetManagementDashboardTileDetailsStateEnumStringValues() []string
- func GetSavedSearchTypesEnumStringValues() []string
- func GetSortOrdersEnumStringValues() []string
- type ChangeManagementDashboardsCompartmentDetails
- type ChangeManagementDashboardsCompartmentRequest
- func (request ChangeManagementDashboardsCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeManagementDashboardsCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeManagementDashboardsCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeManagementDashboardsCompartmentRequest) String() string
- func (request ChangeManagementDashboardsCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeManagementDashboardsCompartmentResponse
- type ChangeManagementSavedSearchesCompartmentDetails
- type ChangeManagementSavedSearchesCompartmentRequest
- func (request ChangeManagementSavedSearchesCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeManagementSavedSearchesCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeManagementSavedSearchesCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeManagementSavedSearchesCompartmentRequest) String() string
- func (request ChangeManagementSavedSearchesCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeManagementSavedSearchesCompartmentResponse
- type CreateManagementDashboardDetails
- type CreateManagementDashboardRequest
- func (request CreateManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateManagementDashboardRequest) String() string
- func (request CreateManagementDashboardRequest) ValidateEnumValue() (bool, error)
- type CreateManagementDashboardResponse
- type CreateManagementSavedSearchDetails
- type CreateManagementSavedSearchRequest
- func (request CreateManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateManagementSavedSearchRequest) String() string
- func (request CreateManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
- type CreateManagementSavedSearchResponse
- type DashxApisClient
- func (client DashxApisClient) ChangeManagementDashboardsCompartment(ctx context.Context, request ChangeManagementDashboardsCompartmentRequest) (response ChangeManagementDashboardsCompartmentResponse, err error)
- func (client DashxApisClient) ChangeManagementSavedSearchesCompartment(ctx context.Context, request ChangeManagementSavedSearchesCompartmentRequest) (response ChangeManagementSavedSearchesCompartmentResponse, err error)
- func (client *DashxApisClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DashxApisClient) CreateManagementDashboard(ctx context.Context, request CreateManagementDashboardRequest) (response CreateManagementDashboardResponse, err error)
- func (client DashxApisClient) CreateManagementSavedSearch(ctx context.Context, request CreateManagementSavedSearchRequest) (response CreateManagementSavedSearchResponse, err error)
- func (client DashxApisClient) DeleteManagementDashboard(ctx context.Context, request DeleteManagementDashboardRequest) (response DeleteManagementDashboardResponse, err error)
- func (client DashxApisClient) DeleteManagementSavedSearch(ctx context.Context, request DeleteManagementSavedSearchRequest) (response DeleteManagementSavedSearchResponse, err error)
- func (client DashxApisClient) ExportDashboard(ctx context.Context, request ExportDashboardRequest) (response ExportDashboardResponse, err error)
- func (client DashxApisClient) GetManagementDashboard(ctx context.Context, request GetManagementDashboardRequest) (response GetManagementDashboardResponse, err error)
- func (client DashxApisClient) GetManagementSavedSearch(ctx context.Context, request GetManagementSavedSearchRequest) (response GetManagementSavedSearchResponse, err error)
- func (client DashxApisClient) ImportDashboard(ctx context.Context, request ImportDashboardRequest) (response ImportDashboardResponse, err error)
- func (client DashxApisClient) ListManagementDashboards(ctx context.Context, request ListManagementDashboardsRequest) (response ListManagementDashboardsResponse, err error)
- func (client DashxApisClient) ListManagementSavedSearches(ctx context.Context, request ListManagementSavedSearchesRequest) (response ListManagementSavedSearchesResponse, err error)
- func (client *DashxApisClient) SetRegion(region string)
- func (client DashxApisClient) UpdateManagementDashboard(ctx context.Context, request UpdateManagementDashboardRequest) (response UpdateManagementDashboardResponse, err error)
- func (client DashxApisClient) UpdateManagementSavedSearch(ctx context.Context, request UpdateManagementSavedSearchRequest) (response UpdateManagementSavedSearchResponse, err error)
- type DeleteManagementDashboardRequest
- func (request DeleteManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteManagementDashboardRequest) String() string
- func (request DeleteManagementDashboardRequest) ValidateEnumValue() (bool, error)
- type DeleteManagementDashboardResponse
- type DeleteManagementSavedSearchRequest
- func (request DeleteManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteManagementSavedSearchRequest) String() string
- func (request DeleteManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
- type DeleteManagementSavedSearchResponse
- type ExportDashboardRequest
- func (request ExportDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ExportDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ExportDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request ExportDashboardRequest) String() string
- func (request ExportDashboardRequest) ValidateEnumValue() (bool, error)
- type ExportDashboardResponse
- type GetManagementDashboardRequest
- func (request GetManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request GetManagementDashboardRequest) String() string
- func (request GetManagementDashboardRequest) ValidateEnumValue() (bool, error)
- type GetManagementDashboardResponse
- type GetManagementSavedSearchRequest
- func (request GetManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
- func (request GetManagementSavedSearchRequest) String() string
- func (request GetManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
- type GetManagementSavedSearchResponse
- type ImportDashboardRequest
- func (request ImportDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ImportDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ImportDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request ImportDashboardRequest) String() string
- func (request ImportDashboardRequest) ValidateEnumValue() (bool, error)
- type ImportDashboardResponse
- type LifecycleStatesEnum
- type ListManagementDashboardsRequest
- func (request ListManagementDashboardsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementDashboardsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListManagementDashboardsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementDashboardsRequest) String() string
- func (request ListManagementDashboardsRequest) ValidateEnumValue() (bool, error)
- type ListManagementDashboardsResponse
- type ListManagementDashboardsSortByEnum
- type ListManagementDashboardsSortOrderEnum
- type ListManagementSavedSearchesRequest
- func (request ListManagementSavedSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListManagementSavedSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListManagementSavedSearchesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListManagementSavedSearchesRequest) String() string
- func (request ListManagementSavedSearchesRequest) ValidateEnumValue() (bool, error)
- type ListManagementSavedSearchesResponse
- type ListManagementSavedSearchesSortByEnum
- type ListManagementSavedSearchesSortOrderEnum
- type ManagementDashboard
- type ManagementDashboardCollection
- type ManagementDashboardExportDetails
- type ManagementDashboardForImportExportDetails
- type ManagementDashboardImportDetails
- type ManagementDashboardSummary
- type ManagementDashboardTileDetails
- type ManagementDashboardTileDetailsStateEnum
- type ManagementSavedSearch
- type ManagementSavedSearchCollection
- type ManagementSavedSearchForImportDetails
- type ManagementSavedSearchSummary
- type SavedSearchTypesEnum
- type SortOrdersEnum
- type UpdateManagementDashboardDetails
- type UpdateManagementDashboardRequest
- func (request UpdateManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateManagementDashboardRequest) String() string
- func (request UpdateManagementDashboardRequest) ValidateEnumValue() (bool, error)
- type UpdateManagementDashboardResponse
- type UpdateManagementSavedSearchDetails
- type UpdateManagementSavedSearchRequest
- func (request UpdateManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateManagementSavedSearchRequest) String() string
- func (request UpdateManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
- type UpdateManagementSavedSearchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLifecycleStatesEnumStringValues ¶
func GetLifecycleStatesEnumStringValues() []string
GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum
func GetListManagementDashboardsSortByEnumStringValues ¶
func GetListManagementDashboardsSortByEnumStringValues() []string
GetListManagementDashboardsSortByEnumStringValues Enumerates the set of values in String for ListManagementDashboardsSortByEnum
func GetListManagementDashboardsSortOrderEnumStringValues ¶
func GetListManagementDashboardsSortOrderEnumStringValues() []string
GetListManagementDashboardsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementDashboardsSortOrderEnum
func GetListManagementSavedSearchesSortByEnumStringValues ¶
func GetListManagementSavedSearchesSortByEnumStringValues() []string
GetListManagementSavedSearchesSortByEnumStringValues Enumerates the set of values in String for ListManagementSavedSearchesSortByEnum
func GetListManagementSavedSearchesSortOrderEnumStringValues ¶
func GetListManagementSavedSearchesSortOrderEnumStringValues() []string
GetListManagementSavedSearchesSortOrderEnumStringValues Enumerates the set of values in String for ListManagementSavedSearchesSortOrderEnum
func GetManagementDashboardTileDetailsStateEnumStringValues ¶
func GetManagementDashboardTileDetailsStateEnumStringValues() []string
GetManagementDashboardTileDetailsStateEnumStringValues Enumerates the set of values in String for ManagementDashboardTileDetailsStateEnum
func GetSavedSearchTypesEnumStringValues ¶
func GetSavedSearchTypesEnumStringValues() []string
GetSavedSearchTypesEnumStringValues Enumerates the set of values in String for SavedSearchTypesEnum
func GetSortOrdersEnumStringValues ¶
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
Types ¶
type ChangeManagementDashboardsCompartmentDetails ¶
type ChangeManagementDashboardsCompartmentDetails struct { // OCID of the compartment to which the dashboard is being moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeManagementDashboardsCompartmentDetails Compartment to which the dashboard is being moved.
func (ChangeManagementDashboardsCompartmentDetails) String ¶
func (m ChangeManagementDashboardsCompartmentDetails) String() string
func (ChangeManagementDashboardsCompartmentDetails) ValidateEnumValue ¶
func (m ChangeManagementDashboardsCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeManagementDashboardsCompartmentRequest ¶
type ChangeManagementDashboardsCompartmentRequest struct { // A unique dashboard identifier. ManagementDashboardId *string `mandatory:"true" contributesTo:"path" name:"managementDashboardId"` // ID of the dashboard that is being 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 }
ChangeManagementDashboardsCompartmentRequest wrapper for the ChangeManagementDashboardsCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ChangeManagementDashboardsCompartment.go.html to see an example of how to use ChangeManagementDashboardsCompartmentRequest.
func (ChangeManagementDashboardsCompartmentRequest) BinaryRequestBody ¶
func (request ChangeManagementDashboardsCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeManagementDashboardsCompartmentRequest) HTTPRequest ¶
func (request ChangeManagementDashboardsCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeManagementDashboardsCompartmentRequest) RetryPolicy ¶
func (request ChangeManagementDashboardsCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeManagementDashboardsCompartmentRequest) String ¶
func (request ChangeManagementDashboardsCompartmentRequest) String() string
func (ChangeManagementDashboardsCompartmentRequest) ValidateEnumValue ¶
func (request ChangeManagementDashboardsCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeManagementDashboardsCompartmentResponse ¶
type ChangeManagementDashboardsCompartmentResponse 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 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"` }
ChangeManagementDashboardsCompartmentResponse wrapper for the ChangeManagementDashboardsCompartment operation
func (ChangeManagementDashboardsCompartmentResponse) HTTPResponse ¶
func (response ChangeManagementDashboardsCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeManagementDashboardsCompartmentResponse) String ¶
func (response ChangeManagementDashboardsCompartmentResponse) String() string
type ChangeManagementSavedSearchesCompartmentDetails ¶
type ChangeManagementSavedSearchesCompartmentDetails struct { // OCID of the compartment to which the saved search is being moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeManagementSavedSearchesCompartmentDetails Compartment to which the saved search is being moved.
func (ChangeManagementSavedSearchesCompartmentDetails) String ¶
func (m ChangeManagementSavedSearchesCompartmentDetails) String() string
func (ChangeManagementSavedSearchesCompartmentDetails) ValidateEnumValue ¶
func (m ChangeManagementSavedSearchesCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeManagementSavedSearchesCompartmentRequest ¶
type ChangeManagementSavedSearchesCompartmentRequest struct { // A unique saved search identifier. ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // ID of the saved search that is being moved. 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 }
ChangeManagementSavedSearchesCompartmentRequest wrapper for the ChangeManagementSavedSearchesCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ChangeManagementSavedSearchesCompartment.go.html to see an example of how to use ChangeManagementSavedSearchesCompartmentRequest.
func (ChangeManagementSavedSearchesCompartmentRequest) BinaryRequestBody ¶
func (request ChangeManagementSavedSearchesCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeManagementSavedSearchesCompartmentRequest) HTTPRequest ¶
func (request ChangeManagementSavedSearchesCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeManagementSavedSearchesCompartmentRequest) RetryPolicy ¶
func (request ChangeManagementSavedSearchesCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeManagementSavedSearchesCompartmentRequest) String ¶
func (request ChangeManagementSavedSearchesCompartmentRequest) String() string
func (ChangeManagementSavedSearchesCompartmentRequest) ValidateEnumValue ¶
func (request ChangeManagementSavedSearchesCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeManagementSavedSearchesCompartmentResponse ¶
type ChangeManagementSavedSearchesCompartmentResponse 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 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"` }
ChangeManagementSavedSearchesCompartmentResponse wrapper for the ChangeManagementSavedSearchesCompartment operation
func (ChangeManagementSavedSearchesCompartmentResponse) HTTPResponse ¶
func (response ChangeManagementSavedSearchesCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeManagementSavedSearchesCompartmentResponse) String ¶
func (response ChangeManagementSavedSearchesCompartmentResponse) String() string
type CreateManagementDashboardDetails ¶
type CreateManagementDashboardDetails struct { // ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID. ProviderId *string `mandatory:"true" json:"providerId"` // Name of the service (for example, Logging Analytics) that owns the dashboard. ProviderName *string `mandatory:"true" json:"providerName"` // Version of the service that owns the dashboard. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Array of dashboard tiles. Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name of the dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Description of the dashboard. Description *string `mandatory:"true" json:"description"` // OCID of the compartment in which the dashboard resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // Determines whether the dashboard will be displayed in Dashboard Home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Determines whether the description of the dashboard is displayed. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // Screen image of the dashboard. ScreenImage *string `mandatory:"true" json:"screenImage"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"true" json:"nls"` // 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"` // Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set. Type *string `mandatory:"true" json:"type"` // Determines whether the dashboard is set as favorite. IsFavorite *bool `mandatory:"true" json:"isFavorite"` // ID of the dashboard, which must only be provided for Out-of-the-Box (OOB) dashboards. DashboardId *string `mandatory:"false" json:"dashboardId"` // Defines parameters for the dashboard. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
CreateManagementDashboardDetails Properties of a dashboard. ID of the dashboard must only be provided for Out-of-the-Box (OOB) dashboards.
func (CreateManagementDashboardDetails) String ¶
func (m CreateManagementDashboardDetails) String() string
func (CreateManagementDashboardDetails) ValidateEnumValue ¶
func (m CreateManagementDashboardDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateManagementDashboardRequest ¶
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 }
CreateManagementDashboardRequest wrapper for the CreateManagementDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/CreateManagementDashboard.go.html to see an example of how to use CreateManagementDashboardRequest.
func (CreateManagementDashboardRequest) BinaryRequestBody ¶
func (request CreateManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateManagementDashboardRequest) HTTPRequest ¶
func (request CreateManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateManagementDashboardRequest) RetryPolicy ¶
func (request CreateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateManagementDashboardRequest) String ¶
func (request CreateManagementDashboardRequest) String() string
func (CreateManagementDashboardRequest) ValidateEnumValue ¶
func (request CreateManagementDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateManagementDashboardResponse ¶
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"` }
CreateManagementDashboardResponse wrapper for the CreateManagementDashboard operation
func (CreateManagementDashboardResponse) HTTPResponse ¶
func (response CreateManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateManagementDashboardResponse) String ¶
func (response CreateManagementDashboardResponse) String() string
type CreateManagementSavedSearchDetails ¶
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"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
CreateManagementSavedSearchDetails Properties of a saved search.
func (CreateManagementSavedSearchDetails) String ¶
func (m CreateManagementSavedSearchDetails) String() string
func (CreateManagementSavedSearchDetails) ValidateEnumValue ¶
func (m CreateManagementSavedSearchDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateManagementSavedSearchRequest ¶
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 }
CreateManagementSavedSearchRequest wrapper for the CreateManagementSavedSearch operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/CreateManagementSavedSearch.go.html to see an example of how to use CreateManagementSavedSearchRequest.
func (CreateManagementSavedSearchRequest) BinaryRequestBody ¶
func (request CreateManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateManagementSavedSearchRequest) HTTPRequest ¶
func (request CreateManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateManagementSavedSearchRequest) RetryPolicy ¶
func (request CreateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateManagementSavedSearchRequest) String ¶
func (request CreateManagementSavedSearchRequest) String() string
func (CreateManagementSavedSearchRequest) ValidateEnumValue ¶
func (request CreateManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateManagementSavedSearchResponse ¶
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"` }
CreateManagementSavedSearchResponse wrapper for the CreateManagementSavedSearch operation
func (CreateManagementSavedSearchResponse) HTTPResponse ¶
func (response CreateManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateManagementSavedSearchResponse) String ¶
func (response CreateManagementSavedSearchResponse) String() string
type DashxApisClient ¶
type DashxApisClient struct { common.BaseClient // contains filtered or unexported fields }
DashxApisClient a client for DashxApis
func NewDashxApisClientWithConfigurationProvider ¶
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 ¶
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 (DashxApisClient) ChangeManagementDashboardsCompartment ¶
func (client DashxApisClient) ChangeManagementDashboardsCompartment(ctx context.Context, request ChangeManagementDashboardsCompartmentRequest) (response ChangeManagementDashboardsCompartmentResponse, err error)
ChangeManagementDashboardsCompartment Moves the dashboard from the existing compartment to a new compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ChangeManagementDashboardsCompartment.go.html to see an example of how to use ChangeManagementDashboardsCompartment API.
func (DashxApisClient) ChangeManagementSavedSearchesCompartment ¶
func (client DashxApisClient) ChangeManagementSavedSearchesCompartment(ctx context.Context, request ChangeManagementSavedSearchesCompartmentRequest) (response ChangeManagementSavedSearchesCompartmentResponse, err error)
ChangeManagementSavedSearchesCompartment Moves the saved search from the existing compartment to a new compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ChangeManagementSavedSearchesCompartment.go.html to see an example of how to use ChangeManagementSavedSearchesCompartment API.
func (*DashxApisClient) ConfigurationProvider ¶
func (client *DashxApisClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DashxApisClient) CreateManagementDashboard ¶
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. Here's an example of how you can use CLI to create a dashboard. For information on the details that must be passed to CREATE, you can use the GET API to obtain the Create.json file: `oci management-dashboard dashboard get --management-dashboard-id "ocid1.managementdashboard.oc1..dashboardId1" --query data > Create.json.` You can then modify the Create.json file by removing the `id` attribute and making other required changes, and use the `oci management-dashboard dashboard create` command.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/CreateManagementDashboard.go.html to see an example of how to use CreateManagementDashboard API.
func (DashxApisClient) CreateManagementSavedSearch ¶
func (client DashxApisClient) CreateManagementSavedSearch(ctx context.Context, request CreateManagementSavedSearchRequest) (response CreateManagementSavedSearchResponse, err error)
CreateManagementSavedSearch Creates a new saved search. Here's an example of how you can use CLI to create a saved search. For information on the details that must be passed to CREATE, you can use the GET API to obtain the Create.json file: `oci management-dashboard saved-search get --management-saved-search-id ocid1.managementsavedsearch.oc1..savedsearchId1 --query data > Create.json`. You can then modify the Create.json file by removing the `id` attribute and making other required changes, and use the `oci management-dashboard saved-search create` command.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/CreateManagementSavedSearch.go.html to see an example of how to use CreateManagementSavedSearch API.
func (DashxApisClient) DeleteManagementDashboard ¶
func (client DashxApisClient) DeleteManagementDashboard(ctx context.Context, request DeleteManagementDashboardRequest) (response DeleteManagementDashboardResponse, err error)
DeleteManagementDashboard Deletes a Dashboard by ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/DeleteManagementDashboard.go.html to see an example of how to use DeleteManagementDashboard API.
func (DashxApisClient) DeleteManagementSavedSearch ¶
func (client DashxApisClient) DeleteManagementSavedSearch(ctx context.Context, request DeleteManagementSavedSearchRequest) (response DeleteManagementSavedSearchResponse, err error)
DeleteManagementSavedSearch Deletes a saved search by ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/DeleteManagementSavedSearch.go.html to see an example of how to use DeleteManagementSavedSearch API.
func (DashxApisClient) ExportDashboard ¶
func (client DashxApisClient) ExportDashboard(ctx context.Context, request ExportDashboardRequest) (response ExportDashboardResponse, err error)
ExportDashboard Exports an array of dashboards and their saved searches. Export is designed to work with importDashboard. Here's an example of how you can use CLI to export a dashboard: `$oci management-dashboard dashboard export --query data --export-dashboard-id "{\"dashboardIds\":[\"ocid1.managementdashboard.oc1..dashboardId1\"]}" > dashboards.json`
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ExportDashboard.go.html to see an example of how to use ExportDashboard API.
func (DashxApisClient) GetManagementDashboard ¶
func (client DashxApisClient) GetManagementDashboard(ctx context.Context, request GetManagementDashboardRequest) (response GetManagementDashboardResponse, err error)
GetManagementDashboard Gets a dashboard and its saved searches by ID. Deleted or unauthorized saved searches are marked by tile's state property.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/GetManagementDashboard.go.html to see an example of how to use GetManagementDashboard API.
func (DashxApisClient) GetManagementSavedSearch ¶
func (client DashxApisClient) GetManagementSavedSearch(ctx context.Context, request GetManagementSavedSearchRequest) (response GetManagementSavedSearchResponse, err error)
GetManagementSavedSearch Gets a saved search by ID.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/GetManagementSavedSearch.go.html to see an example of how to use GetManagementSavedSearch API.
func (DashxApisClient) ImportDashboard ¶
func (client DashxApisClient) ImportDashboard(ctx context.Context, request ImportDashboardRequest) (response ImportDashboardResponse, err error)
ImportDashboard Imports an array of dashboards and their saved searches. Here's an example of how you can use CLI to import a dashboard. For information on the details that must be passed to IMPORT, you can use the EXPORT API to obtain the Import.json file: `oci management-dashboard dashboard export --query data --export-dashboard-id "{\"dashboardIds\":[\"ocid1.managementdashboard.oc1..dashboardId1\"]}" > Import.json`. Note that import API updates the resource if it already exists, and creates a new resource if it does not exist. To import to a different compartment, edit and change the compartmentId to the desired compartment OCID. Here's an example of how you can use CLI to import: `oci management-dashboard dashboard import --from-json file://Import.json`
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ImportDashboard.go.html to see an example of how to use ImportDashboard API.
func (DashxApisClient) ListManagementDashboards ¶
func (client DashxApisClient) ListManagementDashboards(ctx context.Context, request ListManagementDashboardsRequest) (response ListManagementDashboardsResponse, err error)
ListManagementDashboards Gets the list of dashboards in a compartment with pagination. Returned properties are the summary.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ListManagementDashboards.go.html to see an example of how to use ListManagementDashboards API.
func (DashxApisClient) ListManagementSavedSearches ¶
func (client DashxApisClient) ListManagementSavedSearches(ctx context.Context, request ListManagementSavedSearchesRequest) (response ListManagementSavedSearchesResponse, err error)
ListManagementSavedSearches Gets the list of saved searches in a compartment with pagination. Returned properties are the summary.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ListManagementSavedSearches.go.html to see an example of how to use ListManagementSavedSearches API.
func (*DashxApisClient) SetRegion ¶
func (client *DashxApisClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DashxApisClient) UpdateManagementDashboard ¶
func (client DashxApisClient) UpdateManagementDashboard(ctx context.Context, request UpdateManagementDashboardRequest) (response UpdateManagementDashboardResponse, err error)
UpdateManagementDashboard Updates an existing dashboard identified by ID path parameter. CompartmentId can be modified only by the changeCompartment API. Limit for number of saved searches in a dashboard is 20.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/UpdateManagementDashboard.go.html to see an example of how to use UpdateManagementDashboard API.
func (DashxApisClient) UpdateManagementSavedSearch ¶
func (client DashxApisClient) UpdateManagementSavedSearch(ctx context.Context, request UpdateManagementSavedSearchRequest) (response UpdateManagementSavedSearchResponse, err error)
UpdateManagementSavedSearch Updates an existing saved search identified by ID path parameter. CompartmentId can be modified only by the changeCompartment API.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/UpdateManagementSavedSearch.go.html to see an example of how to use UpdateManagementSavedSearch API.
type DeleteManagementDashboardRequest ¶
type DeleteManagementDashboardRequest struct { // A 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 }
DeleteManagementDashboardRequest wrapper for the DeleteManagementDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/DeleteManagementDashboard.go.html to see an example of how to use DeleteManagementDashboardRequest.
func (DeleteManagementDashboardRequest) BinaryRequestBody ¶
func (request DeleteManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteManagementDashboardRequest) HTTPRequest ¶
func (request DeleteManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteManagementDashboardRequest) RetryPolicy ¶
func (request DeleteManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteManagementDashboardRequest) String ¶
func (request DeleteManagementDashboardRequest) String() string
func (DeleteManagementDashboardRequest) ValidateEnumValue ¶
func (request DeleteManagementDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteManagementDashboardResponse ¶
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"` }
DeleteManagementDashboardResponse wrapper for the DeleteManagementDashboard operation
func (DeleteManagementDashboardResponse) HTTPResponse ¶
func (response DeleteManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteManagementDashboardResponse) String ¶
func (response DeleteManagementDashboardResponse) String() string
type DeleteManagementSavedSearchRequest ¶
type DeleteManagementSavedSearchRequest struct { // A 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 }
DeleteManagementSavedSearchRequest wrapper for the DeleteManagementSavedSearch operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/DeleteManagementSavedSearch.go.html to see an example of how to use DeleteManagementSavedSearchRequest.
func (DeleteManagementSavedSearchRequest) BinaryRequestBody ¶
func (request DeleteManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteManagementSavedSearchRequest) HTTPRequest ¶
func (request DeleteManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteManagementSavedSearchRequest) RetryPolicy ¶
func (request DeleteManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteManagementSavedSearchRequest) String ¶
func (request DeleteManagementSavedSearchRequest) String() string
func (DeleteManagementSavedSearchRequest) ValidateEnumValue ¶
func (request DeleteManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteManagementSavedSearchResponse ¶
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"` }
DeleteManagementSavedSearchResponse wrapper for the DeleteManagementSavedSearch operation
func (DeleteManagementSavedSearchResponse) HTTPResponse ¶
func (response DeleteManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteManagementSavedSearchResponse) String ¶
func (response DeleteManagementSavedSearchResponse) String() string
type ExportDashboardRequest ¶
type ExportDashboardRequest struct { // List of dashboardIds in plain text. The syntax is '{"dashboardIds":["dashboardId1", "dashboardId2", ...]}'. Escaping is needed when using in OCI CLI. For example, "{\"dashboardIds\":[\"ocid1.managementdashboard.oc1..dashboardId1\"]}" . 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 }
ExportDashboardRequest wrapper for the ExportDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ExportDashboard.go.html to see an example of how to use ExportDashboardRequest.
func (ExportDashboardRequest) BinaryRequestBody ¶
func (request ExportDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ExportDashboardRequest) HTTPRequest ¶
func (request ExportDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ExportDashboardRequest) RetryPolicy ¶
func (request ExportDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ExportDashboardRequest) String ¶
func (request ExportDashboardRequest) String() string
func (ExportDashboardRequest) ValidateEnumValue ¶
func (request ExportDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ExportDashboardResponse ¶
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"` }
ExportDashboardResponse wrapper for the ExportDashboard operation
func (ExportDashboardResponse) HTTPResponse ¶
func (response ExportDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ExportDashboardResponse) String ¶
func (response ExportDashboardResponse) String() string
type GetManagementDashboardRequest ¶
type GetManagementDashboardRequest struct { // A 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 }
GetManagementDashboardRequest wrapper for the GetManagementDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/GetManagementDashboard.go.html to see an example of how to use GetManagementDashboardRequest.
func (GetManagementDashboardRequest) BinaryRequestBody ¶
func (request GetManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetManagementDashboardRequest) HTTPRequest ¶
func (request GetManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetManagementDashboardRequest) RetryPolicy ¶
func (request GetManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetManagementDashboardRequest) String ¶
func (request GetManagementDashboardRequest) String() string
func (GetManagementDashboardRequest) ValidateEnumValue ¶
func (request GetManagementDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetManagementDashboardResponse ¶
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"` }
GetManagementDashboardResponse wrapper for the GetManagementDashboard operation
func (GetManagementDashboardResponse) HTTPResponse ¶
func (response GetManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetManagementDashboardResponse) String ¶
func (response GetManagementDashboardResponse) String() string
type GetManagementSavedSearchRequest ¶
type GetManagementSavedSearchRequest struct { // A 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 }
GetManagementSavedSearchRequest wrapper for the GetManagementSavedSearch operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/GetManagementSavedSearch.go.html to see an example of how to use GetManagementSavedSearchRequest.
func (GetManagementSavedSearchRequest) BinaryRequestBody ¶
func (request GetManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetManagementSavedSearchRequest) HTTPRequest ¶
func (request GetManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetManagementSavedSearchRequest) RetryPolicy ¶
func (request GetManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetManagementSavedSearchRequest) String ¶
func (request GetManagementSavedSearchRequest) String() string
func (GetManagementSavedSearchRequest) ValidateEnumValue ¶
func (request GetManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetManagementSavedSearchResponse ¶
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"` }
GetManagementSavedSearchResponse wrapper for the GetManagementSavedSearch operation
func (GetManagementSavedSearchResponse) HTTPResponse ¶
func (response GetManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetManagementSavedSearchResponse) String ¶
func (response GetManagementSavedSearchResponse) String() string
type ImportDashboardRequest ¶
type ImportDashboardRequest struct { // JSON metadata for importing dashboards and their saved searches. 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 }
ImportDashboardRequest wrapper for the ImportDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ImportDashboard.go.html to see an example of how to use ImportDashboardRequest.
func (ImportDashboardRequest) BinaryRequestBody ¶
func (request ImportDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ImportDashboardRequest) HTTPRequest ¶
func (request ImportDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ImportDashboardRequest) RetryPolicy ¶
func (request ImportDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ImportDashboardRequest) String ¶
func (request ImportDashboardRequest) String() string
func (ImportDashboardRequest) ValidateEnumValue ¶
func (request ImportDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ImportDashboardResponse ¶
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"` }
ImportDashboardResponse wrapper for the ImportDashboard operation
func (ImportDashboardResponse) HTTPResponse ¶
func (response ImportDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ImportDashboardResponse) String ¶
func (response ImportDashboardResponse) String() string
type LifecycleStatesEnum ¶
type LifecycleStatesEnum string
LifecycleStatesEnum Enum with underlying type: string
const (
LifecycleStatesActive LifecycleStatesEnum = "ACTIVE"
)
Set of constants representing the allowable values for LifecycleStatesEnum
func GetLifecycleStatesEnumValues ¶
func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum
func GetMappingLifecycleStatesEnum ¶
func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)
GetMappingLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
type ListManagementDashboardsRequest ¶
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 on 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 the 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 }
ListManagementDashboardsRequest wrapper for the ListManagementDashboards operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ListManagementDashboards.go.html to see an example of how to use ListManagementDashboardsRequest.
func (ListManagementDashboardsRequest) BinaryRequestBody ¶
func (request ListManagementDashboardsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementDashboardsRequest) HTTPRequest ¶
func (request ListManagementDashboardsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementDashboardsRequest) RetryPolicy ¶
func (request ListManagementDashboardsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementDashboardsRequest) String ¶
func (request ListManagementDashboardsRequest) String() string
func (ListManagementDashboardsRequest) ValidateEnumValue ¶
func (request ListManagementDashboardsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListManagementDashboardsResponse ¶
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"` }
ListManagementDashboardsResponse wrapper for the ListManagementDashboards operation
func (ListManagementDashboardsResponse) HTTPResponse ¶
func (response ListManagementDashboardsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementDashboardsResponse) String ¶
func (response ListManagementDashboardsResponse) String() string
type ListManagementDashboardsSortByEnum ¶
type ListManagementDashboardsSortByEnum string
ListManagementDashboardsSortByEnum Enum with underlying type: string
const ( ListManagementDashboardsSortByTimecreated ListManagementDashboardsSortByEnum = "timeCreated" ListManagementDashboardsSortByDisplayname ListManagementDashboardsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListManagementDashboardsSortByEnum
func GetListManagementDashboardsSortByEnumValues ¶
func GetListManagementDashboardsSortByEnumValues() []ListManagementDashboardsSortByEnum
GetListManagementDashboardsSortByEnumValues Enumerates the set of values for ListManagementDashboardsSortByEnum
func GetMappingListManagementDashboardsSortByEnum ¶
func GetMappingListManagementDashboardsSortByEnum(val string) (ListManagementDashboardsSortByEnum, bool)
GetMappingListManagementDashboardsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListManagementDashboardsSortOrderEnum ¶
type ListManagementDashboardsSortOrderEnum string
ListManagementDashboardsSortOrderEnum Enum with underlying type: string
const ( ListManagementDashboardsSortOrderAsc ListManagementDashboardsSortOrderEnum = "ASC" ListManagementDashboardsSortOrderDesc ListManagementDashboardsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementDashboardsSortOrderEnum
func GetListManagementDashboardsSortOrderEnumValues ¶
func GetListManagementDashboardsSortOrderEnumValues() []ListManagementDashboardsSortOrderEnum
GetListManagementDashboardsSortOrderEnumValues Enumerates the set of values for ListManagementDashboardsSortOrderEnum
func GetMappingListManagementDashboardsSortOrderEnum ¶
func GetMappingListManagementDashboardsSortOrderEnum(val string) (ListManagementDashboardsSortOrderEnum, bool)
GetMappingListManagementDashboardsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListManagementSavedSearchesRequest ¶
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 on 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 the 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 }
ListManagementSavedSearchesRequest wrapper for the ListManagementSavedSearches operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/ListManagementSavedSearches.go.html to see an example of how to use ListManagementSavedSearchesRequest.
func (ListManagementSavedSearchesRequest) BinaryRequestBody ¶
func (request ListManagementSavedSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListManagementSavedSearchesRequest) HTTPRequest ¶
func (request ListManagementSavedSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListManagementSavedSearchesRequest) RetryPolicy ¶
func (request ListManagementSavedSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListManagementSavedSearchesRequest) String ¶
func (request ListManagementSavedSearchesRequest) String() string
func (ListManagementSavedSearchesRequest) ValidateEnumValue ¶
func (request ListManagementSavedSearchesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListManagementSavedSearchesResponse ¶
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"` }
ListManagementSavedSearchesResponse wrapper for the ListManagementSavedSearches operation
func (ListManagementSavedSearchesResponse) HTTPResponse ¶
func (response ListManagementSavedSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListManagementSavedSearchesResponse) String ¶
func (response ListManagementSavedSearchesResponse) String() string
type ListManagementSavedSearchesSortByEnum ¶
type ListManagementSavedSearchesSortByEnum string
ListManagementSavedSearchesSortByEnum Enum with underlying type: string
const ( ListManagementSavedSearchesSortByTimecreated ListManagementSavedSearchesSortByEnum = "timeCreated" ListManagementSavedSearchesSortByDisplayname ListManagementSavedSearchesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListManagementSavedSearchesSortByEnum
func GetListManagementSavedSearchesSortByEnumValues ¶
func GetListManagementSavedSearchesSortByEnumValues() []ListManagementSavedSearchesSortByEnum
GetListManagementSavedSearchesSortByEnumValues Enumerates the set of values for ListManagementSavedSearchesSortByEnum
func GetMappingListManagementSavedSearchesSortByEnum ¶
func GetMappingListManagementSavedSearchesSortByEnum(val string) (ListManagementSavedSearchesSortByEnum, bool)
GetMappingListManagementSavedSearchesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListManagementSavedSearchesSortOrderEnum ¶
type ListManagementSavedSearchesSortOrderEnum string
ListManagementSavedSearchesSortOrderEnum Enum with underlying type: string
const ( ListManagementSavedSearchesSortOrderAsc ListManagementSavedSearchesSortOrderEnum = "ASC" ListManagementSavedSearchesSortOrderDesc ListManagementSavedSearchesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListManagementSavedSearchesSortOrderEnum
func GetListManagementSavedSearchesSortOrderEnumValues ¶
func GetListManagementSavedSearchesSortOrderEnumValues() []ListManagementSavedSearchesSortOrderEnum
GetListManagementSavedSearchesSortOrderEnumValues Enumerates the set of values for ListManagementSavedSearchesSortOrderEnum
func GetMappingListManagementSavedSearchesSortOrderEnum ¶
func GetMappingListManagementSavedSearchesSortOrderEnum(val string) (ListManagementSavedSearchesSortOrderEnum, bool)
GetMappingListManagementSavedSearchesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ManagementDashboard ¶
type ManagementDashboard struct { // ID of the dashboard. Same as id. DashboardId *string `mandatory:"true" json:"dashboardId"` // ID of the dashboard. Same as dashboardId. Id *string `mandatory:"true" json:"id"` // ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID. ProviderId *string `mandatory:"true" json:"providerId"` // Name of the service (for example, Logging Analytics) that owns the dashboard. ProviderName *string `mandatory:"true" json:"providerName"` // Version of the service that owns the dashboard. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Array of dashboard tiles. Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name of the dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Description of the dashboard. Description *string `mandatory:"true" json:"description"` // OCID of the compartment in which the dashboard resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // Determines whether the dashboard will be displayed in Dashboard Home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // User who created the dashboard. CreatedBy *string `mandatory:"true" json:"createdBy"` // Date and time the dashboard was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // User who updated the dashboard. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Date and time the dashboard was updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Determines whether the description of the dashboard is displayed. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // Screen image of the dashboard. ScreenImage *string `mandatory:"true" json:"screenImage"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"true" json:"nls"` // 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"` // Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set. Type *string `mandatory:"true" json:"type"` // Determines whether the dashboard is set as favorite. IsFavorite *bool `mandatory:"true" json:"isFavorite"` // Array of saved searches in the dashboard. SavedSearches []ManagementSavedSearch `mandatory:"true" json:"savedSearches"` // State of dashboard. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Defines parameters for the dashboard. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
ManagementDashboard Properties of a dashboard, including dashboard ID.
func (ManagementDashboard) String ¶
func (m ManagementDashboard) String() string
func (ManagementDashboard) ValidateEnumValue ¶
func (m ManagementDashboard) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardCollection ¶
type ManagementDashboardCollection struct { // Array of dashboard summaries. Items []ManagementDashboardSummary `mandatory:"true" json:"items"` }
ManagementDashboardCollection List of dashboards.
func (ManagementDashboardCollection) String ¶
func (m ManagementDashboardCollection) String() string
func (ManagementDashboardCollection) ValidateEnumValue ¶
func (m ManagementDashboardCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardExportDetails ¶
type ManagementDashboardExportDetails struct { // Array of dashboards. Dashboards []ManagementDashboardForImportExportDetails `mandatory:"true" json:"dashboards"` }
ManagementDashboardExportDetails Array of dashboards to export. Response from export must be directly acceptable to import (compartmentIds may have to be changed).
func (ManagementDashboardExportDetails) String ¶
func (m ManagementDashboardExportDetails) String() string
func (ManagementDashboardExportDetails) ValidateEnumValue ¶
func (m ManagementDashboardExportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardForImportExportDetails ¶
type ManagementDashboardForImportExportDetails struct { // ID of the dashboard. DashboardId *string `mandatory:"true" json:"dashboardId"` // ID of the service (for example log-analytics) that owns the dashboard. Each service has a unique ID. ProviderId *string `mandatory:"true" json:"providerId"` // Name of the service (for example, Logging Analytics) that owns the dashboard. ProviderName *string `mandatory:"true" json:"providerName"` // Version of the service that owns the dashboard. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Array of dashboard tiles. Tiles []ManagementDashboardTileDetails `mandatory:"true" json:"tiles"` // Display name of the dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Description of the dashboard. Description *string `mandatory:"true" json:"description"` // OCID of the compartment in which the dashboard resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // Determines whether the dashboard will be displayed in Dashboard Home. IsShowInHome *bool `mandatory:"true" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Determines whether the description of the dashboard is displayed. IsShowDescription *bool `mandatory:"true" json:"isShowDescription"` // Screen image of the dashboard. ScreenImage *string `mandatory:"true" json:"screenImage"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"true" json:"nls"` // 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"` // Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set. Type *string `mandatory:"true" json:"type"` // Determines whether the dashboard is set as favorite. IsFavorite *bool `mandatory:"true" json:"isFavorite"` // Array of saved searches in the dashboard. SavedSearches []ManagementSavedSearchForImportDetails `mandatory:"true" json:"savedSearches"` // Defines parameters for the dashboard. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
ManagementDashboardForImportExportDetails Properties of a dashboard, including dashboard ID and saved searches, for import purposes.
func (ManagementDashboardForImportExportDetails) String ¶
func (m ManagementDashboardForImportExportDetails) String() string
func (ManagementDashboardForImportExportDetails) ValidateEnumValue ¶
func (m ManagementDashboardForImportExportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardImportDetails ¶
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"` }
ManagementDashboardImportDetails Array of dashboards to import.
func (ManagementDashboardImportDetails) String ¶
func (m ManagementDashboardImportDetails) String() string
func (ManagementDashboardImportDetails) ValidateEnumValue ¶
func (m ManagementDashboardImportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardSummary ¶
type ManagementDashboardSummary struct { // ID of the dashboard. Same as id. DashboardId *string `mandatory:"true" json:"dashboardId"` // ID of the dashboard. Same as dashboardId. Id *string `mandatory:"true" json:"id"` // Display name of the dashboard. DisplayName *string `mandatory:"true" json:"displayName"` // Description of the dashboard. Description *string `mandatory:"true" json:"description"` // OCID of the compartment in which the dashboard resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID. ProviderId *string `mandatory:"true" json:"providerId"` // Name of the service (for example, Logging Analytics) that owns the dashboard. ProviderName *string `mandatory:"true" json:"providerName"` // Version of the service that owns the dashboard. ProviderVersion *string `mandatory:"true" json:"providerVersion"` // Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified. IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"` // User who created the dashboard. CreatedBy *string `mandatory:"true" json:"createdBy"` // Date and time the dashboard was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // User who updated the dashboard. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Date and time the dashboard was updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Version of the metadata. MetadataVersion *string `mandatory:"true" json:"metadataVersion"` // Screen image of the dashboard. ScreenImage *string `mandatory:"true" json:"screenImage"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"true" json:"nls"` // Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set. Type *string `mandatory:"true" json:"type"` // Current lifecycle state of the 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"` }
ManagementDashboardSummary Summary of the properties of a dashboard.
func (ManagementDashboardSummary) String ¶
func (m ManagementDashboardSummary) String() string
func (ManagementDashboardSummary) ValidateEnumValue ¶
func (m ManagementDashboardSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardTileDetails ¶
type ManagementDashboardTileDetails struct { // Display name of the saved search. DisplayName *string `mandatory:"true" json:"displayName"` // ID of the saved search. SavedSearchId *string `mandatory:"true" json:"savedSearchId"` // Tile's row number. Row *int `mandatory:"true" json:"row"` // Tile's column number. Column *int `mandatory:"true" json:"column"` // The number of rows the tile occupies. Height *int `mandatory:"true" json:"height"` // The number of columns the tile occupies. Width *int `mandatory:"true" json:"width"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"true" json:"nls"` // 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"` // Current state of the saved search. State ManagementDashboardTileDetailsStateEnum `mandatory:"true" json:"state"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig *interface{} `mandatory:"true" json:"drilldownConfig"` // Specifies the saved search parameters values ParametersMap *interface{} `mandatory:"false" json:"parametersMap"` }
ManagementDashboardTileDetails Properties of the dashboard tile representing a saved search. Tiles are laid out in a twelve column grid system with (0,0) at upper left corner.
func (ManagementDashboardTileDetails) String ¶
func (m ManagementDashboardTileDetails) String() string
func (ManagementDashboardTileDetails) ValidateEnumValue ¶
func (m ManagementDashboardTileDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementDashboardTileDetailsStateEnum ¶
type ManagementDashboardTileDetailsStateEnum string
ManagementDashboardTileDetailsStateEnum Enum with underlying type: string
const ( ManagementDashboardTileDetailsStateDeleted ManagementDashboardTileDetailsStateEnum = "DELETED" ManagementDashboardTileDetailsStateDefault ManagementDashboardTileDetailsStateEnum = "DEFAULT" )
Set of constants representing the allowable values for ManagementDashboardTileDetailsStateEnum
func GetManagementDashboardTileDetailsStateEnumValues ¶
func GetManagementDashboardTileDetailsStateEnumValues() []ManagementDashboardTileDetailsStateEnum
GetManagementDashboardTileDetailsStateEnumValues Enumerates the set of values for ManagementDashboardTileDetailsStateEnum
func GetMappingManagementDashboardTileDetailsStateEnum ¶
func GetMappingManagementDashboardTileDetailsStateEnum(val string) (ManagementDashboardTileDetailsStateEnum, bool)
GetMappingManagementDashboardTileDetailsStateEnum performs case Insensitive comparison on enum value and return the desired enum
type ManagementSavedSearch ¶
type ManagementSavedSearch struct { // ID of the saved search. Id *string `mandatory:"true" json:"id"` // 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"` // User who created the saved search. CreatedBy *string `mandatory:"true" json:"createdBy"` // User who updated the saved search. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Date and time the saved search was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the saved search was updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` // State of dashboard. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // Defines parameters for the saved search. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
ManagementSavedSearch Properties of a saved search.
func (ManagementSavedSearch) String ¶
func (m ManagementSavedSearch) String() string
func (ManagementSavedSearch) ValidateEnumValue ¶
func (m ManagementSavedSearch) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementSavedSearchCollection ¶
type ManagementSavedSearchCollection struct { // Array of saved search summaries. Items []ManagementSavedSearchSummary `mandatory:"true" json:"items"` }
ManagementSavedSearchCollection List of saved searches.
func (ManagementSavedSearchCollection) String ¶
func (m ManagementSavedSearchCollection) String() string
func (ManagementSavedSearchCollection) ValidateEnumValue ¶
func (m ManagementSavedSearchCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementSavedSearchForImportDetails ¶
type ManagementSavedSearchForImportDetails struct { // ID of the saved search. Id *string `mandatory:"true" json:"id"` // 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"` // 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"` // Defines parameters for the saved search. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` }
ManagementSavedSearchForImportDetails Properties of a saved search.
func (ManagementSavedSearchForImportDetails) String ¶
func (m ManagementSavedSearchForImportDetails) String() string
func (ManagementSavedSearchForImportDetails) ValidateEnumValue ¶
func (m ManagementSavedSearchForImportDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ManagementSavedSearchSummary ¶
type ManagementSavedSearchSummary struct { // ID of the saved search. Id *string `mandatory:"true" json:"id"` // Display name of the saved search. DisplayName *string `mandatory:"true" json:"displayName"` // 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"` // OCID of the compartment in which the saved search resides. CompartmentId *string `mandatory:"true" json:"compartmentId"` // 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"` // 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"` // User who created the saved search. CreatedBy *string `mandatory:"true" json:"createdBy"` // User who updated the saved search. UpdatedBy *string `mandatory:"true" json:"updatedBy"` // Date and time the saved search was created. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Date and time the saved search was updated. TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // 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"` // Current lifecycle state of the saved search. LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"` // 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"` }
ManagementSavedSearchSummary Summary of the properties of a saved search.
func (ManagementSavedSearchSummary) String ¶
func (m ManagementSavedSearchSummary) String() string
func (ManagementSavedSearchSummary) ValidateEnumValue ¶
func (m ManagementSavedSearchSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type SavedSearchTypesEnum ¶
type SavedSearchTypesEnum string
SavedSearchTypesEnum Enum with underlying type: string
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" SavedSearchTypesFilterShowInDashboard SavedSearchTypesEnum = "FILTER_SHOW_IN_DASHBOARD" SavedSearchTypesFilterDontShowInDashboard SavedSearchTypesEnum = "FILTER_DONT_SHOW_IN_DASHBOARD" )
Set of constants representing the allowable values for SavedSearchTypesEnum
func GetMappingSavedSearchTypesEnum ¶
func GetMappingSavedSearchTypesEnum(val string) (SavedSearchTypesEnum, bool)
GetMappingSavedSearchTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSavedSearchTypesEnumValues ¶
func GetSavedSearchTypesEnumValues() []SavedSearchTypesEnum
GetSavedSearchTypesEnumValues Enumerates the set of values for SavedSearchTypesEnum
type SortOrdersEnum ¶
type SortOrdersEnum string
SortOrdersEnum Enum with underlying type: string
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
Set of constants representing the allowable values for SortOrdersEnum
func GetMappingSortOrdersEnum ¶
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues ¶
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
type UpdateManagementDashboardDetails ¶
type UpdateManagementDashboardDetails struct { // ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID. ProviderId *string `mandatory:"false" json:"providerId"` // Name of the service (for example, Logging Analytics) that owns the dashboard. ProviderName *string `mandatory:"false" json:"providerName"` // Version of the service that owns the dashboard. ProviderVersion *string `mandatory:"false" json:"providerVersion"` // Array of dashboard tiles. Tiles []ManagementDashboardTileDetails `mandatory:"false" json:"tiles"` // Display name of the dashboard. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the dashboard. Description *string `mandatory:"false" json:"description"` // OCID of the compartment in which the dashboard resides. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard. Note that OOB dashboards are only provided by Oracle and cannot be modified. IsOobDashboard *bool `mandatory:"false" json:"isOobDashboard"` // Determines whether the dashboard will be displayed in Dashboard Home. IsShowInHome *bool `mandatory:"false" json:"isShowInHome"` // Version of the metadata. MetadataVersion *string `mandatory:"false" json:"metadataVersion"` // Determines whether the description of the dashboard is displayed. IsShowDescription *bool `mandatory:"false" json:"isShowDescription"` // Screen image of the dashboard. ScreenImage *string `mandatory:"false" json:"screenImage"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"false" json:"nls"` // JSON that contains user interface options. UiConfig *interface{} `mandatory:"false" json:"uiConfig"` // Array of JSON that contain data source options. DataConfig []interface{} `mandatory:"false" json:"dataConfig"` // Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set. Type *string `mandatory:"false" json:"type"` // Determines whether the dashboard is set as favorite. IsFavorite *bool `mandatory:"false" json:"isFavorite"` // Defines parameters for the dashboard. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
UpdateManagementDashboardDetails Properties of a dashboard. Dashboard ID must not be provided.
func (UpdateManagementDashboardDetails) String ¶
func (m UpdateManagementDashboardDetails) String() string
func (UpdateManagementDashboardDetails) ValidateEnumValue ¶
func (m UpdateManagementDashboardDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateManagementDashboardRequest ¶
type UpdateManagementDashboardRequest struct { // A 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 }
UpdateManagementDashboardRequest wrapper for the UpdateManagementDashboard operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/UpdateManagementDashboard.go.html to see an example of how to use UpdateManagementDashboardRequest.
func (UpdateManagementDashboardRequest) BinaryRequestBody ¶
func (request UpdateManagementDashboardRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateManagementDashboardRequest) HTTPRequest ¶
func (request UpdateManagementDashboardRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateManagementDashboardRequest) RetryPolicy ¶
func (request UpdateManagementDashboardRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateManagementDashboardRequest) String ¶
func (request UpdateManagementDashboardRequest) String() string
func (UpdateManagementDashboardRequest) ValidateEnumValue ¶
func (request UpdateManagementDashboardRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateManagementDashboardResponse ¶
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"` }
UpdateManagementDashboardResponse wrapper for the UpdateManagementDashboard operation
func (UpdateManagementDashboardResponse) HTTPResponse ¶
func (response UpdateManagementDashboardResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateManagementDashboardResponse) String ¶
func (response UpdateManagementDashboardResponse) String() string
type UpdateManagementSavedSearchDetails ¶
type UpdateManagementSavedSearchDetails struct { // Display name of the saved search. DisplayName *string `mandatory:"false" json:"displayName"` // ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID. ProviderId *string `mandatory:"false" json:"providerId"` // Version of the service that owns this saved search. ProviderVersion *string `mandatory:"false" json:"providerVersion"` // Name of the service (for example, Logging Analytics) that owns the saved search. ProviderName *string `mandatory:"false" json:"providerName"` // OCID of the compartment in which the saved search resides. CompartmentId *string `mandatory:"false" 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:"false" json:"isOobSavedSearch"` // Description of the saved search. Description *string `mandatory:"false" json:"description"` // JSON that contains internationalization options. Nls *interface{} `mandatory:"false" json:"nls"` // Determines how the saved search is displayed in a dashboard. Type SavedSearchTypesEnum `mandatory:"false" json:"type,omitempty"` // JSON that contains user interface options. UiConfig *interface{} `mandatory:"false" json:"uiConfig"` // Array of JSON that contain data source options. DataConfig []interface{} `mandatory:"false" json:"dataConfig"` // Screen image of the saved search. ScreenImage *string `mandatory:"false" json:"screenImage"` // Version of the metadata. MetadataVersion *string `mandatory:"false" json:"metadataVersion"` // Reference to the HTML file of the widget. WidgetTemplate *string `mandatory:"false" json:"widgetTemplate"` // Reference to the view model of the widget. WidgetVM *string `mandatory:"false" json:"widgetVM"` // Defines parameters for the saved search. ParametersConfig []interface{} `mandatory:"false" json:"parametersConfig"` // Drill-down configuration to define the destination of a drill-down action. DrilldownConfig []interface{} `mandatory:"false" json:"drilldownConfig"` // 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"` }
UpdateManagementSavedSearchDetails Properties of a saved search. Saved search ID must not be provided.
func (UpdateManagementSavedSearchDetails) String ¶
func (m UpdateManagementSavedSearchDetails) String() string
func (UpdateManagementSavedSearchDetails) ValidateEnumValue ¶
func (m UpdateManagementSavedSearchDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateManagementSavedSearchRequest ¶
type UpdateManagementSavedSearchRequest struct { // A unique saved search identifier. ManagementSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"managementSavedSearchId"` // JSON metadata for changed saved search properties. 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 }
UpdateManagementSavedSearchRequest wrapper for the UpdateManagementSavedSearch operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/managementdashboard/UpdateManagementSavedSearch.go.html to see an example of how to use UpdateManagementSavedSearchRequest.
func (UpdateManagementSavedSearchRequest) BinaryRequestBody ¶
func (request UpdateManagementSavedSearchRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateManagementSavedSearchRequest) HTTPRequest ¶
func (request UpdateManagementSavedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateManagementSavedSearchRequest) RetryPolicy ¶
func (request UpdateManagementSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateManagementSavedSearchRequest) String ¶
func (request UpdateManagementSavedSearchRequest) String() string
func (UpdateManagementSavedSearchRequest) ValidateEnumValue ¶
func (request UpdateManagementSavedSearchRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateManagementSavedSearchResponse ¶
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"` }
UpdateManagementSavedSearchResponse wrapper for the UpdateManagementSavedSearch operation
func (UpdateManagementSavedSearchResponse) HTTPResponse ¶
func (response UpdateManagementSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateManagementSavedSearchResponse) String ¶
func (response UpdateManagementSavedSearchResponse) String() string
Source Files ¶
- change_management_dashboards_compartment_details.go
- change_management_dashboards_compartment_request_response.go
- change_management_saved_searches_compartment_details.go
- change_management_saved_searches_compartment_request_response.go
- create_management_dashboard_details.go
- create_management_dashboard_request_response.go
- create_management_saved_search_details.go
- create_management_saved_search_request_response.go
- delete_management_dashboard_request_response.go
- delete_management_saved_search_request_response.go
- export_dashboard_request_response.go
- get_management_dashboard_request_response.go
- get_management_saved_search_request_response.go
- import_dashboard_request_response.go
- lifecycle_states.go
- list_management_dashboards_request_response.go
- list_management_saved_searches_request_response.go
- management_dashboard.go
- management_dashboard_collection.go
- management_dashboard_export_details.go
- management_dashboard_for_import_export_details.go
- management_dashboard_import_details.go
- management_dashboard_summary.go
- management_dashboard_tile_details.go
- management_saved_search.go
- management_saved_search_collection.go
- management_saved_search_for_import_details.go
- management_saved_search_summary.go
- managementdashboard_dashxapis_client.go
- saved_search_types.go
- sort_orders.go
- update_management_dashboard_details.go
- update_management_dashboard_request_response.go
- update_management_saved_search_details.go
- update_management_saved_search_request_response.go