func GetAggregatedNetworkDataResultStateEnumStringValues() []string
GetAggregatedNetworkDataResultStateEnumStringValues Enumerates the set of values in String for AggregatedNetworkDataResultStateEnum
func GetContentTypesEnumStringValues() []string
GetContentTypesEnumStringValues Enumerates the set of values in String for ContentTypesEnum
func GetDedicatedVantagePointStatusEnumStringValues() []string
GetDedicatedVantagePointStatusEnumStringValues Enumerates the set of values in String for DedicatedVantagePointStatusEnum
func GetDvpStackDetailsDvpStackTypeEnumStringValues() []string
GetDvpStackDetailsDvpStackTypeEnumStringValues Enumerates the set of values in String for DvpStackDetailsDvpStackTypeEnum
func GetListDedicatedVantagePointsSortByEnumStringValues() []string
GetListDedicatedVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortByEnum
func GetListDedicatedVantagePointsSortOrderEnumStringValues() []string
GetListDedicatedVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortOrderEnum
func GetListDedicatedVantagePointsStatusEnumStringValues() []string
GetListDedicatedVantagePointsStatusEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsStatusEnum
func GetListMonitorsSortByEnumStringValues() []string
GetListMonitorsSortByEnumStringValues Enumerates the set of values in String for ListMonitorsSortByEnum
func GetListMonitorsSortOrderEnumStringValues() []string
GetListMonitorsSortOrderEnumStringValues Enumerates the set of values in String for ListMonitorsSortOrderEnum
func GetListMonitorsStatusEnumStringValues() []string
GetListMonitorsStatusEnumStringValues Enumerates the set of values in String for ListMonitorsStatusEnum
func GetListPublicVantagePointsSortByEnumStringValues() []string
GetListPublicVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListPublicVantagePointsSortByEnum
func GetListPublicVantagePointsSortOrderEnumStringValues() []string
GetListPublicVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListPublicVantagePointsSortOrderEnum
func GetListScriptsSortByEnumStringValues() []string
GetListScriptsSortByEnumStringValues Enumerates the set of values in String for ListScriptsSortByEnum
func GetListScriptsSortOrderEnumStringValues() []string
GetListScriptsSortOrderEnumStringValues Enumerates the set of values in String for ListScriptsSortOrderEnum
func GetMonitorConfigurationConfigTypeEnumStringValues() []string
GetMonitorConfigurationConfigTypeEnumStringValues Enumerates the set of values in String for MonitorConfigurationConfigTypeEnum
func GetMonitorStatusEnumStringValues() []string
GetMonitorStatusEnumStringValues Enumerates the set of values in String for MonitorStatusEnum
func GetMonitorTypesEnumStringValues() []string
GetMonitorTypesEnumStringValues Enumerates the set of values in String for MonitorTypesEnum
func GetNodeTypeEnumStringValues() []string
GetNodeTypeEnumStringValues Enumerates the set of values in String for NodeTypeEnum
func GetOAuthSchemesEnumStringValues() []string
GetOAuthSchemesEnumStringValues Enumerates the set of values in String for OAuthSchemesEnum
func GetProbeModeEnumStringValues() []string
GetProbeModeEnumStringValues Enumerates the set of values in String for ProbeModeEnum
func GetProtocolEnumStringValues() []string
GetProtocolEnumStringValues Enumerates the set of values in String for ProtocolEnum
func GetRequestAuthenticationSchemesEnumStringValues() []string
GetRequestAuthenticationSchemesEnumStringValues Enumerates the set of values in String for RequestAuthenticationSchemesEnum
func GetRequestAuthenticationSchemesForScriptedRestEnumStringValues() []string
GetRequestAuthenticationSchemesForScriptedRestEnumStringValues Enumerates the set of values in String for RequestAuthenticationSchemesForScriptedRestEnum
func GetRequestMethodsEnumStringValues() []string
GetRequestMethodsEnumStringValues Enumerates the set of values in String for RequestMethodsEnum
func GetSchedulingPolicyEnumStringValues() []string
GetSchedulingPolicyEnumStringValues Enumerates the set of values in String for SchedulingPolicyEnum
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
AggregateNetworkDataDetails Details of the vantage point and corresponding execution times.
type AggregateNetworkDataDetails struct { // List of VantagePointExecution items. VantagePointExecutionTimes []VantagePointExecution `mandatory:"true" json:"vantagePointExecutionTimes"` }
func (m AggregateNetworkDataDetails) String() string
func (m AggregateNetworkDataDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AggregateNetworkDataRequest wrapper for the AggregateNetworkData operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/AggregateNetworkData.go.html to see an example of how to use AggregateNetworkDataRequest.
type AggregateNetworkDataRequest 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"` // Details of the vantage point and corresponding execution times. AggregateNetworkDataDetails `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 (request AggregateNetworkDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request AggregateNetworkDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request AggregateNetworkDataRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request AggregateNetworkDataRequest) String() string
func (request AggregateNetworkDataRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AggregateNetworkDataResponse wrapper for the AggregateNetworkData operation
type AggregateNetworkDataResponse struct { // The underlying http response RawResponse *http.Response // The AggregatedNetworkDataResult instance AggregatedNetworkDataResult `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 (response AggregateNetworkDataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response AggregateNetworkDataResponse) String() string
AggregatedNetworkData Details of the aggregated network data.
type AggregatedNetworkData struct { // Status of the aggregated network data result. ResultState AggregatedNetworkDataResultStateEnum `mandatory:"true" json:"resultState"` // List of vantage point nodes. VantagePointNodes []VantagePointNode `mandatory:"false" json:"vantagePointNodes"` // An array of node arrays where each internal array corresponds to nodes at one level. NodesByLevel [][]Node `mandatory:"false" json:"nodesByLevel"` // Map of link objects. Links map[string]Link `mandatory:"false" json:"links"` // String containing error details. ErrorDetails *string `mandatory:"false" json:"errorDetails"` }
func (m AggregatedNetworkData) String() string
func (m AggregatedNetworkData) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AggregatedNetworkDataResult The aggregated network results.
type AggregatedNetworkDataResult struct { AggregatedNetworkData *AggregatedNetworkData `mandatory:"true" json:"aggregatedNetworkData"` }
func (m AggregatedNetworkDataResult) String() string
func (m AggregatedNetworkDataResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AggregatedNetworkDataResultStateEnum Enum with underlying type: string
type AggregatedNetworkDataResultStateEnum string
Set of constants representing the allowable values for AggregatedNetworkDataResultStateEnum
const ( AggregatedNetworkDataResultStateSuccess AggregatedNetworkDataResultStateEnum = "SUCCESS" AggregatedNetworkDataResultStateFailure AggregatedNetworkDataResultStateEnum = "FAILURE" AggregatedNetworkDataResultStatePartial AggregatedNetworkDataResultStateEnum = "PARTIAL" )
func GetAggregatedNetworkDataResultStateEnumValues() []AggregatedNetworkDataResultStateEnum
GetAggregatedNetworkDataResultStateEnumValues Enumerates the set of values for AggregatedNetworkDataResultStateEnum
func GetMappingAggregatedNetworkDataResultStateEnum(val string) (AggregatedNetworkDataResultStateEnum, bool)
GetMappingAggregatedNetworkDataResultStateEnum performs case Insensitive comparison on enum value and return the desired enum
ApmSyntheticClient a client for ApmSynthetic
type ApmSyntheticClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client ApmSyntheticClient) AggregateNetworkData(ctx context.Context, request AggregateNetworkDataRequest) (response AggregateNetworkDataResponse, err error)
AggregateNetworkData Gets aggregated network data for given executions.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/AggregateNetworkData.go.html to see an example of how to use AggregateNetworkData API. A default retry strategy applies to this operation AggregateNetworkData()
func (client *ApmSyntheticClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client ApmSyntheticClient) CreateDedicatedVantagePoint(ctx context.Context, request CreateDedicatedVantagePointRequest) (response CreateDedicatedVantagePointResponse, err error)
CreateDedicatedVantagePoint Registers a new dedicated vantage point.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/CreateDedicatedVantagePoint.go.html to see an example of how to use CreateDedicatedVantagePoint API. A default retry strategy applies to this operation CreateDedicatedVantagePoint()
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/65.54.0/apmsynthetics/CreateMonitor.go.html to see an example of how to use CreateMonitor API. A default retry strategy applies to this operation CreateMonitor()
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/65.54.0/apmsynthetics/CreateScript.go.html to see an example of how to use CreateScript API. A default retry strategy applies to this operation CreateScript()
func (client ApmSyntheticClient) DeleteDedicatedVantagePoint(ctx context.Context, request DeleteDedicatedVantagePointRequest) (response DeleteDedicatedVantagePointResponse, err error)
DeleteDedicatedVantagePoint Deregisters the specified dedicated vantage point.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/DeleteDedicatedVantagePoint.go.html to see an example of how to use DeleteDedicatedVantagePoint API. A default retry strategy applies to this operation DeleteDedicatedVantagePoint()
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/65.54.0/apmsynthetics/DeleteMonitor.go.html to see an example of how to use DeleteMonitor API. A default retry strategy applies to this operation DeleteMonitor()
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/65.54.0/apmsynthetics/DeleteScript.go.html to see an example of how to use DeleteScript API. A default retry strategy applies to this operation DeleteScript()
func (client ApmSyntheticClient) GetDedicatedVantagePoint(ctx context.Context, request GetDedicatedVantagePointRequest) (response GetDedicatedVantagePointResponse, err error)
GetDedicatedVantagePoint Gets the details of the dedicated vantage point identified by the OCID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/GetDedicatedVantagePoint.go.html to see an example of how to use GetDedicatedVantagePoint API. A default retry strategy applies to this operation GetDedicatedVantagePoint()
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/65.54.0/apmsynthetics/GetMonitor.go.html to see an example of how to use GetMonitor API. A default retry strategy applies to this operation GetMonitor()
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, Console Log or Network details.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/GetMonitorResult.go.html to see an example of how to use GetMonitorResult API. A default retry strategy applies to this operation GetMonitorResult()
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/65.54.0/apmsynthetics/GetScript.go.html to see an example of how to use GetScript API. A default retry strategy applies to this operation GetScript()
func (client ApmSyntheticClient) ListDedicatedVantagePoints(ctx context.Context, request ListDedicatedVantagePointsRequest) (response ListDedicatedVantagePointsResponse, err error)
ListDedicatedVantagePoints Returns a list of dedicated vantage points.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/ListDedicatedVantagePoints.go.html to see an example of how to use ListDedicatedVantagePoints API. A default retry strategy applies to this operation ListDedicatedVantagePoints()
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/65.54.0/apmsynthetics/ListMonitors.go.html to see an example of how to use ListMonitors API. A default retry strategy applies to this operation ListMonitors()
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/65.54.0/apmsynthetics/ListPublicVantagePoints.go.html to see an example of how to use ListPublicVantagePoints API. A default retry strategy applies to this operation ListPublicVantagePoints()
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/65.54.0/apmsynthetics/ListScripts.go.html to see an example of how to use ListScripts API. A default retry strategy applies to this operation ListScripts()
func (client *ApmSyntheticClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client ApmSyntheticClient) UpdateDedicatedVantagePoint(ctx context.Context, request UpdateDedicatedVantagePointRequest) (response UpdateDedicatedVantagePointResponse, err error)
UpdateDedicatedVantagePoint Updates the dedicated vantage point.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/UpdateDedicatedVantagePoint.go.html to see an example of how to use UpdateDedicatedVantagePoint API. A default retry strategy applies to this operation UpdateDedicatedVantagePoint()
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/65.54.0/apmsynthetics/UpdateMonitor.go.html to see an example of how to use UpdateMonitor API. A default retry strategy applies to this operation UpdateMonitor()
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/65.54.0/apmsynthetics/UpdateScript.go.html to see an example of how to use UpdateScript API. A default retry strategy applies to this operation UpdateScript()
AvailabilityConfiguration Monitor availability configuration details.
type AvailabilityConfiguration struct { // Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE. MaxAllowedFailuresPerInterval *int `mandatory:"false" json:"maxAllowedFailuresPerInterval"` // Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations. MinAllowedRunsPerInterval *int `mandatory:"false" json:"minAllowedRunsPerInterval"` }
func (m AvailabilityConfiguration) String() string
func (m AvailabilityConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"` // If certificate validation is enabled, then the call will fail in case of certification errors. IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"` // If disabled, auto snapshots are not collected. IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"` // Verifies all the search strings present in the 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"` // Expected HTTP response codes. For status code range, set values such as 2xx, 3xx. VerifyResponseCodes []string `mandatory:"false" json:"verifyResponseCodes"` NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"` }
func (m BrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
GetDnsConfiguration returns DnsConfiguration
func (m BrowserMonitorConfiguration) GetIsFailureRetried() *bool
GetIsFailureRetried returns IsFailureRetried
func (m BrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BrowserMonitorConfiguration) String() string
func (m BrowserMonitorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ClientCertificate Client certificate in PEM format.
type ClientCertificate struct { // Name of the certificate file. The name should not contain any confidential information. FileName *string `mandatory:"true" json:"fileName"` // Content of the client certificate file. Content *string `mandatory:"true" json:"content"` }
func (m ClientCertificate) String() string
func (m ClientCertificate) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ClientCertificateDetails Details for client certificate.
type ClientCertificateDetails struct { ClientCertificate *ClientCertificate `mandatory:"false" json:"clientCertificate"` PrivateKey *PrivateKey `mandatory:"false" json:"privateKey"` }
func (m ClientCertificateDetails) String() string
func (m ClientCertificateDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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() []ContentTypesEnum
GetContentTypesEnumValues Enumerates the set of values for ContentTypesEnum
func GetMappingContentTypesEnum(val string) (ContentTypesEnum, bool)
GetMappingContentTypesEnum performs case Insensitive comparison on enum value and return the desired enum
CreateDedicatedVantagePointDetails Details of the request body used to create a new dedicated vantage point.
type CreateDedicatedVantagePointDetails struct { // Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information. DisplayName *string `mandatory:"true" json:"displayName"` DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"` // Name of the region. Region *string `mandatory:"true" json:"region"` // Status of the dedicated vantage point. Status DedicatedVantagePointStatusEnum `mandatory:"false" json:"status,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDedicatedVantagePointDetails) String() string
func (m *CreateDedicatedVantagePointDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDedicatedVantagePointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDedicatedVantagePointRequest wrapper for the CreateDedicatedVantagePoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/CreateDedicatedVantagePoint.go.html to see an example of how to use CreateDedicatedVantagePointRequest.
type CreateDedicatedVantagePointRequest struct { // The APM domain ID the request is intended for. ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"` // The configuration details for registering a dedicated vantage point. CreateDedicatedVantagePointDetails `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 (request CreateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDedicatedVantagePointRequest) String() string
func (request CreateDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDedicatedVantagePointResponse wrapper for the CreateDedicatedVantagePoint operation
type CreateDedicatedVantagePointResponse struct { // The underlying http response RawResponse *http.Response // The DedicatedVantagePoint instance DedicatedVantagePoint `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 (response CreateDedicatedVantagePointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDedicatedVantagePointResponse) String() string
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 public and dedicated vantage points from which to execute the monitor. // Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated 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 for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. 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"` // If runOnce is enabled, then the monitor will run once. IsRunOnce *bool `mandatory:"false" json:"isRunOnce"` // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. // 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. // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 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"` AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"` MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"` // 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"` // If isRunNow is enabled, then the monitor will run immediately. IsRunNow *bool `mandatory:"false" json:"isRunNow"` // Scheduling policy to decide the distribution of monitor executions on vantage points. SchedulingPolicy SchedulingPolicyEnum `mandatory:"false" json:"schedulingPolicy,omitempty"` // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). BatchIntervalInSeconds *int `mandatory:"false" json:"batchIntervalInSeconds"` }
func (m CreateMonitorDetails) String() string
func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateMonitorDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateMonitorRequest wrapper for the CreateMonitor operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request CreateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateMonitorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateMonitorRequest) String() string
func (request CreateMonitorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateMonitorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateMonitorResponse) String() string
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 (m CreateScriptDetails) String() string
func (m CreateScriptDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateScriptRequest wrapper for the CreateScript operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request CreateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateScriptRequest) String() string
func (request CreateScriptRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateScriptResponse) String() string
DedicatedVantagePoint The information about a dedicated vantage point.
type DedicatedVantagePoint struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the dedicated vantage point. Id *string `mandatory:"true" json:"id"` // Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information. DisplayName *string `mandatory:"true" json:"displayName"` // Unique permanent name of the dedicated vantage point. This is the same as the displayName. Name *string `mandatory:"true" json:"name"` // Status of the dedicated vantage point. Status DedicatedVantagePointStatusEnum `mandatory:"true" json:"status"` DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"` // Name of the region. Region *string `mandatory:"true" json:"region"` 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 (m DedicatedVantagePoint) String() string
func (m *DedicatedVantagePoint) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DedicatedVantagePoint) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DedicatedVantagePointCollection The results of a dedicated vantage point search, which contains DedicatedVantagePointSummary items and other data in an APM domain.
type DedicatedVantagePointCollection struct { // List of DedicatedVantagePointSummary items. Items []DedicatedVantagePointSummary `mandatory:"true" json:"items"` }
func (m DedicatedVantagePointCollection) String() string
func (m DedicatedVantagePointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DedicatedVantagePointStatusEnum Enum with underlying type: string
type DedicatedVantagePointStatusEnum string
Set of constants representing the allowable values for DedicatedVantagePointStatusEnum
const ( DedicatedVantagePointStatusEnabled DedicatedVantagePointStatusEnum = "ENABLED" DedicatedVantagePointStatusDisabled DedicatedVantagePointStatusEnum = "DISABLED" )
func GetDedicatedVantagePointStatusEnumValues() []DedicatedVantagePointStatusEnum
GetDedicatedVantagePointStatusEnumValues Enumerates the set of values for DedicatedVantagePointStatusEnum
func GetMappingDedicatedVantagePointStatusEnum(val string) (DedicatedVantagePointStatusEnum, bool)
GetMappingDedicatedVantagePointStatusEnum performs case Insensitive comparison on enum value and return the desired enum
DedicatedVantagePointSummary Information about dedicated vantage points.
type DedicatedVantagePointSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the dedicated vantage point. Id *string `mandatory:"true" json:"id"` // Unique dedicated vantage point name that cannot 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"` // Status of the dedicated vantage point. Status DedicatedVantagePointStatusEnum `mandatory:"true" json:"status"` DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"` // Name of the region. Region *string `mandatory:"true" json:"region"` 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 (m DedicatedVantagePointSummary) String() string
func (m *DedicatedVantagePointSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DedicatedVantagePointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDedicatedVantagePointRequest wrapper for the DeleteDedicatedVantagePoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/DeleteDedicatedVantagePoint.go.html to see an example of how to use DeleteDedicatedVantagePointRequest.
type DeleteDedicatedVantagePointRequest struct { // The APM domain ID the request is intended for. ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"` // The OCID of the dedicated vantage point. DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"` // 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 (request DeleteDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDedicatedVantagePointRequest) String() string
func (request DeleteDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteDedicatedVantagePointResponse wrapper for the DeleteDedicatedVantagePoint operation
type DeleteDedicatedVantagePointResponse 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 (response DeleteDedicatedVantagePointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDedicatedVantagePointResponse) String() string
DeleteMonitorRequest wrapper for the DeleteMonitor operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request DeleteMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteMonitorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteMonitorRequest) String() string
func (request DeleteMonitorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteMonitorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteMonitorResponse) String() string
DeleteScriptRequest wrapper for the DeleteScript operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request DeleteScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteScriptRequest) String() string
func (request DeleteScriptRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteScriptResponse) String() string
DnsConfiguration Information about the DNS settings.
type DnsConfiguration struct { // If isOverrideDns is true, then DNS settings will be overridden. IsOverrideDns *bool `mandatory:"false" json:"isOverrideDns"` // Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true. OverrideDnsIp *string `mandatory:"false" json:"overrideDnsIp"` }
func (m DnsConfiguration) String() string
func (m DnsConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DvpStackDetails Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.
type DvpStackDetails interface { // Version of the dedicated vantage point. GetDvpVersion() *string }
DvpStackDetailsDvpStackTypeEnum Enum with underlying type: string
type DvpStackDetailsDvpStackTypeEnum string
Set of constants representing the allowable values for DvpStackDetailsDvpStackTypeEnum
const ( DvpStackDetailsDvpStackTypeOracleRmStack DvpStackDetailsDvpStackTypeEnum = "ORACLE_RM_STACK" )
func GetDvpStackDetailsDvpStackTypeEnumValues() []DvpStackDetailsDvpStackTypeEnum
GetDvpStackDetailsDvpStackTypeEnumValues Enumerates the set of values for DvpStackDetailsDvpStackTypeEnum
func GetMappingDvpStackDetailsDvpStackTypeEnum(val string) (DvpStackDetailsDvpStackTypeEnum, bool)
GetMappingDvpStackDetailsDvpStackTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GeoSummary Geographic summary of 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 (m GeoSummary) String() string
func (m GeoSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDedicatedVantagePointRequest wrapper for the GetDedicatedVantagePoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/GetDedicatedVantagePoint.go.html to see an example of how to use GetDedicatedVantagePointRequest.
type GetDedicatedVantagePointRequest struct { // The APM domain ID the request is intended for. ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"` // The OCID of the dedicated vantage point. DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"` // 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 (request GetDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDedicatedVantagePointRequest) String() string
func (request GetDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDedicatedVantagePointResponse wrapper for the GetDedicatedVantagePoint operation
type GetDedicatedVantagePointResponse struct { // The underlying http response RawResponse *http.Response // The DedicatedVantagePoint instance DedicatedVantagePoint `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 (response GetDedicatedVantagePointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDedicatedVantagePointResponse) String() string
GetMonitorRequest wrapper for the GetMonitor operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request GetMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitorRequest) String() string
func (request GetMonitorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetMonitorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitorResponse) String() string
GetMonitorResultRequest wrapper for the GetMonitorResult operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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, screenshot, log, or network. 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 (request GetMonitorResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMonitorResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMonitorResultRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMonitorResultRequest) String() string
func (request GetMonitorResultRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetMonitorResultResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMonitorResultResponse) String() string
GetScriptRequest wrapper for the GetScript operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request GetScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetScriptRequest) String() string
func (request GetScriptRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
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 (m Header) String() string
func (m Header) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Link Details of the link between two nodes.
type Link struct { // ID of the link. Id *string `mandatory:"true" json:"id"` // ID of the source node. Source *string `mandatory:"false" json:"source"` // ID of the destination node. Destination *string `mandatory:"false" json:"destination"` // Number of times the link is repeated. RepeatCount *int `mandatory:"false" json:"repeatCount"` // Average packet loss. ForwardingLoss *float64 `mandatory:"false" json:"forwardingLoss"` // Difference of the packet response time between source and destination nodes, in milliseconds. DelayInMilliseconds *float64 `mandatory:"false" json:"delayInMilliseconds"` // Minimum delay in milliseconds. MinDelayInMilliseconds *float64 `mandatory:"false" json:"minDelayInMilliseconds"` // Maximum delay in milliseconds. MaxDelayInMilliseconds *float64 `mandatory:"false" json:"maxDelayInMilliseconds"` // List of all path IDs of which this link is part of. Paths []string `mandatory:"false" json:"paths"` }
func (m Link) String() string
func (m Link) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDedicatedVantagePointsRequest wrapper for the ListDedicatedVantagePoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/ListDedicatedVantagePoints.go.html to see an example of how to use ListDedicatedVantagePointsRequest.
type ListDedicatedVantagePointsRequest 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"` // The maximum number of results per page, or items to return in a paginated // "List" call. For information on 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 ListDedicatedVantagePointsSortOrderEnum `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-sensitive. SortBy ListDedicatedVantagePointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // A filter to return only the resources that match the entire display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only the resources that match the entire name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return only the dedicated vantage points that match a given status. Status ListDedicatedVantagePointsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" 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 (request ListDedicatedVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDedicatedVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDedicatedVantagePointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDedicatedVantagePointsRequest) String() string
func (request ListDedicatedVantagePointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListDedicatedVantagePointsResponse wrapper for the ListDedicatedVantagePoints operation
type ListDedicatedVantagePointsResponse struct { // The underlying http response RawResponse *http.Response // A list of DedicatedVantagePointCollection instances DedicatedVantagePointCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDedicatedVantagePointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDedicatedVantagePointsResponse) String() string
ListDedicatedVantagePointsSortByEnum Enum with underlying type: string
type ListDedicatedVantagePointsSortByEnum string
Set of constants representing the allowable values for ListDedicatedVantagePointsSortByEnum
const ( ListDedicatedVantagePointsSortByDisplayname ListDedicatedVantagePointsSortByEnum = "displayName" ListDedicatedVantagePointsSortByName ListDedicatedVantagePointsSortByEnum = "name" ListDedicatedVantagePointsSortByTimecreated ListDedicatedVantagePointsSortByEnum = "timeCreated" ListDedicatedVantagePointsSortByTimeupdated ListDedicatedVantagePointsSortByEnum = "timeUpdated" ListDedicatedVantagePointsSortByStatus ListDedicatedVantagePointsSortByEnum = "status" )
func GetListDedicatedVantagePointsSortByEnumValues() []ListDedicatedVantagePointsSortByEnum
GetListDedicatedVantagePointsSortByEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortByEnum
func GetMappingListDedicatedVantagePointsSortByEnum(val string) (ListDedicatedVantagePointsSortByEnum, bool)
GetMappingListDedicatedVantagePointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListDedicatedVantagePointsSortOrderEnum Enum with underlying type: string
type ListDedicatedVantagePointsSortOrderEnum string
Set of constants representing the allowable values for ListDedicatedVantagePointsSortOrderEnum
const ( ListDedicatedVantagePointsSortOrderAsc ListDedicatedVantagePointsSortOrderEnum = "ASC" ListDedicatedVantagePointsSortOrderDesc ListDedicatedVantagePointsSortOrderEnum = "DESC" )
func GetListDedicatedVantagePointsSortOrderEnumValues() []ListDedicatedVantagePointsSortOrderEnum
GetListDedicatedVantagePointsSortOrderEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortOrderEnum
func GetMappingListDedicatedVantagePointsSortOrderEnum(val string) (ListDedicatedVantagePointsSortOrderEnum, bool)
GetMappingListDedicatedVantagePointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDedicatedVantagePointsStatusEnum Enum with underlying type: string
type ListDedicatedVantagePointsStatusEnum string
Set of constants representing the allowable values for ListDedicatedVantagePointsStatusEnum
const ( ListDedicatedVantagePointsStatusEnabled ListDedicatedVantagePointsStatusEnum = "ENABLED" ListDedicatedVantagePointsStatusDisabled ListDedicatedVantagePointsStatusEnum = "DISABLED" )
func GetListDedicatedVantagePointsStatusEnumValues() []ListDedicatedVantagePointsStatusEnum
GetListDedicatedVantagePointsStatusEnumValues Enumerates the set of values for ListDedicatedVantagePointsStatusEnum
func GetMappingListDedicatedVantagePointsStatusEnum(val string) (ListDedicatedVantagePointsStatusEnum, bool)
GetMappingListDedicatedVantagePointsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListMonitorsRequest wrapper for the ListMonitors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 the resources that match the entire display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only monitors using scriptId. ScriptId *string `mandatory:"false" contributesTo:"query" name:"scriptId"` // The name of the public or dedicated vantage point. VantagePoint *string `mandatory:"false" contributesTo:"query" name:"vantagePoint"` // 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"` // The maximum number of results per page, or items to return in a paginated // "List" call. For information on 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"` // A filter to return the monitors whose maintenance window is currently active. IsMaintenanceWindowActive *bool `mandatory:"false" contributesTo:"query" name:"isMaintenanceWindowActive"` // A filter to return the monitors whose maintenance window is set. IsMaintenanceWindowSet *bool `mandatory:"false" contributesTo:"query" name:"isMaintenanceWindowSet"` // 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 (request ListMonitorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMonitorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMonitorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMonitorsRequest) String() string
func (request ListMonitorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListMonitorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMonitorsResponse) String() string
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" ListMonitorsSortByMaintenancewindowtimestarted ListMonitorsSortByEnum = "maintenanceWindowTimeStarted" )
func GetListMonitorsSortByEnumValues() []ListMonitorsSortByEnum
GetListMonitorsSortByEnumValues Enumerates the set of values for ListMonitorsSortByEnum
func GetMappingListMonitorsSortByEnum(val string) (ListMonitorsSortByEnum, bool)
GetMappingListMonitorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMonitorsSortOrderEnum
GetListMonitorsSortOrderEnumValues Enumerates the set of values for ListMonitorsSortOrderEnum
func GetMappingListMonitorsSortOrderEnum(val string) (ListMonitorsSortOrderEnum, bool)
GetMappingListMonitorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListMonitorsStatusEnum
GetListMonitorsStatusEnumValues Enumerates the set of values for ListMonitorsStatusEnum
func GetMappingListMonitorsStatusEnum(val string) (ListMonitorsStatusEnum, bool)
GetMappingListMonitorsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
ListPublicVantagePointsRequest wrapper for the ListPublicVantagePoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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"` // The maximum number of results per page, or items to return in a paginated // "List" call. For information on 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 the resources that match the entire display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only the resources that match the entire name. 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 (request ListPublicVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPublicVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPublicVantagePointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPublicVantagePointsRequest) String() string
func (request ListPublicVantagePointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListPublicVantagePointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPublicVantagePointsResponse) String() string
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() []ListPublicVantagePointsSortByEnum
GetListPublicVantagePointsSortByEnumValues Enumerates the set of values for ListPublicVantagePointsSortByEnum
func GetMappingListPublicVantagePointsSortByEnum(val string) (ListPublicVantagePointsSortByEnum, bool)
GetMappingListPublicVantagePointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListPublicVantagePointsSortOrderEnum
GetListPublicVantagePointsSortOrderEnumValues Enumerates the set of values for ListPublicVantagePointsSortOrderEnum
func GetMappingListPublicVantagePointsSortOrderEnum(val string) (ListPublicVantagePointsSortOrderEnum, bool)
GetMappingListPublicVantagePointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListScriptsRequest wrapper for the ListScripts operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 the resources that match the entire display name. 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"` // The maximum number of results per page, or items to return in a paginated // "List" call. For information on 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 (request ListScriptsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListScriptsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListScriptsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListScriptsRequest) String() string
func (request ListScriptsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListScriptsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListScriptsResponse) String() string
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() []ListScriptsSortByEnum
GetListScriptsSortByEnumValues Enumerates the set of values for ListScriptsSortByEnum
func GetMappingListScriptsSortByEnum(val string) (ListScriptsSortByEnum, bool)
GetMappingListScriptsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListScriptsSortOrderEnum
GetListScriptsSortOrderEnumValues Enumerates the set of values for ListScriptsSortOrderEnum
func GetMappingListScriptsSortOrderEnum(val string) (ListScriptsSortOrderEnum, bool)
GetMappingListScriptsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
MaintenanceWindowSchedule Details required to schedule maintenance window.
type MaintenanceWindowSchedule struct { // Start time of the maintenance window, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2020-02-12T22:47:12.613Z` TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // End time of the maintenance window, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: `2020-02-12T22:47:12.613Z` TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` }
func (m MaintenanceWindowSchedule) String() string
func (m MaintenanceWindowSchedule) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 monitor. MonitorType MonitorTypesEnum `mandatory:"true" json:"monitorType"` // List of public and dedicated 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 for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"` // If runOnce is enabled, then the monitor will run once. IsRunOnce *bool `mandatory:"true" json:"isRunOnce"` // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that. TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"` // If isRunNow is enabled, then the monitor will run immediately. IsRunNow *bool `mandatory:"true" json:"isRunNow"` // Scheduling policy to decide the distribution of monitor executions on vantage points. SchedulingPolicy SchedulingPolicyEnum `mandatory:"true" json:"schedulingPolicy"` // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). BatchIntervalInSeconds *int `mandatory:"true" json:"batchIntervalInSeconds"` // 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. // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 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"` AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"` MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"` // 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 (m Monitor) String() string
func (m *Monitor) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m Monitor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m MonitorCollection) String() string
func (m MonitorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MonitorConfiguration Details of monitor configuration.
type MonitorConfiguration interface { // If isFailureRetried is enabled, then a failed call will be retried. GetIsFailureRetried() *bool GetDnsConfiguration() *DnsConfiguration }
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" MonitorConfigurationConfigTypeNetworkConfig MonitorConfigurationConfigTypeEnum = "NETWORK_CONFIG" )
func GetMappingMonitorConfigurationConfigTypeEnum(val string) (MonitorConfigurationConfigTypeEnum, bool)
GetMappingMonitorConfigurationConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitorConfigurationConfigTypeEnumValues() []MonitorConfigurationConfigTypeEnum
GetMonitorConfigurationConfigTypeEnumValues Enumerates the set of values for MonitorConfigurationConfigTypeEnum
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, Log or Network. 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 public or dedicated 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 (m MonitorResult) String() string
func (m MonitorResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m MonitorResultData) String() string
func (m MonitorResultData) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m MonitorScriptParameter) String() string
func (m MonitorScriptParameter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m MonitorScriptParameterInfo) String() string
func (m MonitorScriptParameterInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m MonitorStatusCountMap) String() string
func (m MonitorStatusCountMap) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingMonitorStatusEnum(val string) (MonitorStatusEnum, bool)
GetMappingMonitorStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitorStatusEnumValues() []MonitorStatusEnum
GetMonitorStatusEnumValues Enumerates the set of values for MonitorStatusEnum
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 public and dedicated 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 for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"` // If runOnce is enabled, then the monitor will run once. IsRunOnce *bool `mandatory:"true" json:"isRunOnce"` // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that. TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"` // If isRunNow is enabled, then the monitor will run immediately. IsRunNow *bool `mandatory:"true" json:"isRunNow"` // Scheduling policy to decide the distribution of monitor executions on vantage points. SchedulingPolicy SchedulingPolicyEnum `mandatory:"true" json:"schedulingPolicy"` // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). BatchIntervalInSeconds *int `mandatory:"true" json:"batchIntervalInSeconds"` // 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. // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 Target *string `mandatory:"false" json:"target"` MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"` // 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 (m MonitorSummary) String() string
func (m MonitorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" MonitorTypesNetwork MonitorTypesEnum = "NETWORK" )
func GetMappingMonitorTypesEnum(val string) (MonitorTypesEnum, bool)
GetMappingMonitorTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetMonitorTypesEnumValues() []MonitorTypesEnum
GetMonitorTypesEnumValues Enumerates the set of values for MonitorTypesEnum
NetworkConfiguration Details of the network configuration.
type NetworkConfiguration struct { // Number of hops. NumberOfHops *int `mandatory:"false" json:"numberOfHops"` // Number of probes per hop. ProbePerHop *int `mandatory:"false" json:"probePerHop"` // Number of probe packets sent out simultaneously. TransmissionRate *int `mandatory:"false" json:"transmissionRate"` // Type of protocol. Protocol ProtocolEnum `mandatory:"false" json:"protocol,omitempty"` // Type of probe mode when TCP protocol is selected. ProbeMode ProbeModeEnum `mandatory:"false" json:"probeMode,omitempty"` }
func (m NetworkConfiguration) String() string
func (m NetworkConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NetworkMonitorConfiguration Request configuration details for the NETWORK monitor type.
type NetworkMonitorConfiguration struct { NetworkConfiguration *NetworkConfiguration `mandatory:"true" json:"networkConfiguration"` // If isFailureRetried is enabled, then a failed call will be retried. IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"` DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"` }
func (m NetworkMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
GetDnsConfiguration returns DnsConfiguration
func (m NetworkMonitorConfiguration) GetIsFailureRetried() *bool
GetIsFailureRetried returns IsFailureRetried
func (m NetworkMonitorConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NetworkMonitorConfiguration) String() string
func (m NetworkMonitorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Node Details of the network node.
type Node struct { // ID of the network node. Id *string `mandatory:"true" json:"id"` // IP address of the network node. IpAddress *string `mandatory:"false" json:"ipAddress"` // Display name of the network node. DisplayName *string `mandatory:"false" json:"displayName"` // Geographical information of the network node. GeoInfo *string `mandatory:"false" json:"geoInfo"` // Outgoing links from the network node. OutgoingLinks []string `mandatory:"false" json:"outgoingLinks"` // Number of consecutive anonymous network nodes. ConsecutiveAnonymousCount *int `mandatory:"false" json:"consecutiveAnonymousCount"` // Level of the network node. Level *int `mandatory:"false" json:"level"` // Average packet response time in milliseconds. AvgPacketResponseTimeInMs *float64 `mandatory:"false" json:"avgPacketResponseTimeInMs"` // Percentage of the average packet loss. AvgPacketLossPercent *float64 `mandatory:"false" json:"avgPacketLossPercent"` // Type of network node. Type NodeTypeEnum `mandatory:"false" json:"type,omitempty"` }
func (m Node) String() string
func (m Node) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NodeTypeEnum Enum with underlying type: string
type NodeTypeEnum string
Set of constants representing the allowable values for NodeTypeEnum
const ( NodeTypeSource NodeTypeEnum = "SOURCE" NodeTypeDestination NodeTypeEnum = "DESTINATION" NodeTypeAnonymous NodeTypeEnum = "ANONYMOUS" NodeTypeInternal NodeTypeEnum = "INTERNAL" NodeTypeDangling NodeTypeEnum = "DANGLING" )
func GetMappingNodeTypeEnum(val string) (NodeTypeEnum, bool)
GetMappingNodeTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNodeTypeEnumValues() []NodeTypeEnum
GetNodeTypeEnumValues Enumerates the set of values for NodeTypeEnum
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 GetMappingOAuthSchemesEnum(val string) (OAuthSchemesEnum, bool)
GetMappingOAuthSchemesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOAuthSchemesEnumValues() []OAuthSchemesEnum
GetOAuthSchemesEnumValues Enumerates the set of values for OAuthSchemesEnum
OracleRmStack Details of the Oracle Resource Manager stack, which is a subtype of the Dedicated Vantage Point stack.
type OracleRmStack struct { // Version of the dedicated vantage point. DvpVersion *string `mandatory:"true" json:"dvpVersion"` // Stack OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. DvpStackId *string `mandatory:"true" json:"dvpStackId"` // Stream OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. DvpStreamId *string `mandatory:"true" json:"dvpStreamId"` }
func (m OracleRmStack) GetDvpVersion() *string
GetDvpVersion returns DvpVersion
func (m OracleRmStack) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OracleRmStack) String() string
func (m OracleRmStack) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PrivateKey The private key associated with the client certificate in PEM format.
type PrivateKey struct { // Name of the private key file. FileName *string `mandatory:"true" json:"fileName"` // Content of the private key file. Content *string `mandatory:"true" json:"content"` }
func (m PrivateKey) String() string
func (m PrivateKey) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ProbeModeEnum Enum with underlying type: string
type ProbeModeEnum string
Set of constants representing the allowable values for ProbeModeEnum
const ( ProbeModeSack ProbeModeEnum = "SACK" ProbeModeSyn ProbeModeEnum = "SYN" )
func GetMappingProbeModeEnum(val string) (ProbeModeEnum, bool)
GetMappingProbeModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProbeModeEnumValues() []ProbeModeEnum
GetProbeModeEnumValues Enumerates the set of values for ProbeModeEnum
ProtocolEnum Enum with underlying type: string
type ProtocolEnum string
Set of constants representing the allowable values for ProtocolEnum
const ( ProtocolIcmp ProtocolEnum = "ICMP" ProtocolTcp ProtocolEnum = "TCP" )
func GetMappingProtocolEnum(val string) (ProtocolEnum, bool)
GetMappingProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProtocolEnumValues() []ProtocolEnum
GetProtocolEnumValues Enumerates the set of values for ProtocolEnum
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 (m PublicVantagePointCollection) String() string
func (m PublicVantagePointCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m PublicVantagePointSummary) String() string
func (m PublicVantagePointSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestAuthenticationDetails Details for request HTTP authentication.
type RequestAuthenticationDetails struct { // Request HTTP OAuth scheme. OauthScheme OAuthSchemesEnum `mandatory:"false" json:"oauthScheme,omitempty"` // User name 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 authentication 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 (m RequestAuthenticationDetails) String() string
func (m RequestAuthenticationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" RequestAuthenticationSchemesResourcePrincipal RequestAuthenticationSchemesEnum = "RESOURCE_PRINCIPAL" )
func GetMappingRequestAuthenticationSchemesEnum(val string) (RequestAuthenticationSchemesEnum, bool)
GetMappingRequestAuthenticationSchemesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestAuthenticationSchemesEnumValues() []RequestAuthenticationSchemesEnum
GetRequestAuthenticationSchemesEnumValues Enumerates the set of values for RequestAuthenticationSchemesEnum
RequestAuthenticationSchemesForScriptedRestEnum Enum with underlying type: string
type RequestAuthenticationSchemesForScriptedRestEnum string
Set of constants representing the allowable values for RequestAuthenticationSchemesForScriptedRestEnum
const ( RequestAuthenticationSchemesForScriptedRestNone RequestAuthenticationSchemesForScriptedRestEnum = "NONE" RequestAuthenticationSchemesForScriptedRestResourcePrincipal RequestAuthenticationSchemesForScriptedRestEnum = "RESOURCE_PRINCIPAL" )
func GetMappingRequestAuthenticationSchemesForScriptedRestEnum(val string) (RequestAuthenticationSchemesForScriptedRestEnum, bool)
GetMappingRequestAuthenticationSchemesForScriptedRestEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestAuthenticationSchemesForScriptedRestEnumValues() []RequestAuthenticationSchemesForScriptedRestEnum
GetRequestAuthenticationSchemesForScriptedRestEnumValues Enumerates the set of values for RequestAuthenticationSchemesForScriptedRestEnum
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 GetMappingRequestMethodsEnum(val string) (RequestMethodsEnum, bool)
GetMappingRequestMethodsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRequestMethodsEnumValues() []RequestMethodsEnum
GetRequestMethodsEnumValues Enumerates the set of values for RequestMethodsEnum
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 (m RequestQueryParam) String() string
func (m RequestQueryParam) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"` // If redirection is enabled, then redirects will be allowed while accessing target URL. IsRedirectionEnabled *bool `mandatory:"false" json:"isRedirectionEnabled"` // If certificate validation is enabled, then call will fail for certificate errors. IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"` ReqAuthenticationDetails *RequestAuthenticationDetails `mandatory:"false" json:"reqAuthenticationDetails"` ClientCertificateDetails *ClientCertificateDetails `mandatory:"false" json:"clientCertificateDetails"` // 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"` NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"` // Request HTTP method. RequestMethod RequestMethodsEnum `mandatory:"false" json:"requestMethod,omitempty"` // Request HTTP authentication scheme. ReqAuthenticationScheme RequestAuthenticationSchemesEnum `mandatory:"false" json:"reqAuthenticationScheme,omitempty"` }
func (m RestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
GetDnsConfiguration returns DnsConfiguration
func (m RestMonitorConfiguration) GetIsFailureRetried() *bool
GetIsFailureRetried returns IsFailureRetried
func (m RestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RestMonitorConfiguration) String() string
func (m RestMonitorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SchedulingPolicyEnum Enum with underlying type: string
type SchedulingPolicyEnum string
Set of constants representing the allowable values for SchedulingPolicyEnum
const ( SchedulingPolicyAll SchedulingPolicyEnum = "ALL" SchedulingPolicyRoundRobin SchedulingPolicyEnum = "ROUND_ROBIN" SchedulingPolicyBatchedRoundRobin SchedulingPolicyEnum = "BATCHED_ROUND_ROBIN" )
func GetMappingSchedulingPolicyEnum(val string) (SchedulingPolicyEnum, bool)
GetMappingSchedulingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSchedulingPolicyEnumValues() []SchedulingPolicyEnum
GetSchedulingPolicyEnumValues Enumerates the set of values for SchedulingPolicyEnum
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 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 (m Script) String() string
func (m Script) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m ScriptCollection) String() string
func (m ScriptCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m ScriptParameter) String() string
func (m ScriptParameter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m ScriptParameterInfo) String() string
func (m ScriptParameterInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m ScriptSummary) String() string
func (m ScriptSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"` // If certificate validation is enabled, then the call will fail in case of certification errors. IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"` // If disabled, auto snapshots are not collected. IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"` NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"` }
func (m ScriptedBrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
GetDnsConfiguration returns DnsConfiguration
func (m ScriptedBrowserMonitorConfiguration) GetIsFailureRetried() *bool
GetIsFailureRetried returns IsFailureRetried
func (m ScriptedBrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ScriptedBrowserMonitorConfiguration) String() string
func (m ScriptedBrowserMonitorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"` // Expected HTTP response codes. For status code range, set values such as 2xx, 3xx. VerifyResponseCodes []string `mandatory:"false" json:"verifyResponseCodes"` NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"` // Request HTTP authentication scheme. ReqAuthenticationScheme RequestAuthenticationSchemesForScriptedRestEnum `mandatory:"false" json:"reqAuthenticationScheme,omitempty"` }
func (m ScriptedRestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
GetDnsConfiguration returns DnsConfiguration
func (m ScriptedRestMonitorConfiguration) GetIsFailureRetried() *bool
GetIsFailureRetried returns IsFailureRetried
func (m ScriptedRestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ScriptedRestMonitorConfiguration) String() string
func (m ScriptedRestMonitorConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
UpdateDedicatedVantagePointDetails Details of the request body used to update a dedicated vantage point.
type UpdateDedicatedVantagePointDetails struct { // Status of the dedicated vantage point. Status DedicatedVantagePointStatusEnum `mandatory:"false" json:"status,omitempty"` DvpStackDetails DvpStackDetails `mandatory:"false" json:"dvpStackDetails"` // Name of the region. Region *string `mandatory:"false" json:"region"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDedicatedVantagePointDetails) String() string
func (m *UpdateDedicatedVantagePointDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDedicatedVantagePointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDedicatedVantagePointRequest wrapper for the UpdateDedicatedVantagePoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.0/apmsynthetics/UpdateDedicatedVantagePoint.go.html to see an example of how to use UpdateDedicatedVantagePointRequest.
type UpdateDedicatedVantagePointRequest struct { // The APM domain ID the request is intended for. ApmDomainId *string `mandatory:"true" contributesTo:"query" name:"apmDomainId"` // The OCID of the dedicated vantage point. DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"` // The information to be updated. UpdateDedicatedVantagePointDetails `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 (request UpdateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDedicatedVantagePointRequest) String() string
func (request UpdateDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDedicatedVantagePointResponse wrapper for the UpdateDedicatedVantagePoint operation
type UpdateDedicatedVantagePointResponse struct { // The underlying http response RawResponse *http.Response // The DedicatedVantagePoint instance DedicatedVantagePoint `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 (response UpdateDedicatedVantagePointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDedicatedVantagePointResponse) String() string
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 public and dedicated vantage points from which to execute the monitor. // Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated 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 for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. RepeatIntervalInSeconds *int `mandatory:"false" json:"repeatIntervalInSeconds"` // If runOnce is enabled, then the monitor will run once. IsRunOnce *bool `mandatory:"false" json:"isRunOnce"` // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. // 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. // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 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"` AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"` MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"` // 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"` // If isRunNow is enabled, then the monitor will run immediately. IsRunNow *bool `mandatory:"false" json:"isRunNow"` // Scheduling policy to decide the distribution of monitor executions on vantage points. SchedulingPolicy SchedulingPolicyEnum `mandatory:"false" json:"schedulingPolicy,omitempty"` // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). BatchIntervalInSeconds *int `mandatory:"false" json:"batchIntervalInSeconds"` }
func (m UpdateMonitorDetails) String() string
func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateMonitorDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateMonitorRequest wrapper for the UpdateMonitor operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request UpdateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateMonitorRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateMonitorRequest) String() string
func (request UpdateMonitorRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response UpdateMonitorResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateMonitorResponse) String() string
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 (m UpdateScriptDetails) String() string
func (m UpdateScriptDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateScriptRequest wrapper for the UpdateScript operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.54.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 (request UpdateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateScriptRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateScriptRequest) String() string
func (request UpdateScriptRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response UpdateScriptResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateScriptResponse) String() string
VantagePointExecution Details of a vantage point execution.
type VantagePointExecution struct { // Name of the vantage point. Name *string `mandatory:"false" json:"name"` // List of execution times in milliseconds. Executions []int64 `mandatory:"false" json:"executions"` }
func (m VantagePointExecution) String() string
func (m VantagePointExecution) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m VantagePointInfo) String() string
func (m VantagePointInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VantagePointNode Details of the vantage point node.
type VantagePointNode struct { // Name of the vantage point node. Name *string `mandatory:"true" json:"name"` // ID of the vantage point node. Id *string `mandatory:"false" json:"id"` // Display name of the vantage point node. DisplayName *string `mandatory:"false" json:"displayName"` // Geographical information of the vantage point node. GeoInfo *string `mandatory:"false" json:"geoInfo"` // Outgoing links from the vantage point node. OutgoingLinks []string `mandatory:"false" json:"outgoingLinks"` }
func (m VantagePointNode) String() string
func (m VantagePointNode) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VerifyText Details to verify text.
type VerifyText struct { // Verification text in the response. Text *string `mandatory:"false" json:"text"` }
func (m VerifyText) String() string
func (m VerifyText) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly