...

Package apmsynthetics

import "github.com/oracle/oci-go-sdk/apmsynthetics"
Overview
Index

Overview ▾

Index ▾

type ApmSyntheticClient
    func NewApmSyntheticClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApmSyntheticClient, err error)
    func NewApmSyntheticClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApmSyntheticClient, err error)
    func (client *ApmSyntheticClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ApmSyntheticClient) CreateMonitor(ctx context.Context, request CreateMonitorRequest) (response CreateMonitorResponse, err error)
    func (client ApmSyntheticClient) CreateScript(ctx context.Context, request CreateScriptRequest) (response CreateScriptResponse, err error)
    func (client ApmSyntheticClient) DeleteMonitor(ctx context.Context, request DeleteMonitorRequest) (response DeleteMonitorResponse, err error)
    func (client ApmSyntheticClient) DeleteScript(ctx context.Context, request DeleteScriptRequest) (response DeleteScriptResponse, err error)
    func (client ApmSyntheticClient) GetMonitor(ctx context.Context, request GetMonitorRequest) (response GetMonitorResponse, err error)
    func (client ApmSyntheticClient) GetMonitorResult(ctx context.Context, request GetMonitorResultRequest) (response GetMonitorResultResponse, err error)
    func (client ApmSyntheticClient) GetScript(ctx context.Context, request GetScriptRequest) (response GetScriptResponse, err error)
    func (client ApmSyntheticClient) ListMonitors(ctx context.Context, request ListMonitorsRequest) (response ListMonitorsResponse, err error)
    func (client ApmSyntheticClient) ListPublicVantagePoints(ctx context.Context, request ListPublicVantagePointsRequest) (response ListPublicVantagePointsResponse, err error)
    func (client ApmSyntheticClient) ListScripts(ctx context.Context, request ListScriptsRequest) (response ListScriptsResponse, err error)
    func (client *ApmSyntheticClient) SetRegion(region string)
    func (client ApmSyntheticClient) UpdateMonitor(ctx context.Context, request UpdateMonitorRequest) (response UpdateMonitorResponse, err error)
    func (client ApmSyntheticClient) UpdateScript(ctx context.Context, request UpdateScriptRequest) (response UpdateScriptResponse, err error)
type BrowserMonitorConfiguration
    func (m BrowserMonitorConfiguration) GetIsFailureRetried() *bool
    func (m BrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m BrowserMonitorConfiguration) String() string
type ContentTypesEnum
    func GetContentTypesEnumValues() []ContentTypesEnum
type CreateMonitorDetails
    func (m CreateMonitorDetails) String() string
    func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error)
type CreateMonitorRequest
    func (request CreateMonitorRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMonitorRequest) String() string
type CreateMonitorResponse
    func (response CreateMonitorResponse) HTTPResponse() *http.Response
    func (response CreateMonitorResponse) String() string
type CreateScriptDetails
    func (m CreateScriptDetails) String() string
type CreateScriptRequest
    func (request CreateScriptRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateScriptRequest) String() string
type CreateScriptResponse
    func (response CreateScriptResponse) HTTPResponse() *http.Response
    func (response CreateScriptResponse) String() string
type DeleteMonitorRequest
    func (request DeleteMonitorRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMonitorRequest) String() string
type DeleteMonitorResponse
    func (response DeleteMonitorResponse) HTTPResponse() *http.Response
    func (response DeleteMonitorResponse) String() string
type DeleteScriptRequest
    func (request DeleteScriptRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteScriptRequest) String() string
type DeleteScriptResponse
    func (response DeleteScriptResponse) HTTPResponse() *http.Response
    func (response DeleteScriptResponse) String() string
type GeoSummary
    func (m GeoSummary) String() string
type GetMonitorRequest
    func (request GetMonitorRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMonitorRequest) String() string
type GetMonitorResponse
    func (response GetMonitorResponse) HTTPResponse() *http.Response
    func (response GetMonitorResponse) String() string
type GetMonitorResultRequest
    func (request GetMonitorResultRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetMonitorResultRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMonitorResultRequest) String() string
type GetMonitorResultResponse
    func (response GetMonitorResultResponse) HTTPResponse() *http.Response
    func (response GetMonitorResultResponse) String() string
type GetScriptRequest
    func (request GetScriptRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request GetScriptRequest) String() string
type GetScriptResponse
    func (response GetScriptResponse) HTTPResponse() *http.Response
    func (response GetScriptResponse) String() string
type Header
    func (m Header) String() string
type ListMonitorsRequest
    func (request ListMonitorsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListMonitorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMonitorsRequest) String() string
type ListMonitorsResponse
    func (response ListMonitorsResponse) HTTPResponse() *http.Response
    func (response ListMonitorsResponse) String() string
type ListMonitorsSortByEnum
    func GetListMonitorsSortByEnumValues() []ListMonitorsSortByEnum
type ListMonitorsSortOrderEnum
    func GetListMonitorsSortOrderEnumValues() []ListMonitorsSortOrderEnum
type ListMonitorsStatusEnum
    func GetListMonitorsStatusEnumValues() []ListMonitorsStatusEnum
type ListPublicVantagePointsRequest
    func (request ListPublicVantagePointsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListPublicVantagePointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPublicVantagePointsRequest) String() string
type ListPublicVantagePointsResponse
    func (response ListPublicVantagePointsResponse) HTTPResponse() *http.Response
    func (response ListPublicVantagePointsResponse) String() string
type ListPublicVantagePointsSortByEnum
    func GetListPublicVantagePointsSortByEnumValues() []ListPublicVantagePointsSortByEnum
type ListPublicVantagePointsSortOrderEnum
    func GetListPublicVantagePointsSortOrderEnumValues() []ListPublicVantagePointsSortOrderEnum
type ListScriptsRequest
    func (request ListScriptsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListScriptsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListScriptsRequest) String() string
type ListScriptsResponse
    func (response ListScriptsResponse) HTTPResponse() *http.Response
    func (response ListScriptsResponse) String() string
type ListScriptsSortByEnum
    func GetListScriptsSortByEnumValues() []ListScriptsSortByEnum
type ListScriptsSortOrderEnum
    func GetListScriptsSortOrderEnumValues() []ListScriptsSortOrderEnum
type Monitor
    func (m Monitor) String() string
    func (m *Monitor) UnmarshalJSON(data []byte) (e error)
type MonitorCollection
    func (m MonitorCollection) String() string
type MonitorConfiguration
type MonitorConfigurationConfigTypeEnum
    func GetMonitorConfigurationConfigTypeEnumValues() []MonitorConfigurationConfigTypeEnum
type MonitorResult
    func (m MonitorResult) String() string
type MonitorResultData
    func (m MonitorResultData) String() string
type MonitorScriptParameter
    func (m MonitorScriptParameter) String() string
type MonitorScriptParameterInfo
    func (m MonitorScriptParameterInfo) String() string
type MonitorStatusCountMap
    func (m MonitorStatusCountMap) String() string
type MonitorStatusEnum
    func GetMonitorStatusEnumValues() []MonitorStatusEnum
type MonitorSummary
    func (m MonitorSummary) String() string
type MonitorTypesEnum
    func GetMonitorTypesEnumValues() []MonitorTypesEnum
type OAuthSchemesEnum
    func GetOAuthSchemesEnumValues() []OAuthSchemesEnum
type PublicVantagePointCollection
    func (m PublicVantagePointCollection) String() string
type PublicVantagePointSummary
    func (m PublicVantagePointSummary) String() string
type RequestAuthenticationDetails
    func (m RequestAuthenticationDetails) String() string
type RequestAuthenticationSchemesEnum
    func GetRequestAuthenticationSchemesEnumValues() []RequestAuthenticationSchemesEnum
type RequestMethodsEnum
    func GetRequestMethodsEnumValues() []RequestMethodsEnum
type RequestQueryParam
    func (m RequestQueryParam) String() string
type RestMonitorConfiguration
    func (m RestMonitorConfiguration) GetIsFailureRetried() *bool
    func (m RestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m RestMonitorConfiguration) String() string
type Script
    func (m Script) String() string
type ScriptCollection
    func (m ScriptCollection) String() string
type ScriptParameter
    func (m ScriptParameter) String() string
type ScriptParameterInfo
    func (m ScriptParameterInfo) String() string
type ScriptSummary
    func (m ScriptSummary) String() string
type ScriptedBrowserMonitorConfiguration
    func (m ScriptedBrowserMonitorConfiguration) GetIsFailureRetried() *bool
    func (m ScriptedBrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m ScriptedBrowserMonitorConfiguration) String() string
type ScriptedRestMonitorConfiguration
    func (m ScriptedRestMonitorConfiguration) GetIsFailureRetried() *bool
    func (m ScriptedRestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m ScriptedRestMonitorConfiguration) String() string
type SortOrdersEnum
    func GetSortOrdersEnumValues() []SortOrdersEnum
type UpdateMonitorDetails
    func (m UpdateMonitorDetails) String() string
    func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error)
type UpdateMonitorRequest
    func (request UpdateMonitorRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMonitorRequest) String() string
type UpdateMonitorResponse
    func (response UpdateMonitorResponse) HTTPResponse() *http.Response
    func (response UpdateMonitorResponse) String() string
type UpdateScriptDetails
    func (m UpdateScriptDetails) String() string
type UpdateScriptRequest
    func (request UpdateScriptRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateScriptRequest) String() string
type UpdateScriptResponse
    func (response UpdateScriptResponse) HTTPResponse() *http.Response
    func (response UpdateScriptResponse) String() string
type VantagePointInfo
    func (m VantagePointInfo) String() string
type VerifyText
    func (m VerifyText) String() string

Package files

apmsynthetics_apmsynthetic_client.go browser_monitor_configuration.go content_types.go create_monitor_details.go create_monitor_request_response.go create_script_details.go create_script_request_response.go delete_monitor_request_response.go delete_script_request_response.go geo_summary.go get_monitor_request_response.go get_monitor_result_request_response.go get_script_request_response.go header.go list_monitors_request_response.go list_public_vantage_points_request_response.go list_scripts_request_response.go monitor.go monitor_collection.go monitor_configuration.go monitor_result.go monitor_result_data.go monitor_script_parameter.go monitor_script_parameter_info.go monitor_status.go monitor_status_count_map.go monitor_summary.go monitor_types.go o_auth_schemes.go public_vantage_point_collection.go public_vantage_point_summary.go request_authentication_details.go request_authentication_schemes.go request_methods.go request_query_param.go rest_monitor_configuration.go script.go script_collection.go script_parameter.go script_parameter_info.go script_summary.go scripted_browser_monitor_configuration.go scripted_rest_monitor_configuration.go sort_orders.go update_monitor_details.go update_monitor_request_response.go update_script_details.go update_script_request_response.go vantage_point_info.go verify_text.go

type ApmSyntheticClient

ApmSyntheticClient a client for ApmSynthetic

type ApmSyntheticClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewApmSyntheticClientWithConfigurationProvider

func NewApmSyntheticClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApmSyntheticClient, err error)

NewApmSyntheticClientWithConfigurationProvider Creates a new default ApmSynthetic client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewApmSyntheticClientWithOboToken

func NewApmSyntheticClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApmSyntheticClient, err error)

NewApmSyntheticClientWithOboToken Creates a new default ApmSynthetic 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 (*ApmSyntheticClient) ConfigurationProvider

func (client *ApmSyntheticClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ApmSyntheticClient) CreateMonitor

func (client ApmSyntheticClient) CreateMonitor(ctx context.Context, request CreateMonitorRequest) (response CreateMonitorResponse, err error)

CreateMonitor Creates a new monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/CreateMonitor.go.html to see an example of how to use CreateMonitor API.

func (ApmSyntheticClient) CreateScript

func (client ApmSyntheticClient) CreateScript(ctx context.Context, request CreateScriptRequest) (response CreateScriptResponse, err error)

CreateScript Creates a new script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/CreateScript.go.html to see an example of how to use CreateScript API.

func (ApmSyntheticClient) DeleteMonitor

func (client ApmSyntheticClient) DeleteMonitor(ctx context.Context, request DeleteMonitorRequest) (response DeleteMonitorResponse, err error)

DeleteMonitor Deletes the specified monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/DeleteMonitor.go.html to see an example of how to use DeleteMonitor API.

func (ApmSyntheticClient) DeleteScript

func (client ApmSyntheticClient) DeleteScript(ctx context.Context, request DeleteScriptRequest) (response DeleteScriptResponse, err error)

DeleteScript Deletes the specified script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/DeleteScript.go.html to see an example of how to use DeleteScript API.

func (ApmSyntheticClient) GetMonitor

func (client ApmSyntheticClient) GetMonitor(ctx context.Context, request GetMonitorRequest) (response GetMonitorResponse, err error)

GetMonitor Gets the configuration of the monitor identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetMonitor.go.html to see an example of how to use GetMonitor API.

func (ApmSyntheticClient) GetMonitorResult

func (client ApmSyntheticClient) GetMonitorResult(ctx context.Context, request GetMonitorResultRequest) (response GetMonitorResultResponse, err error)

GetMonitorResult Gets the results for a specific execution of a monitor identified by OCID. The results are in a HAR file, Screenshot, or Console Log.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetMonitorResult.go.html to see an example of how to use GetMonitorResult API.

func (ApmSyntheticClient) GetScript

func (client ApmSyntheticClient) GetScript(ctx context.Context, request GetScriptRequest) (response GetScriptResponse, err error)

GetScript Gets the configuration of the script identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetScript.go.html to see an example of how to use GetScript API.

func (ApmSyntheticClient) ListMonitors

func (client ApmSyntheticClient) ListMonitors(ctx context.Context, request ListMonitorsRequest) (response ListMonitorsResponse, err error)

ListMonitors Returns a list of monitors.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListMonitors.go.html to see an example of how to use ListMonitors API.

func (ApmSyntheticClient) ListPublicVantagePoints

func (client ApmSyntheticClient) ListPublicVantagePoints(ctx context.Context, request ListPublicVantagePointsRequest) (response ListPublicVantagePointsResponse, err error)

ListPublicVantagePoints Returns a list of public vantage points.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListPublicVantagePoints.go.html to see an example of how to use ListPublicVantagePoints API.

func (ApmSyntheticClient) ListScripts

func (client ApmSyntheticClient) ListScripts(ctx context.Context, request ListScriptsRequest) (response ListScriptsResponse, err error)

ListScripts Returns a list of scripts.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListScripts.go.html to see an example of how to use ListScripts API.

func (*ApmSyntheticClient) SetRegion

func (client *ApmSyntheticClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApmSyntheticClient) UpdateMonitor

func (client ApmSyntheticClient) UpdateMonitor(ctx context.Context, request UpdateMonitorRequest) (response UpdateMonitorResponse, err error)

UpdateMonitor Updates the monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/UpdateMonitor.go.html to see an example of how to use UpdateMonitor API.

func (ApmSyntheticClient) UpdateScript

func (client ApmSyntheticClient) UpdateScript(ctx context.Context, request UpdateScriptRequest) (response UpdateScriptResponse, err error)

UpdateScript Updates the script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/UpdateScript.go.html to see an example of how to use UpdateScript API.

type BrowserMonitorConfiguration

BrowserMonitorConfiguration Configuration details for the BROWSER monitor type.

type BrowserMonitorConfiguration struct {

    // If isFailureRetried is enabled, then a failed call will be retried.
    IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"`

    // If certificate validation is enabled, then the call will fail in case of certification errors.
    IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"`

    // Verify all the search strings present in response.
    // If any search string is not present in the response, then it will be considered as a failure.
    VerifyTexts []VerifyText `mandatory:"false" json:"verifyTexts"`
}

func (BrowserMonitorConfiguration) GetIsFailureRetried

func (m BrowserMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (BrowserMonitorConfiguration) MarshalJSON

func (m BrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (BrowserMonitorConfiguration) String

func (m BrowserMonitorConfiguration) String() string

type ContentTypesEnum

ContentTypesEnum Enum with underlying type: string

type ContentTypesEnum string

Set of constants representing the allowable values for ContentTypesEnum

const (
    ContentTypesSide ContentTypesEnum = "SIDE"
    ContentTypesJs   ContentTypesEnum = "JS"
)

func GetContentTypesEnumValues

func GetContentTypesEnumValues() []ContentTypesEnum

GetContentTypesEnumValues Enumerates the set of values for ContentTypesEnum

type CreateMonitorDetails

CreateMonitorDetails Details of the request body used to create a new monitor.

type CreateMonitorDetails struct {

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Type of monitor.
    MonitorType MonitorTypesEnum `mandatory:"true" json:"monitorType"`

    // A list of vantage points from which to execute the monitor.
    // Use /publicVantagePoints to fetch public vantage points.
    VantagePoints []string `mandatory:"true" json:"vantagePoints"`

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    ScriptId *string `mandatory:"false" json:"scriptId"`

    // Enables or disables the monitor.
    Status MonitorStatusEnum `mandatory:"false" json:"status,omitempty"`

    // Timeout in seconds. Timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    Target *string `mandatory:"false" json:"target"`

    // List of script parameters in the monitor.
    // This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    // Example: `[{"paramName": "userid", "paramValue":"testuser"}]`
    ScriptParameters []MonitorScriptParameter `mandatory:"false" json:"scriptParameters"`

    Configuration MonitorConfiguration `mandatory:"false" json:"configuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateMonitorDetails) String

func (m CreateMonitorDetails) String() string

func (*CreateMonitorDetails) UnmarshalJSON

func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateMonitorRequest

CreateMonitorRequest wrapper for the CreateMonitor operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/CreateMonitor.go.html to see an example of how to use CreateMonitorRequest.

type CreateMonitorRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The configuration details for creating a monitor.
    CreateMonitorDetails `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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateMonitorRequest) HTTPRequest

func (request CreateMonitorRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMonitorRequest) RetryPolicy

func (request CreateMonitorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateMonitorRequest) String

func (request CreateMonitorRequest) String() string

type CreateMonitorResponse

CreateMonitorResponse wrapper for the CreateMonitor operation

type CreateMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `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"`
}

func (CreateMonitorResponse) HTTPResponse

func (response CreateMonitorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateMonitorResponse) String

func (response CreateMonitorResponse) String() string

type CreateScriptDetails

CreateScriptDetails Details of the request body used to create a new script. Only Side or JavaScript content types are supported and content should be in Side or JavaScript formats only.

type CreateScriptDetails struct {

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Content type of script.
    ContentType ContentTypesEnum `mandatory:"true" json:"contentType"`

    // The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters.
    // The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`.
    // Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false.
    // Examples:
    // With mandatory param name : `<ORAP><ON>param name</ON></ORAP>`
    // With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>`
    // Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format.
    Content *string `mandatory:"true" json:"content"`

    // File name of uploaded script content.
    ContentFileName *string `mandatory:"false" json:"contentFileName"`

    // List of script parameters. Example: `[{"paramName": "userid", "paramValue":"testuser", "isSecret": false}]`
    Parameters []ScriptParameter `mandatory:"false" json:"parameters"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateScriptDetails) String

func (m CreateScriptDetails) String() string

type CreateScriptRequest

CreateScriptRequest wrapper for the CreateScript operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/CreateScript.go.html to see an example of how to use CreateScriptRequest.

type CreateScriptRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The configuration details for creating a script.
    CreateScriptDetails `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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateScriptRequest) HTTPRequest

func (request CreateScriptRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateScriptRequest) RetryPolicy

func (request CreateScriptRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateScriptRequest) String

func (request CreateScriptRequest) String() string

type CreateScriptResponse

CreateScriptResponse wrapper for the CreateScript operation

type CreateScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `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"`
}

func (CreateScriptResponse) HTTPResponse

func (response CreateScriptResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateScriptResponse) String

func (response CreateScriptResponse) String() string

type DeleteMonitorRequest

DeleteMonitorRequest wrapper for the DeleteMonitor operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/DeleteMonitor.go.html to see an example of how to use DeleteMonitorRequest.

type DeleteMonitorRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the monitor.
    MonitorId *string `mandatory:"true" contributesTo:"path" name:"monitorId"`

    // 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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteMonitorRequest) HTTPRequest

func (request DeleteMonitorRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMonitorRequest) RetryPolicy

func (request DeleteMonitorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteMonitorRequest) String

func (request DeleteMonitorRequest) String() string

type DeleteMonitorResponse

DeleteMonitorResponse wrapper for the DeleteMonitor operation

type DeleteMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteMonitorResponse) HTTPResponse

func (response DeleteMonitorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteMonitorResponse) String

func (response DeleteMonitorResponse) String() string

type DeleteScriptRequest

DeleteScriptRequest wrapper for the DeleteScript operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/DeleteScript.go.html to see an example of how to use DeleteScriptRequest.

type DeleteScriptRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the script.
    ScriptId *string `mandatory:"true" contributesTo:"path" name:"scriptId"`

    // 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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteScriptRequest) HTTPRequest

func (request DeleteScriptRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteScriptRequest) RetryPolicy

func (request DeleteScriptRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteScriptRequest) String

func (request DeleteScriptRequest) String() string

type DeleteScriptResponse

DeleteScriptResponse wrapper for the DeleteScript operation

type DeleteScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteScriptResponse) HTTPResponse

func (response DeleteScriptResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteScriptResponse) String

func (response DeleteScriptResponse) String() string

type GeoSummary

GeoSummary Geographic summary about a vantage point.

type GeoSummary struct {

    // The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province.
    // Only included for locations in the US or Canada. For a list of codes, see Country Codes.
    AdminDivCode *string `mandatory:"false" json:"adminDivCode"`

    // Common English-language name for the city.
    CityName *string `mandatory:"false" json:"cityName"`

    // The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
    CountryCode *string `mandatory:"false" json:"countryCode"`

    // The common English-language name for the country.
    CountryName *string `mandatory:"false" json:"countryName"`

    // Degrees north of the Equator.
    Latitude *float64 `mandatory:"false" json:"latitude"`

    // Degrees east of the prime meridian.
    Longitude *float64 `mandatory:"false" json:"longitude"`
}

func (GeoSummary) String

func (m GeoSummary) String() string

type GetMonitorRequest

GetMonitorRequest wrapper for the GetMonitor operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetMonitor.go.html to see an example of how to use GetMonitorRequest.

type GetMonitorRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the monitor.
    MonitorId *string `mandatory:"true" contributesTo:"path" name:"monitorId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetMonitorRequest) HTTPRequest

func (request GetMonitorRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMonitorRequest) RetryPolicy

func (request GetMonitorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMonitorRequest) String

func (request GetMonitorRequest) String() string

type GetMonitorResponse

GetMonitorResponse wrapper for the GetMonitor operation

type GetMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `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"`
}

func (GetMonitorResponse) HTTPResponse

func (response GetMonitorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMonitorResponse) String

func (response GetMonitorResponse) String() string

type GetMonitorResultRequest

GetMonitorResultRequest wrapper for the GetMonitorResult operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetMonitorResult.go.html to see an example of how to use GetMonitorResultRequest.

type GetMonitorResultRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the monitor.
    MonitorId *string `mandatory:"true" contributesTo:"path" name:"monitorId"`

    // The vantagePoint name.
    VantagePoint *string `mandatory:"true" contributesTo:"query" name:"vantagePoint"`

    // The result type har or screenshot or log.
    ResultType *string `mandatory:"true" contributesTo:"query" name:"resultType"`

    // The result content type zip or raw.
    ResultContentType *string `mandatory:"true" contributesTo:"query" name:"resultContentType"`

    // The time the object was posted.
    ExecutionTime *string `mandatory:"true" contributesTo:"path" name:"executionTime"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetMonitorResultRequest) HTTPRequest

func (request GetMonitorResultRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMonitorResultRequest) RetryPolicy

func (request GetMonitorResultRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMonitorResultRequest) String

func (request GetMonitorResultRequest) String() string

type GetMonitorResultResponse

GetMonitorResultResponse wrapper for the GetMonitorResult operation

type GetMonitorResultResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MonitorResult instance
    MonitorResult `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"`
}

func (GetMonitorResultResponse) HTTPResponse

func (response GetMonitorResultResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMonitorResultResponse) String

func (response GetMonitorResultResponse) String() string

type GetScriptRequest

GetScriptRequest wrapper for the GetScript operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/GetScript.go.html to see an example of how to use GetScriptRequest.

type GetScriptRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the script.
    ScriptId *string `mandatory:"true" contributesTo:"path" name:"scriptId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetScriptRequest) HTTPRequest

func (request GetScriptRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetScriptRequest) RetryPolicy

func (request GetScriptRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetScriptRequest) String

func (request GetScriptRequest) String() string

type GetScriptResponse

GetScriptResponse wrapper for the GetScript operation

type GetScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `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"`
}

func (GetScriptResponse) HTTPResponse

func (response GetScriptResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetScriptResponse) String

func (response GetScriptResponse) String() string

Header Details of the header.

type Header struct {

    // Name of the header.
    HeaderName *string `mandatory:"true" json:"headerName"`

    // Value of the header.
    HeaderValue *string `mandatory:"false" json:"headerValue"`
}

func (Header) String

func (m Header) String() string

type ListMonitorsRequest

ListMonitorsRequest wrapper for the ListMonitors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListMonitors.go.html to see an example of how to use ListMonitorsRequest.

type ListMonitorsRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only monitors using scriptId.
    ScriptId *string `mandatory:"false" contributesTo:"query" name:"scriptId"`

    // A filter to return only monitors that match the given monitor type.
    // Supported values are SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST and REST.
    MonitorType *string `mandatory:"false" contributesTo:"query" name:"monitorType"`

    // A filter to return only monitors that match the status given.
    Status ListMonitorsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). Default sort order is ascending.
    SortOrder ListMonitorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order of displayName is ascending.
    // Default order of timeCreated and timeUpdated is descending.
    // The displayName sort by is case insensitive.
    SortBy ListMonitorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListMonitorsRequest) HTTPRequest

func (request ListMonitorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMonitorsRequest) RetryPolicy

func (request ListMonitorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMonitorsRequest) String

func (request ListMonitorsRequest) String() string

type ListMonitorsResponse

ListMonitorsResponse wrapper for the ListMonitors operation

type ListMonitorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of MonitorCollection instances
    MonitorCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListMonitorsResponse) HTTPResponse

func (response ListMonitorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMonitorsResponse) String

func (response ListMonitorsResponse) String() string

type ListMonitorsSortByEnum

ListMonitorsSortByEnum Enum with underlying type: string

type ListMonitorsSortByEnum string

Set of constants representing the allowable values for ListMonitorsSortByEnum

const (
    ListMonitorsSortByDisplayname ListMonitorsSortByEnum = "displayName"
    ListMonitorsSortByTimecreated ListMonitorsSortByEnum = "timeCreated"
    ListMonitorsSortByTimeupdated ListMonitorsSortByEnum = "timeUpdated"
    ListMonitorsSortByStatus      ListMonitorsSortByEnum = "status"
    ListMonitorsSortByMonitortype ListMonitorsSortByEnum = "monitorType"
)

func GetListMonitorsSortByEnumValues

func GetListMonitorsSortByEnumValues() []ListMonitorsSortByEnum

GetListMonitorsSortByEnumValues Enumerates the set of values for ListMonitorsSortByEnum

type ListMonitorsSortOrderEnum

ListMonitorsSortOrderEnum Enum with underlying type: string

type ListMonitorsSortOrderEnum string

Set of constants representing the allowable values for ListMonitorsSortOrderEnum

const (
    ListMonitorsSortOrderAsc  ListMonitorsSortOrderEnum = "ASC"
    ListMonitorsSortOrderDesc ListMonitorsSortOrderEnum = "DESC"
)

func GetListMonitorsSortOrderEnumValues

func GetListMonitorsSortOrderEnumValues() []ListMonitorsSortOrderEnum

GetListMonitorsSortOrderEnumValues Enumerates the set of values for ListMonitorsSortOrderEnum

type ListMonitorsStatusEnum

ListMonitorsStatusEnum Enum with underlying type: string

type ListMonitorsStatusEnum string

Set of constants representing the allowable values for ListMonitorsStatusEnum

const (
    ListMonitorsStatusEnabled  ListMonitorsStatusEnum = "ENABLED"
    ListMonitorsStatusDisabled ListMonitorsStatusEnum = "DISABLED"
    ListMonitorsStatusInvalid  ListMonitorsStatusEnum = "INVALID"
)

func GetListMonitorsStatusEnumValues

func GetListMonitorsStatusEnumValues() []ListMonitorsStatusEnum

GetListMonitorsStatusEnumValues Enumerates the set of values for ListMonitorsStatusEnum

type ListPublicVantagePointsRequest

ListPublicVantagePointsRequest wrapper for the ListPublicVantagePoints operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListPublicVantagePoints.go.html to see an example of how to use ListPublicVantagePointsRequest.

type ListPublicVantagePointsRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). Default sort order is ascending.
    SortOrder ListPublicVantagePointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. You can provide one sort by (`sortBy`). Default order for displayName or name is ascending. The displayName or name
    // sort by is case insensitive.
    SortBy ListPublicVantagePointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only resources that match the entire name given.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListPublicVantagePointsRequest) HTTPRequest

func (request ListPublicVantagePointsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicVantagePointsRequest) RetryPolicy

func (request ListPublicVantagePointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPublicVantagePointsRequest) String

func (request ListPublicVantagePointsRequest) String() string

type ListPublicVantagePointsResponse

ListPublicVantagePointsResponse wrapper for the ListPublicVantagePoints operation

type ListPublicVantagePointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of PublicVantagePointCollection instances
    PublicVantagePointCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListPublicVantagePointsResponse) HTTPResponse

func (response ListPublicVantagePointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPublicVantagePointsResponse) String

func (response ListPublicVantagePointsResponse) String() string

type ListPublicVantagePointsSortByEnum

ListPublicVantagePointsSortByEnum Enum with underlying type: string

type ListPublicVantagePointsSortByEnum string

Set of constants representing the allowable values for ListPublicVantagePointsSortByEnum

const (
    ListPublicVantagePointsSortByName        ListPublicVantagePointsSortByEnum = "name"
    ListPublicVantagePointsSortByDisplayname ListPublicVantagePointsSortByEnum = "displayName"
)

func GetListPublicVantagePointsSortByEnumValues

func GetListPublicVantagePointsSortByEnumValues() []ListPublicVantagePointsSortByEnum

GetListPublicVantagePointsSortByEnumValues Enumerates the set of values for ListPublicVantagePointsSortByEnum

type ListPublicVantagePointsSortOrderEnum

ListPublicVantagePointsSortOrderEnum Enum with underlying type: string

type ListPublicVantagePointsSortOrderEnum string

Set of constants representing the allowable values for ListPublicVantagePointsSortOrderEnum

const (
    ListPublicVantagePointsSortOrderAsc  ListPublicVantagePointsSortOrderEnum = "ASC"
    ListPublicVantagePointsSortOrderDesc ListPublicVantagePointsSortOrderEnum = "DESC"
)

func GetListPublicVantagePointsSortOrderEnumValues

func GetListPublicVantagePointsSortOrderEnumValues() []ListPublicVantagePointsSortOrderEnum

GetListPublicVantagePointsSortOrderEnumValues Enumerates the set of values for ListPublicVantagePointsSortOrderEnum

type ListScriptsRequest

ListScriptsRequest wrapper for the ListScripts operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/ListScripts.go.html to see an example of how to use ListScriptsRequest.

type ListScriptsRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only resources that match the content type given.
    ContentType *string `mandatory:"false" contributesTo:"query" name:"contentType"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    // Example: `50`
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`). Default sort order is ascending.
    SortOrder ListScriptsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order of displayName and contentType is ascending.
    // Default order of timeCreated and timeUpdated is descending.
    // The displayName sort by is case insensitive.
    SortBy ListScriptsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListScriptsRequest) HTTPRequest

func (request ListScriptsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListScriptsRequest) RetryPolicy

func (request ListScriptsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListScriptsRequest) String

func (request ListScriptsRequest) String() string

type ListScriptsResponse

ListScriptsResponse wrapper for the ListScripts operation

type ListScriptsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ScriptCollection instances
    ScriptCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListScriptsResponse) HTTPResponse

func (response ListScriptsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListScriptsResponse) String

func (response ListScriptsResponse) String() string

type ListScriptsSortByEnum

ListScriptsSortByEnum Enum with underlying type: string

type ListScriptsSortByEnum string

Set of constants representing the allowable values for ListScriptsSortByEnum

const (
    ListScriptsSortByDisplayname ListScriptsSortByEnum = "displayName"
    ListScriptsSortByTimecreated ListScriptsSortByEnum = "timeCreated"
    ListScriptsSortByTimeupdated ListScriptsSortByEnum = "timeUpdated"
    ListScriptsSortByContenttype ListScriptsSortByEnum = "contentType"
)

func GetListScriptsSortByEnumValues

func GetListScriptsSortByEnumValues() []ListScriptsSortByEnum

GetListScriptsSortByEnumValues Enumerates the set of values for ListScriptsSortByEnum

type ListScriptsSortOrderEnum

ListScriptsSortOrderEnum Enum with underlying type: string

type ListScriptsSortOrderEnum string

Set of constants representing the allowable values for ListScriptsSortOrderEnum

const (
    ListScriptsSortOrderAsc  ListScriptsSortOrderEnum = "ASC"
    ListScriptsSortOrderDesc ListScriptsSortOrderEnum = "DESC"
)

func GetListScriptsSortOrderEnumValues

func GetListScriptsSortOrderEnumValues() []ListScriptsSortOrderEnum

GetListScriptsSortOrderEnumValues Enumerates the set of values for ListScriptsSortOrderEnum

type Monitor

Monitor The information about a monitor.

type Monitor struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the monitor.
    Id *string `mandatory:"true" json:"id"`

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Type of the monitor.
    MonitorType MonitorTypesEnum `mandatory:"true" json:"monitorType"`

    // List of vantage points from where monitor is running.
    VantagePoints []VantagePointInfo `mandatory:"true" json:"vantagePoints"`

    // Number of vantage points where monitor is running.
    VantagePointCount *int `mandatory:"true" json:"vantagePointCount"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    ScriptId *string `mandatory:"true" json:"scriptId"`

    // Name of the script.
    ScriptName *string `mandatory:"true" json:"scriptName"`

    // Enables or disables the monitor.
    Status MonitorStatusEnum `mandatory:"true" json:"status"`

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

    // Timeout in seconds. Timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    Target *string `mandatory:"false" json:"target"`

    // List of script parameters. Example: `[{"monitorScriptParameter": {"paramName": "userid", "paramValue":"testuser"}, "isSecret": false, "isOverwritten": false}]`
    ScriptParameters []MonitorScriptParameterInfo `mandatory:"false" json:"scriptParameters"`

    Configuration MonitorConfiguration `mandatory:"false" json:"configuration"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (Monitor) String

func (m Monitor) String() string

func (*Monitor) UnmarshalJSON

func (m *Monitor) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type MonitorCollection

MonitorCollection The results of a monitor search, which contains both MonitorSummary items and other data in an APM domain.

type MonitorCollection struct {

    // List of MonitorSummary items.
    Items []MonitorSummary `mandatory:"true" json:"items"`
}

func (MonitorCollection) String

func (m MonitorCollection) String() string

type MonitorConfiguration

MonitorConfiguration Details of monitor configuration.

type MonitorConfiguration interface {

    // If isFailureRetried is enabled, then a failed call will be retried.
    GetIsFailureRetried() *bool
}

type MonitorConfigurationConfigTypeEnum

MonitorConfigurationConfigTypeEnum Enum with underlying type: string

type MonitorConfigurationConfigTypeEnum string

Set of constants representing the allowable values for MonitorConfigurationConfigTypeEnum

const (
    MonitorConfigurationConfigTypeBrowserConfig         MonitorConfigurationConfigTypeEnum = "BROWSER_CONFIG"
    MonitorConfigurationConfigTypeScriptedBrowserConfig MonitorConfigurationConfigTypeEnum = "SCRIPTED_BROWSER_CONFIG"
    MonitorConfigurationConfigTypeRestConfig            MonitorConfigurationConfigTypeEnum = "REST_CONFIG"
    MonitorConfigurationConfigTypeScriptedRestConfig    MonitorConfigurationConfigTypeEnum = "SCRIPTED_REST_CONFIG"
)

func GetMonitorConfigurationConfigTypeEnumValues

func GetMonitorConfigurationConfigTypeEnumValues() []MonitorConfigurationConfigTypeEnum

GetMonitorConfigurationConfigTypeEnumValues Enumerates the set of values for MonitorConfigurationConfigTypeEnum

type MonitorResult

MonitorResult The monitor result for a specific execution.

type MonitorResult struct {

    // Type of result content.
    // Example: Zip or Raw file.
    ResultContentType *string `mandatory:"true" json:"resultContentType"`

    // Type of result.
    // Example: HAR, Screenshot or Log.
    ResultType *string `mandatory:"false" json:"resultType"`

    // Monitor result data set.
    ResultDataSet []MonitorResultData `mandatory:"false" json:"resultDataSet"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the monitor.
    MonitorId *string `mandatory:"false" json:"monitorId"`

    // The name of the vantage point.
    VantagePoint *string `mandatory:"false" json:"vantagePoint"`

    // The specific point of time when the result of an execution is collected.
    ExecutionTime *string `mandatory:"false" json:"executionTime"`
}

func (MonitorResult) String

func (m MonitorResult) String() string

type MonitorResultData

MonitorResultData Details of the monitor result data.

type MonitorResultData struct {

    // Name of the data.
    Name *string `mandatory:"false" json:"name"`

    // Data content in byte format.
    // Example: Zip or Screenshot.
    ByteContent []byte `mandatory:"false" json:"byteContent"`

    // Data content in string format.
    // Example: HAR.
    StringContent *string `mandatory:"false" json:"stringContent"`

    // The time when the data was generated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

func (MonitorResultData) String

func (m MonitorResultData) String() string

type MonitorScriptParameter

MonitorScriptParameter Details of the script parameter that can be used to overwrite the parameter present in the script.

type MonitorScriptParameter struct {

    // Name of the parameter.
    ParamName *string `mandatory:"true" json:"paramName"`

    // Value of the parameter.
    ParamValue *string `mandatory:"true" json:"paramValue"`
}

func (MonitorScriptParameter) String

func (m MonitorScriptParameter) String() string

type MonitorScriptParameterInfo

MonitorScriptParameterInfo Details of the script parameters in the monitor. isOverwritten specifies that the script parameters are overwritten in the monitor. If the user overwrites the parameter value in the monitor, then the overwritten values will be used to run the monitor.

type MonitorScriptParameterInfo struct {
    MonitorScriptParameter *MonitorScriptParameter `mandatory:"true" json:"monitorScriptParameter"`

    // Describes if  the parameter value is secret and should be kept confidential.
    // isSecret is specified in either CreateScript or UpdateScript API.
    IsSecret *bool `mandatory:"true" json:"isSecret"`

    // If parameter value is default or overwritten.
    IsOverwritten *bool `mandatory:"true" json:"isOverwritten"`
}

func (MonitorScriptParameterInfo) String

func (m MonitorScriptParameterInfo) String() string

type MonitorStatusCountMap

MonitorStatusCountMap Details of the monitor count per state. Example: `{ "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }`

type MonitorStatusCountMap struct {

    // Total number of monitors using the script.
    Total *int `mandatory:"true" json:"total"`

    // Number of enabled monitors using the script.
    Enabled *int `mandatory:"true" json:"enabled"`

    // Number of disabled monitors using the script.
    Disabled *int `mandatory:"true" json:"disabled"`

    // Number of invalid monitors using the script.
    Invalid *int `mandatory:"true" json:"invalid"`
}

func (MonitorStatusCountMap) String

func (m MonitorStatusCountMap) String() string

type MonitorStatusEnum

MonitorStatusEnum Enum with underlying type: string

type MonitorStatusEnum string

Set of constants representing the allowable values for MonitorStatusEnum

const (
    MonitorStatusEnabled  MonitorStatusEnum = "ENABLED"
    MonitorStatusDisabled MonitorStatusEnum = "DISABLED"
    MonitorStatusInvalid  MonitorStatusEnum = "INVALID"
)

func GetMonitorStatusEnumValues

func GetMonitorStatusEnumValues() []MonitorStatusEnum

GetMonitorStatusEnumValues Enumerates the set of values for MonitorStatusEnum

type MonitorSummary

MonitorSummary Information about the monitor.

type MonitorSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the monitor.
    Id *string `mandatory:"true" json:"id"`

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of monitor.
    MonitorType MonitorTypesEnum `mandatory:"true" json:"monitorType"`

    // List of vantage points where the monitor is running.
    VantagePoints []VantagePointInfo `mandatory:"true" json:"vantagePoints"`

    // Number of vantage points where monitor is running.
    VantagePointCount *int `mandatory:"true" json:"vantagePointCount"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    ScriptId *string `mandatory:"true" json:"scriptId"`

    // Name of the script.
    ScriptName *string `mandatory:"true" json:"scriptName"`

    // Enables or disables the monitor.
    Status MonitorStatusEnum `mandatory:"true" json:"status"`

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

    // Timeout in seconds. Timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60.
    // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    Target *string `mandatory:"false" json:"target"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (MonitorSummary) String

func (m MonitorSummary) String() string

type MonitorTypesEnum

MonitorTypesEnum Enum with underlying type: string

type MonitorTypesEnum string

Set of constants representing the allowable values for MonitorTypesEnum

const (
    MonitorTypesScriptedBrowser MonitorTypesEnum = "SCRIPTED_BROWSER"
    MonitorTypesBrowser         MonitorTypesEnum = "BROWSER"
    MonitorTypesScriptedRest    MonitorTypesEnum = "SCRIPTED_REST"
    MonitorTypesRest            MonitorTypesEnum = "REST"
)

func GetMonitorTypesEnumValues

func GetMonitorTypesEnumValues() []MonitorTypesEnum

GetMonitorTypesEnumValues Enumerates the set of values for MonitorTypesEnum

type OAuthSchemesEnum

OAuthSchemesEnum Enum with underlying type: string

type OAuthSchemesEnum string

Set of constants representing the allowable values for OAuthSchemesEnum

const (
    OAuthSchemesNone  OAuthSchemesEnum = "NONE"
    OAuthSchemesBasic OAuthSchemesEnum = "BASIC"
)

func GetOAuthSchemesEnumValues

func GetOAuthSchemesEnumValues() []OAuthSchemesEnum

GetOAuthSchemesEnumValues Enumerates the set of values for OAuthSchemesEnum

type PublicVantagePointCollection

PublicVantagePointCollection The results of a public vantage point search, which contains PublicVantagePointSummary items and other data in an APM domain.

type PublicVantagePointCollection struct {

    // List of PublicVantagePointSummary items.
    Items []PublicVantagePointSummary `mandatory:"true" json:"items"`
}

func (PublicVantagePointCollection) String

func (m PublicVantagePointCollection) String() string

type PublicVantagePointSummary

PublicVantagePointSummary Information about public vantage points.

type PublicVantagePointSummary struct {

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Unique permanent name of the vantage point.
    Name *string `mandatory:"true" json:"name"`

    Geo *GeoSummary `mandatory:"false" json:"geo"`
}

func (PublicVantagePointSummary) String

func (m PublicVantagePointSummary) String() string

type RequestAuthenticationDetails

RequestAuthenticationDetails Details for request HTTP authentication.

type RequestAuthenticationDetails struct {

    // Request http oauth scheme.
    OauthScheme OAuthSchemesEnum `mandatory:"false" json:"oauthScheme,omitempty"`

    // Username for authentication.
    AuthUserName *string `mandatory:"false" json:"authUserName"`

    // User password for authentication.
    AuthUserPassword *string `mandatory:"false" json:"authUserPassword"`

    // Authentication token.
    AuthToken *string `mandatory:"false" json:"authToken"`

    // URL to get authetication token.
    AuthUrl *string `mandatory:"false" json:"authUrl"`

    // List of authentication headers. Example: `[{"headerName": "content-type", "headerValue":"json"}]`
    AuthHeaders []Header `mandatory:"false" json:"authHeaders"`

    // Request method.
    AuthRequestMethod RequestMethodsEnum `mandatory:"false" json:"authRequestMethod,omitempty"`

    // Request post body.
    AuthRequestPostBody *string `mandatory:"false" json:"authRequestPostBody"`
}

func (RequestAuthenticationDetails) String

func (m RequestAuthenticationDetails) String() string

type RequestAuthenticationSchemesEnum

RequestAuthenticationSchemesEnum Enum with underlying type: string

type RequestAuthenticationSchemesEnum string

Set of constants representing the allowable values for RequestAuthenticationSchemesEnum

const (
    RequestAuthenticationSchemesOauth  RequestAuthenticationSchemesEnum = "OAUTH"
    RequestAuthenticationSchemesNone   RequestAuthenticationSchemesEnum = "NONE"
    RequestAuthenticationSchemesBasic  RequestAuthenticationSchemesEnum = "BASIC"
    RequestAuthenticationSchemesBearer RequestAuthenticationSchemesEnum = "BEARER"
)

func GetRequestAuthenticationSchemesEnumValues

func GetRequestAuthenticationSchemesEnumValues() []RequestAuthenticationSchemesEnum

GetRequestAuthenticationSchemesEnumValues Enumerates the set of values for RequestAuthenticationSchemesEnum

type RequestMethodsEnum

RequestMethodsEnum Enum with underlying type: string

type RequestMethodsEnum string

Set of constants representing the allowable values for RequestMethodsEnum

const (
    RequestMethodsGet  RequestMethodsEnum = "GET"
    RequestMethodsPost RequestMethodsEnum = "POST"
)

func GetRequestMethodsEnumValues

func GetRequestMethodsEnumValues() []RequestMethodsEnum

GetRequestMethodsEnumValues Enumerates the set of values for RequestMethodsEnum

type RequestQueryParam

RequestQueryParam Information about request query parameters.

type RequestQueryParam struct {

    // Name of request query parameter.
    ParamName *string `mandatory:"true" json:"paramName"`

    // Value of request query parameter.
    ParamValue *string `mandatory:"false" json:"paramValue"`
}

func (RequestQueryParam) String

func (m RequestQueryParam) String() string

type RestMonitorConfiguration

RestMonitorConfiguration Request configuration details for the REST monitor type.

type RestMonitorConfiguration struct {

    // If isFailureRetried is enabled, then a failed call will be retried.
    IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"`

    // If redirection enabled, then redirects will be allowed while accessing target URL.
    IsRedirectionEnabled *bool `mandatory:"false" json:"isRedirectionEnabled"`

    // If certificate validation enabled, then call will fail for certificate errors.
    IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"`

    ReqAuthenticationDetails *RequestAuthenticationDetails `mandatory:"false" json:"reqAuthenticationDetails"`

    // List of request headers. Example: `[{"headerName": "content-type", "headerValue":"json"}]`
    RequestHeaders []Header `mandatory:"false" json:"requestHeaders"`

    // List of request query params. Example: `[{"paramName": "sortOrder", "paramValue": "asc"}]`
    RequestQueryParams []RequestQueryParam `mandatory:"false" json:"requestQueryParams"`

    // Request post body content.
    RequestPostBody *string `mandatory:"false" json:"requestPostBody"`

    // Verify response content against regular expression based string.
    // If response content does not match the verifyResponseContent value, then it will be considered a failure.
    VerifyResponseContent *string `mandatory:"false" json:"verifyResponseContent"`

    // Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
    VerifyResponseCodes []string `mandatory:"false" json:"verifyResponseCodes"`

    // Request HTTP method.
    RequestMethod RequestMethodsEnum `mandatory:"false" json:"requestMethod,omitempty"`

    // Request http authentication scheme.
    ReqAuthenticationScheme RequestAuthenticationSchemesEnum `mandatory:"false" json:"reqAuthenticationScheme,omitempty"`
}

func (RestMonitorConfiguration) GetIsFailureRetried

func (m RestMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (RestMonitorConfiguration) MarshalJSON

func (m RestMonitorConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RestMonitorConfiguration) String

func (m RestMonitorConfiguration) String() string

type Script

Script The information about the script.

type Script struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    Id *string `mandatory:"true" json:"id"`

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Content type of the script.
    ContentType ContentTypesEnum `mandatory:"true" json:"contentType"`

    MonitorStatusCountMap *MonitorStatusCountMap `mandatory:"true" json:"monitorStatusCountMap"`

    // The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters.
    // The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`.
    // Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false.
    // Examples:
    // With mandatory param name : `<ORAP><ON>param name</ON></ORAP>`
    // With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>`
    // Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format.
    Content *string `mandatory:"false" json:"content"`

    // The time when the script was uploaded.
    TimeUploaded *common.SDKTime `mandatory:"false" json:"timeUploaded"`

    // Size of the script content.
    ContentSizeInBytes *int `mandatory:"false" json:"contentSizeInBytes"`

    // File name of the uploaded script content.
    ContentFileName *string `mandatory:"false" json:"contentFileName"`

    // List of script parameters. Example: `[{"scriptParameter": {"paramName": "userid", "paramValue":"testuser", "isSecret": false}, "isOverwritten": false}]`
    Parameters []ScriptParameterInfo `mandatory:"false" json:"parameters"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (Script) String

func (m Script) String() string

type ScriptCollection

ScriptCollection The results of a script search, which contains both ScriptSummary items and other data in an APM domain.

type ScriptCollection struct {

    // List of ScriptSummary items.
    Items []ScriptSummary `mandatory:"true" json:"items"`
}

func (ScriptCollection) String

func (m ScriptCollection) String() string

type ScriptParameter

ScriptParameter Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content.

type ScriptParameter struct {

    // Name of the parameter.
    ParamName *string `mandatory:"true" json:"paramName"`

    // Value of the parameter.
    ParamValue *string `mandatory:"false" json:"paramValue"`

    // If the parameter value is secret and should be kept confidential, then set isSecret to true.
    IsSecret *bool `mandatory:"false" json:"isSecret"`
}

func (ScriptParameter) String

func (m ScriptParameter) String() string

type ScriptParameterInfo

ScriptParameterInfo Information about script parameters. isOverwritten specifies that the default parameter present in the script content is overwritten.

type ScriptParameterInfo struct {
    ScriptParameter *ScriptParameter `mandatory:"true" json:"scriptParameter"`

    // If parameter value is default or overwritten.
    IsOverwritten *bool `mandatory:"true" json:"isOverwritten"`
}

func (ScriptParameterInfo) String

func (m ScriptParameterInfo) String() string

type ScriptSummary

ScriptSummary Information about the script.

type ScriptSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    Id *string `mandatory:"true" json:"id"`

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Content type of the script.
    ContentType ContentTypesEnum `mandatory:"true" json:"contentType"`

    MonitorStatusCountMap *MonitorStatusCountMap `mandatory:"true" json:"monitorStatusCountMap"`

    // The time the resource was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time the resource was updated, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
    // timestamp format.
    // Example: `2020-02-13T22:47:12.613Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (ScriptSummary) String

func (m ScriptSummary) String() string

type ScriptedBrowserMonitorConfiguration

ScriptedBrowserMonitorConfiguration Configuration details for the SCRIPTED_BROWSER monitor type.

type ScriptedBrowserMonitorConfiguration struct {

    // If isFailureRetried is enabled, then a failed call will be retried.
    IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"`

    // If certificate validation is enabled, then the call will fail in case of certification errors.
    IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"`
}

func (ScriptedBrowserMonitorConfiguration) GetIsFailureRetried

func (m ScriptedBrowserMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (ScriptedBrowserMonitorConfiguration) MarshalJSON

func (m ScriptedBrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScriptedBrowserMonitorConfiguration) String

func (m ScriptedBrowserMonitorConfiguration) String() string

type ScriptedRestMonitorConfiguration

ScriptedRestMonitorConfiguration Configuration details for the SCRIPTED_REST monitor type.

type ScriptedRestMonitorConfiguration struct {

    // If isFailureRetried is enabled, then a failed call will be retried.
    IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"`
}

func (ScriptedRestMonitorConfiguration) GetIsFailureRetried

func (m ScriptedRestMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (ScriptedRestMonitorConfiguration) MarshalJSON

func (m ScriptedRestMonitorConfiguration) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ScriptedRestMonitorConfiguration) String

func (m ScriptedRestMonitorConfiguration) String() string

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type UpdateMonitorDetails

UpdateMonitorDetails Details of the request body used to update a monitor.

type UpdateMonitorDetails struct {

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A list of vantage points from which to execute the monitor.
    // Use /publicVantagePoints to fetch public vantage points.
    VantagePoints []string `mandatory:"false" json:"vantagePoints"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the script.
    // scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    ScriptId *string `mandatory:"false" json:"scriptId"`

    // Enables or disables the monitor.
    Status MonitorStatusEnum `mandatory:"false" json:"status,omitempty"`

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds.
    RepeatIntervalInSeconds *int `mandatory:"false" json:"repeatIntervalInSeconds"`

    // Timeout in seconds. Timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    Target *string `mandatory:"false" json:"target"`

    // List of script parameters in the monitor.
    // This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
    // Example: `[{"paramName": "userid", "paramValue":"testuser"}]`
    ScriptParameters []MonitorScriptParameter `mandatory:"false" json:"scriptParameters"`

    Configuration MonitorConfiguration `mandatory:"false" json:"configuration"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateMonitorDetails) String

func (m UpdateMonitorDetails) String() string

func (*UpdateMonitorDetails) UnmarshalJSON

func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateMonitorRequest

UpdateMonitorRequest wrapper for the UpdateMonitor operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/UpdateMonitor.go.html to see an example of how to use UpdateMonitorRequest.

type UpdateMonitorRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the monitor.
    MonitorId *string `mandatory:"true" contributesTo:"path" name:"monitorId"`

    // The information to be updated.
    UpdateMonitorDetails `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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateMonitorRequest) HTTPRequest

func (request UpdateMonitorRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMonitorRequest) RetryPolicy

func (request UpdateMonitorRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMonitorRequest) String

func (request UpdateMonitorRequest) String() string

type UpdateMonitorResponse

UpdateMonitorResponse wrapper for the UpdateMonitor operation

type UpdateMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `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"`
}

func (UpdateMonitorResponse) HTTPResponse

func (response UpdateMonitorResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMonitorResponse) String

func (response UpdateMonitorResponse) String() string

type UpdateScriptDetails

UpdateScriptDetails Details of the request body used to update a script. Only Side or JavaScript content types are supported and content should be in Side or JavaScript formats only.

type UpdateScriptDetails struct {

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Content type of script.
    ContentType ContentTypesEnum `mandatory:"false" json:"contentType,omitempty"`

    // The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters.
    // The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`.
    // Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false.
    // Examples:
    // With mandatory param name : `<ORAP><ON>param name</ON></ORAP>`
    // With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>`
    // Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format.
    Content *string `mandatory:"false" json:"content"`

    // File name of uploaded script content.
    ContentFileName *string `mandatory:"false" json:"contentFileName"`

    // List of script parameters. Example: `[{"paramName": "userid", "paramValue":"testuser", "isSecret": false}]`
    Parameters []ScriptParameter `mandatory:"false" json:"parameters"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateScriptDetails) String

func (m UpdateScriptDetails) String() string

type UpdateScriptRequest

UpdateScriptRequest wrapper for the UpdateScript operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/apmsynthetics/UpdateScript.go.html to see an example of how to use UpdateScriptRequest.

type UpdateScriptRequest struct {

    // The APM domain ID the request is intended for.
    ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"`

    // The OCID of the script.
    ScriptId *string `mandatory:"true" contributesTo:"path" name:"scriptId"`

    // The information to be updated.
    UpdateScriptDetails `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"`

    // Unique identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateScriptRequest) HTTPRequest

func (request UpdateScriptRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateScriptRequest) RetryPolicy

func (request UpdateScriptRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateScriptRequest) String

func (request UpdateScriptRequest) String() string

type UpdateScriptResponse

UpdateScriptResponse wrapper for the UpdateScript operation

type UpdateScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `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"`
}

func (UpdateScriptResponse) HTTPResponse

func (response UpdateScriptResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateScriptResponse) String

func (response UpdateScriptResponse) String() string

type VantagePointInfo

VantagePointInfo Details of the vantage point.

type VantagePointInfo struct {

    // Name of the vantage point.
    Name *string `mandatory:"true" json:"name"`

    // Unique name that can be edited. The name should not contain any confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`
}

func (VantagePointInfo) String

func (m VantagePointInfo) String() string

type VerifyText

VerifyText Details to verify text.

type VerifyText struct {

    // Verification text in the response.
    Text *string `mandatory:"false" json:"text"`
}

func (VerifyText) String

func (m VerifyText) String() string