apmsynthetics

package
v65.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAggregatedNetworkDataResultStateEnumStringValues added in v65.16.0

func GetAggregatedNetworkDataResultStateEnumStringValues() []string

GetAggregatedNetworkDataResultStateEnumStringValues Enumerates the set of values in String for AggregatedNetworkDataResultStateEnum

func GetContentTypesEnumStringValues

func GetContentTypesEnumStringValues() []string

GetContentTypesEnumStringValues Enumerates the set of values in String for ContentTypesEnum

func GetCreateOnPremiseVantagePointDetailsTypeEnumStringValues added in v65.55.1

func GetCreateOnPremiseVantagePointDetailsTypeEnumStringValues() []string

GetCreateOnPremiseVantagePointDetailsTypeEnumStringValues Enumerates the set of values in String for CreateOnPremiseVantagePointDetailsTypeEnum

func GetDedicatedVantagePointStatusEnumStringValues added in v65.3.0

func GetDedicatedVantagePointStatusEnumStringValues() []string

GetDedicatedVantagePointStatusEnumStringValues Enumerates the set of values in String for DedicatedVantagePointStatusEnum

func GetDnsRecordTypeEnumStringValues added in v65.55.1

func GetDnsRecordTypeEnumStringValues() []string

GetDnsRecordTypeEnumStringValues Enumerates the set of values in String for DnsRecordTypeEnum

func GetDnsTransportProtocolEnumStringValues added in v65.55.1

func GetDnsTransportProtocolEnumStringValues() []string

GetDnsTransportProtocolEnumStringValues Enumerates the set of values in String for DnsTransportProtocolEnum

func GetDvpStackDetailsDvpStackTypeEnumStringValues added in v65.3.0

func GetDvpStackDetailsDvpStackTypeEnumStringValues() []string

GetDvpStackDetailsDvpStackTypeEnumStringValues Enumerates the set of values in String for DvpStackDetailsDvpStackTypeEnum

func GetListDedicatedVantagePointsSortByEnumStringValues added in v65.3.0

func GetListDedicatedVantagePointsSortByEnumStringValues() []string

GetListDedicatedVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortByEnum

func GetListDedicatedVantagePointsSortOrderEnumStringValues added in v65.3.0

func GetListDedicatedVantagePointsSortOrderEnumStringValues() []string

GetListDedicatedVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortOrderEnum

func GetListDedicatedVantagePointsStatusEnumStringValues added in v65.3.0

func GetListDedicatedVantagePointsStatusEnumStringValues() []string

GetListDedicatedVantagePointsStatusEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsStatusEnum

func GetListMonitorsSortByEnumStringValues

func GetListMonitorsSortByEnumStringValues() []string

GetListMonitorsSortByEnumStringValues Enumerates the set of values in String for ListMonitorsSortByEnum

func GetListMonitorsSortOrderEnumStringValues

func GetListMonitorsSortOrderEnumStringValues() []string

GetListMonitorsSortOrderEnumStringValues Enumerates the set of values in String for ListMonitorsSortOrderEnum

func GetListMonitorsStatusEnumStringValues

func GetListMonitorsStatusEnumStringValues() []string

GetListMonitorsStatusEnumStringValues Enumerates the set of values in String for ListMonitorsStatusEnum

func GetListOnPremiseVantagePointsSortByEnumStringValues added in v65.55.1

func GetListOnPremiseVantagePointsSortByEnumStringValues() []string

GetListOnPremiseVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListOnPremiseVantagePointsSortByEnum

func GetListOnPremiseVantagePointsSortOrderEnumStringValues added in v65.55.1

func GetListOnPremiseVantagePointsSortOrderEnumStringValues() []string

GetListOnPremiseVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListOnPremiseVantagePointsSortOrderEnum

func GetListPublicVantagePointsSortByEnumStringValues

func GetListPublicVantagePointsSortByEnumStringValues() []string

GetListPublicVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListPublicVantagePointsSortByEnum

func GetListPublicVantagePointsSortOrderEnumStringValues

func GetListPublicVantagePointsSortOrderEnumStringValues() []string

GetListPublicVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListPublicVantagePointsSortOrderEnum

func GetListScriptsSortByEnumStringValues

func GetListScriptsSortByEnumStringValues() []string

GetListScriptsSortByEnumStringValues Enumerates the set of values in String for ListScriptsSortByEnum

func GetListScriptsSortOrderEnumStringValues

func GetListScriptsSortOrderEnumStringValues() []string

GetListScriptsSortOrderEnumStringValues Enumerates the set of values in String for ListScriptsSortOrderEnum

func GetListWorkersSortByEnumStringValues added in v65.55.1

func GetListWorkersSortByEnumStringValues() []string

GetListWorkersSortByEnumStringValues Enumerates the set of values in String for ListWorkersSortByEnum

func GetListWorkersSortOrderEnumStringValues added in v65.55.1

func GetListWorkersSortOrderEnumStringValues() []string

GetListWorkersSortOrderEnumStringValues Enumerates the set of values in String for ListWorkersSortOrderEnum

func GetListWorkersStatusEnumStringValues added in v65.55.1

func GetListWorkersStatusEnumStringValues() []string

GetListWorkersStatusEnumStringValues Enumerates the set of values in String for ListWorkersStatusEnum

func GetMonitorConfigurationConfigTypeEnumStringValues

func GetMonitorConfigurationConfigTypeEnumStringValues() []string

GetMonitorConfigurationConfigTypeEnumStringValues Enumerates the set of values in String for MonitorConfigurationConfigTypeEnum

func GetMonitorStatusEnumStringValues

func GetMonitorStatusEnumStringValues() []string

GetMonitorStatusEnumStringValues Enumerates the set of values in String for MonitorStatusEnum

func GetMonitorTypesEnumStringValues

func GetMonitorTypesEnumStringValues() []string

GetMonitorTypesEnumStringValues Enumerates the set of values in String for MonitorTypesEnum

func GetNodeTypeEnumStringValues added in v65.16.0

func GetNodeTypeEnumStringValues() []string

GetNodeTypeEnumStringValues Enumerates the set of values in String for NodeTypeEnum

func GetOAuthSchemesEnumStringValues

func GetOAuthSchemesEnumStringValues() []string

GetOAuthSchemesEnumStringValues Enumerates the set of values in String for OAuthSchemesEnum

func GetOnPremiseVantagePointSummaryTypeEnumStringValues added in v65.55.1

func GetOnPremiseVantagePointSummaryTypeEnumStringValues() []string

GetOnPremiseVantagePointSummaryTypeEnumStringValues Enumerates the set of values in String for OnPremiseVantagePointSummaryTypeEnum

func GetOnPremiseVantagePointTypeEnumStringValues added in v65.55.1

func GetOnPremiseVantagePointTypeEnumStringValues() []string

GetOnPremiseVantagePointTypeEnumStringValues Enumerates the set of values in String for OnPremiseVantagePointTypeEnum

func GetOnPremiseVantagePointWorkerStatusEnumStringValues added in v65.55.1

func GetOnPremiseVantagePointWorkerStatusEnumStringValues() []string

GetOnPremiseVantagePointWorkerStatusEnumStringValues Enumerates the set of values in String for OnPremiseVantagePointWorkerStatusEnum

func GetOnPremiseVantagePointWorkerTypeEnumStringValues added in v65.55.1

func GetOnPremiseVantagePointWorkerTypeEnumStringValues() []string

GetOnPremiseVantagePointWorkerTypeEnumStringValues Enumerates the set of values in String for OnPremiseVantagePointWorkerTypeEnum

func GetProbeModeEnumStringValues

func GetProbeModeEnumStringValues() []string

GetProbeModeEnumStringValues Enumerates the set of values in String for ProbeModeEnum

func GetProtocolEnumStringValues

func GetProtocolEnumStringValues() []string

GetProtocolEnumStringValues Enumerates the set of values in String for ProtocolEnum

func GetRequestAuthenticationSchemesEnumStringValues

func GetRequestAuthenticationSchemesEnumStringValues() []string

GetRequestAuthenticationSchemesEnumStringValues Enumerates the set of values in String for RequestAuthenticationSchemesEnum

func GetRequestAuthenticationSchemesForScriptedRestEnumStringValues added in v65.43.0

func GetRequestAuthenticationSchemesForScriptedRestEnumStringValues() []string

GetRequestAuthenticationSchemesForScriptedRestEnumStringValues Enumerates the set of values in String for RequestAuthenticationSchemesForScriptedRestEnum

func GetRequestMethodsEnumStringValues

func GetRequestMethodsEnumStringValues() []string

GetRequestMethodsEnumStringValues Enumerates the set of values in String for RequestMethodsEnum

func GetSchedulingPolicyEnumStringValues added in v65.16.0

func GetSchedulingPolicyEnumStringValues() []string

GetSchedulingPolicyEnumStringValues Enumerates the set of values in String for SchedulingPolicyEnum

func GetSortOrdersEnumStringValues

func GetSortOrdersEnumStringValues() []string

GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum

Types

type AggregateNetworkDataDetails added in v65.16.0

type AggregateNetworkDataDetails struct {

	// List of VantagePointExecution items.
	VantagePointExecutionTimes []VantagePointExecution `mandatory:"true" json:"vantagePointExecutionTimes"`
}

AggregateNetworkDataDetails Details of the vantage point and corresponding execution times.

func (AggregateNetworkDataDetails) String added in v65.16.0

func (AggregateNetworkDataDetails) ValidateEnumValue added in v65.16.0

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

type AggregateNetworkDataRequest added in v65.16.0

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
}

AggregateNetworkDataRequest wrapper for the AggregateNetworkData operation

See also

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

func (AggregateNetworkDataRequest) BinaryRequestBody added in v65.16.0

func (request AggregateNetworkDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AggregateNetworkDataRequest) HTTPRequest added in v65.16.0

func (request AggregateNetworkDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AggregateNetworkDataRequest) RetryPolicy added in v65.16.0

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

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

func (AggregateNetworkDataRequest) String added in v65.16.0

func (request AggregateNetworkDataRequest) String() string

func (AggregateNetworkDataRequest) ValidateEnumValue added in v65.16.0

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

type AggregateNetworkDataResponse added in v65.16.0

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

AggregateNetworkDataResponse wrapper for the AggregateNetworkData operation

func (AggregateNetworkDataResponse) HTTPResponse added in v65.16.0

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

HTTPResponse implements the OCIResponse interface

func (AggregateNetworkDataResponse) String added in v65.16.0

func (response AggregateNetworkDataResponse) String() string

type AggregatedNetworkData added in v65.16.0

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

AggregatedNetworkData Details of the aggregated network data.

func (AggregatedNetworkData) String added in v65.16.0

func (m AggregatedNetworkData) String() string

func (AggregatedNetworkData) ValidateEnumValue added in v65.16.0

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

type AggregatedNetworkDataResult added in v65.16.0

type AggregatedNetworkDataResult struct {
	AggregatedNetworkData *AggregatedNetworkData `mandatory:"true" json:"aggregatedNetworkData"`
}

AggregatedNetworkDataResult The aggregated network results.

func (AggregatedNetworkDataResult) String added in v65.16.0

func (AggregatedNetworkDataResult) ValidateEnumValue added in v65.16.0

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

type AggregatedNetworkDataResultStateEnum added in v65.16.0

type AggregatedNetworkDataResultStateEnum string

AggregatedNetworkDataResultStateEnum Enum with underlying type: string

const (
	AggregatedNetworkDataResultStateSuccess AggregatedNetworkDataResultStateEnum = "SUCCESS"
	AggregatedNetworkDataResultStateFailure AggregatedNetworkDataResultStateEnum = "FAILURE"
	AggregatedNetworkDataResultStatePartial AggregatedNetworkDataResultStateEnum = "PARTIAL"
)

Set of constants representing the allowable values for AggregatedNetworkDataResultStateEnum

func GetAggregatedNetworkDataResultStateEnumValues added in v65.16.0

func GetAggregatedNetworkDataResultStateEnumValues() []AggregatedNetworkDataResultStateEnum

GetAggregatedNetworkDataResultStateEnumValues Enumerates the set of values for AggregatedNetworkDataResultStateEnum

func GetMappingAggregatedNetworkDataResultStateEnum added in v65.16.0

func GetMappingAggregatedNetworkDataResultStateEnum(val string) (AggregatedNetworkDataResultStateEnum, bool)

GetMappingAggregatedNetworkDataResultStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ApmSyntheticClient

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

ApmSyntheticClient a client for ApmSynthetic

func NewApmSyntheticClientWithConfigurationProvider

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

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

func NewApmSyntheticClientWithOboToken

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

NewApmSyntheticClientWithOboToken Creates a new default ApmSynthetic client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ApmSyntheticClient) AggregateNetworkData added in v65.16.0

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/latest/apmsynthetics/AggregateNetworkData.go.html to see an example of how to use AggregateNetworkData API. A default retry strategy applies to this operation AggregateNetworkData()

func (*ApmSyntheticClient) ConfigurationProvider

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

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

func (ApmSyntheticClient) CreateDedicatedVantagePoint added in v65.3.0

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/latest/apmsynthetics/CreateDedicatedVantagePoint.go.html to see an example of how to use CreateDedicatedVantagePoint API. A default retry strategy applies to this operation CreateDedicatedVantagePoint()

func (ApmSyntheticClient) CreateMonitor

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

CreateMonitor Creates a new monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/CreateMonitor.go.html to see an example of how to use CreateMonitor API. A default retry strategy applies to this operation CreateMonitor()

func (ApmSyntheticClient) CreateOnPremiseVantagePoint added in v65.55.1

func (client ApmSyntheticClient) CreateOnPremiseVantagePoint(ctx context.Context, request CreateOnPremiseVantagePointRequest) (response CreateOnPremiseVantagePointResponse, err error)

CreateOnPremiseVantagePoint Registers a new On-premise vantage point.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/CreateOnPremiseVantagePoint.go.html to see an example of how to use CreateOnPremiseVantagePoint API. A default retry strategy applies to this operation CreateOnPremiseVantagePoint()

func (ApmSyntheticClient) CreateScript

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

CreateScript Creates a new script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/CreateScript.go.html to see an example of how to use CreateScript API. A default retry strategy applies to this operation CreateScript()

func (ApmSyntheticClient) CreateWorker added in v65.55.1

func (client ApmSyntheticClient) CreateWorker(ctx context.Context, request CreateWorkerRequest) (response CreateWorkerResponse, err error)

CreateWorker Registers a new worker.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/CreateWorker.go.html to see an example of how to use CreateWorker API. A default retry strategy applies to this operation CreateWorker()

func (ApmSyntheticClient) DeleteDedicatedVantagePoint added in v65.3.0

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/latest/apmsynthetics/DeleteDedicatedVantagePoint.go.html to see an example of how to use DeleteDedicatedVantagePoint API. A default retry strategy applies to this operation DeleteDedicatedVantagePoint()

func (ApmSyntheticClient) DeleteMonitor

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

DeleteMonitor Deletes the specified monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/DeleteMonitor.go.html to see an example of how to use DeleteMonitor API. A default retry strategy applies to this operation DeleteMonitor()

func (ApmSyntheticClient) DeleteOnPremiseVantagePoint added in v65.55.1

func (client ApmSyntheticClient) DeleteOnPremiseVantagePoint(ctx context.Context, request DeleteOnPremiseVantagePointRequest) (response DeleteOnPremiseVantagePointResponse, err error)

DeleteOnPremiseVantagePoint Deregisters the specified On-premise vantage point.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/DeleteOnPremiseVantagePoint.go.html to see an example of how to use DeleteOnPremiseVantagePoint API. A default retry strategy applies to this operation DeleteOnPremiseVantagePoint()

func (ApmSyntheticClient) DeleteScript

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

DeleteScript Deletes the specified script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/DeleteScript.go.html to see an example of how to use DeleteScript API. A default retry strategy applies to this operation DeleteScript()

func (ApmSyntheticClient) DeleteWorker added in v65.55.1

func (client ApmSyntheticClient) DeleteWorker(ctx context.Context, request DeleteWorkerRequest) (response DeleteWorkerResponse, err error)

DeleteWorker Deregisters the specified worker.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/DeleteWorker.go.html to see an example of how to use DeleteWorker API. A default retry strategy applies to this operation DeleteWorker()

func (ApmSyntheticClient) GetDedicatedVantagePoint added in v65.3.0

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/latest/apmsynthetics/GetDedicatedVantagePoint.go.html to see an example of how to use GetDedicatedVantagePoint API. A default retry strategy applies to this operation GetDedicatedVantagePoint()

func (ApmSyntheticClient) GetMonitor

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/GetMonitor.go.html to see an example of how to use GetMonitor API. A default retry strategy applies to this operation GetMonitor()

func (ApmSyntheticClient) GetMonitorResult

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/GetMonitorResult.go.html to see an example of how to use GetMonitorResult API. A default retry strategy applies to this operation GetMonitorResult()

func (ApmSyntheticClient) GetOnPremiseVantagePoint added in v65.55.1

func (client ApmSyntheticClient) GetOnPremiseVantagePoint(ctx context.Context, request GetOnPremiseVantagePointRequest) (response GetOnPremiseVantagePointResponse, err error)

GetOnPremiseVantagePoint Gets the details of the On-premise vantage point identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/GetOnPremiseVantagePoint.go.html to see an example of how to use GetOnPremiseVantagePoint API. A default retry strategy applies to this operation GetOnPremiseVantagePoint()

func (ApmSyntheticClient) GetScript

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/GetScript.go.html to see an example of how to use GetScript API. A default retry strategy applies to this operation GetScript()

func (ApmSyntheticClient) GetWorker added in v65.55.1

func (client ApmSyntheticClient) GetWorker(ctx context.Context, request GetWorkerRequest) (response GetWorkerResponse, err error)

GetWorker Gets the details of the worker identified by the OCID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/GetWorker.go.html to see an example of how to use GetWorker API. A default retry strategy applies to this operation GetWorker()

func (ApmSyntheticClient) ListDedicatedVantagePoints added in v65.3.0

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/latest/apmsynthetics/ListDedicatedVantagePoints.go.html to see an example of how to use ListDedicatedVantagePoints API. A default retry strategy applies to this operation ListDedicatedVantagePoints()

func (ApmSyntheticClient) ListMonitors

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

ListMonitors Returns a list of monitors.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/ListMonitors.go.html to see an example of how to use ListMonitors API. A default retry strategy applies to this operation ListMonitors()

func (ApmSyntheticClient) ListOnPremiseVantagePoints added in v65.55.1

func (client ApmSyntheticClient) ListOnPremiseVantagePoints(ctx context.Context, request ListOnPremiseVantagePointsRequest) (response ListOnPremiseVantagePointsResponse, err error)

ListOnPremiseVantagePoints Returns a list of On-premise vantage points.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/ListOnPremiseVantagePoints.go.html to see an example of how to use ListOnPremiseVantagePoints API. A default retry strategy applies to this operation ListOnPremiseVantagePoints()

func (ApmSyntheticClient) ListPublicVantagePoints

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

ListPublicVantagePoints Returns a list of public vantage points.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/ListPublicVantagePoints.go.html to see an example of how to use ListPublicVantagePoints API. A default retry strategy applies to this operation ListPublicVantagePoints()

func (ApmSyntheticClient) ListScripts

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

ListScripts Returns a list of scripts.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/ListScripts.go.html to see an example of how to use ListScripts API. A default retry strategy applies to this operation ListScripts()

func (ApmSyntheticClient) ListWorkers added in v65.55.1

func (client ApmSyntheticClient) ListWorkers(ctx context.Context, request ListWorkersRequest) (response ListWorkersResponse, err error)

ListWorkers Returns a list of workers.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/ListWorkers.go.html to see an example of how to use ListWorkers API. A default retry strategy applies to this operation ListWorkers()

func (*ApmSyntheticClient) SetRegion

func (client *ApmSyntheticClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApmSyntheticClient) UpdateDedicatedVantagePoint added in v65.3.0

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/latest/apmsynthetics/UpdateDedicatedVantagePoint.go.html to see an example of how to use UpdateDedicatedVantagePoint API. A default retry strategy applies to this operation UpdateDedicatedVantagePoint()

func (ApmSyntheticClient) UpdateMonitor

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

UpdateMonitor Updates the monitor.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/UpdateMonitor.go.html to see an example of how to use UpdateMonitor API. A default retry strategy applies to this operation UpdateMonitor()

func (ApmSyntheticClient) UpdateOnPremiseVantagePoint added in v65.55.1

func (client ApmSyntheticClient) UpdateOnPremiseVantagePoint(ctx context.Context, request UpdateOnPremiseVantagePointRequest) (response UpdateOnPremiseVantagePointResponse, err error)

UpdateOnPremiseVantagePoint Updates the On-premise vantage point.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/UpdateOnPremiseVantagePoint.go.html to see an example of how to use UpdateOnPremiseVantagePoint API. A default retry strategy applies to this operation UpdateOnPremiseVantagePoint()

func (ApmSyntheticClient) UpdateScript

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

UpdateScript Updates the script.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/UpdateScript.go.html to see an example of how to use UpdateScript API. A default retry strategy applies to this operation UpdateScript()

func (ApmSyntheticClient) UpdateWorker added in v65.55.1

func (client ApmSyntheticClient) UpdateWorker(ctx context.Context, request UpdateWorkerRequest) (response UpdateWorkerResponse, err error)

UpdateWorker Updates the worker.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/apmsynthetics/UpdateWorker.go.html to see an example of how to use UpdateWorker API. A default retry strategy applies to this operation UpdateWorker()

type AvailabilityConfiguration added in v65.28.0

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

AvailabilityConfiguration Monitor availability configuration details.

func (AvailabilityConfiguration) String added in v65.28.0

func (m AvailabilityConfiguration) String() string

func (AvailabilityConfiguration) ValidateEnumValue added in v65.28.0

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

type AvailableCapability added in v65.55.1

type AvailableCapability struct {

	// Capability of an On-premise vantage point worker.
	Capability *string `mandatory:"true" json:"capability"`

	// Count of available capability in a specific On-premise vantage point.
	Count *int `mandatory:"true" json:"count"`
}

AvailableCapability Available capability in a specific On-premise vantage point.

func (AvailableCapability) String added in v65.55.1

func (m AvailableCapability) String() string

func (AvailableCapability) ValidateEnumValue added in v65.55.1

func (m AvailableCapability) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BrowserMonitorConfiguration

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

BrowserMonitorConfiguration Configuration details for the BROWSER monitor type.

func (BrowserMonitorConfiguration) GetDnsConfiguration added in v65.16.0

func (m BrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (BrowserMonitorConfiguration) GetIsFailureRetried

func (m BrowserMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (BrowserMonitorConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (BrowserMonitorConfiguration) String

func (BrowserMonitorConfiguration) ValidateEnumValue

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

type ClientCertificate added in v65.43.0

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

ClientCertificate Client certificate in PEM format.

func (ClientCertificate) String added in v65.43.0

func (m ClientCertificate) String() string

func (ClientCertificate) ValidateEnumValue added in v65.43.0

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

type ClientCertificateDetails added in v65.43.0

type ClientCertificateDetails struct {
	ClientCertificate *ClientCertificate `mandatory:"false" json:"clientCertificate"`

	PrivateKey *PrivateKey `mandatory:"false" json:"privateKey"`
}

ClientCertificateDetails Details for client certificate.

func (ClientCertificateDetails) String added in v65.43.0

func (m ClientCertificateDetails) String() string

func (ClientCertificateDetails) ValidateEnumValue added in v65.43.0

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

type ContentTypesEnum

type ContentTypesEnum string

ContentTypesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ContentTypesEnum

func GetContentTypesEnumValues

func GetContentTypesEnumValues() []ContentTypesEnum

GetContentTypesEnumValues Enumerates the set of values for ContentTypesEnum

func GetMappingContentTypesEnum

func GetMappingContentTypesEnum(val string) (ContentTypesEnum, bool)

GetMappingContentTypesEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateDedicatedVantagePointDetails added in v65.3.0

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

CreateDedicatedVantagePointDetails Details of the request body used to create a new dedicated vantage point.

func (CreateDedicatedVantagePointDetails) String added in v65.3.0

func (*CreateDedicatedVantagePointDetails) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (CreateDedicatedVantagePointDetails) ValidateEnumValue added in v65.3.0

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

type CreateDedicatedVantagePointRequest added in v65.3.0

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
}

CreateDedicatedVantagePointRequest wrapper for the CreateDedicatedVantagePoint operation

See also

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

func (CreateDedicatedVantagePointRequest) BinaryRequestBody added in v65.3.0

func (request CreateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateDedicatedVantagePointRequest) HTTPRequest added in v65.3.0

func (request CreateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDedicatedVantagePointRequest) RetryPolicy added in v65.3.0

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

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

func (CreateDedicatedVantagePointRequest) String added in v65.3.0

func (request CreateDedicatedVantagePointRequest) String() string

func (CreateDedicatedVantagePointRequest) ValidateEnumValue added in v65.3.0

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

type CreateDedicatedVantagePointResponse added in v65.3.0

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

CreateDedicatedVantagePointResponse wrapper for the CreateDedicatedVantagePoint operation

func (CreateDedicatedVantagePointResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDedicatedVantagePointResponse) String added in v65.3.0

func (response CreateDedicatedVantagePointResponse) String() string

type CreateMonitorDetails

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, REST and NETWORK 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"`
}

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

func (CreateMonitorDetails) String

func (m CreateMonitorDetails) String() string

func (*CreateMonitorDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateMonitorDetails) ValidateEnumValue

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

type 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
}

CreateMonitorRequest wrapper for the CreateMonitor operation

See also

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

func (CreateMonitorRequest) BinaryRequestBody

func (request CreateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMonitorRequest) HTTPRequest

func (request CreateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMonitorRequest) RetryPolicy

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

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

func (CreateMonitorRequest) String

func (request CreateMonitorRequest) String() string

func (CreateMonitorRequest) ValidateEnumValue

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

type CreateMonitorResponse

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

CreateMonitorResponse wrapper for the CreateMonitor operation

func (CreateMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMonitorResponse) String

func (response CreateMonitorResponse) String() string

type CreateOnPremiseVantagePointDetails added in v65.55.1

type CreateOnPremiseVantagePointDetails struct {

	// Unique On-premise vantage point name that cannot be edited. The name should not contain any confidential information.
	Name *string `mandatory:"true" json:"name"`

	// Type of On-premise vantage point.
	Type CreateOnPremiseVantagePointDetailsTypeEnum `mandatory:"false" json:"type,omitempty"`

	// A short description about the On-premise vantage point.
	Description *string `mandatory:"false" json:"description"`

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

CreateOnPremiseVantagePointDetails Details of the request body used to create a new On-premise vantage point.

func (CreateOnPremiseVantagePointDetails) String added in v65.55.1

func (CreateOnPremiseVantagePointDetails) ValidateEnumValue added in v65.55.1

func (m CreateOnPremiseVantagePointDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOnPremiseVantagePointDetailsTypeEnum added in v65.55.1

type CreateOnPremiseVantagePointDetailsTypeEnum string

CreateOnPremiseVantagePointDetailsTypeEnum Enum with underlying type: string

const (
	CreateOnPremiseVantagePointDetailsTypeOnPremiseDockerVantagePoint CreateOnPremiseVantagePointDetailsTypeEnum = "ON_PREMISE_DOCKER_VANTAGE_POINT"
)

Set of constants representing the allowable values for CreateOnPremiseVantagePointDetailsTypeEnum

func GetCreateOnPremiseVantagePointDetailsTypeEnumValues added in v65.55.1

func GetCreateOnPremiseVantagePointDetailsTypeEnumValues() []CreateOnPremiseVantagePointDetailsTypeEnum

GetCreateOnPremiseVantagePointDetailsTypeEnumValues Enumerates the set of values for CreateOnPremiseVantagePointDetailsTypeEnum

func GetMappingCreateOnPremiseVantagePointDetailsTypeEnum added in v65.55.1

func GetMappingCreateOnPremiseVantagePointDetailsTypeEnum(val string) (CreateOnPremiseVantagePointDetailsTypeEnum, bool)

GetMappingCreateOnPremiseVantagePointDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateOnPremiseVantagePointRequest added in v65.55.1

type CreateOnPremiseVantagePointRequest struct {

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

	// The configuration details for registering an On-premise vantage point.
	CreateOnPremiseVantagePointDetails `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
}

CreateOnPremiseVantagePointRequest wrapper for the CreateOnPremiseVantagePoint operation

See also

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

func (CreateOnPremiseVantagePointRequest) BinaryRequestBody added in v65.55.1

func (request CreateOnPremiseVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateOnPremiseVantagePointRequest) HTTPRequest added in v65.55.1

func (request CreateOnPremiseVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateOnPremiseVantagePointRequest) RetryPolicy added in v65.55.1

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

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

func (CreateOnPremiseVantagePointRequest) String added in v65.55.1

func (request CreateOnPremiseVantagePointRequest) String() string

func (CreateOnPremiseVantagePointRequest) ValidateEnumValue added in v65.55.1

func (request CreateOnPremiseVantagePointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateOnPremiseVantagePointResponse added in v65.55.1

type CreateOnPremiseVantagePointResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateOnPremiseVantagePointResponse wrapper for the CreateOnPremiseVantagePoint operation

func (CreateOnPremiseVantagePointResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (CreateOnPremiseVantagePointResponse) String added in v65.55.1

func (response CreateOnPremiseVantagePointResponse) String() string

type CreateScriptDetails

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

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.

func (CreateScriptDetails) String

func (m CreateScriptDetails) String() string

func (CreateScriptDetails) ValidateEnumValue

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

type 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
}

CreateScriptRequest wrapper for the CreateScript operation

See also

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

func (CreateScriptRequest) BinaryRequestBody

func (request CreateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateScriptRequest) HTTPRequest

func (request CreateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateScriptRequest) RetryPolicy

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

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

func (CreateScriptRequest) String

func (request CreateScriptRequest) String() string

func (CreateScriptRequest) ValidateEnumValue

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

type CreateScriptResponse

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

CreateScriptResponse wrapper for the CreateScript operation

func (CreateScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateScriptResponse) String

func (response CreateScriptResponse) String() string

type CreateWorkerDetails added in v65.55.1

type CreateWorkerDetails struct {

	// Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information.
	Name *string `mandatory:"true" json:"name"`

	// Image version of the On-premise VP worker.
	Version *string `mandatory:"true" json:"version"`

	// public key for resource Principal Token based validation to be used in further calls.
	ResourcePrincipalTokenPublicKey *string `mandatory:"true" json:"resourcePrincipalTokenPublicKey"`

	// Configuration details of the On-premise VP worker.
	ConfigurationDetails *interface{} `mandatory:"false" json:"configurationDetails"`

	// Type of the On-premise VP worker.
	WorkerType OnPremiseVantagePointWorkerTypeEnum `mandatory:"false" json:"workerType,omitempty"`

	// Enables or disables the On-premise VP worker.
	Status OnPremiseVantagePointWorkerStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Priority of the On-premise VP worker to schedule monitors.
	Priority *int `mandatory:"false" json:"priority"`

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

CreateWorkerDetails Details of the request body used to create a new worker for an On-premise vantage point.

func (CreateWorkerDetails) String added in v65.55.1

func (m CreateWorkerDetails) String() string

func (CreateWorkerDetails) ValidateEnumValue added in v65.55.1

func (m CreateWorkerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWorkerRequest added in v65.55.1

type CreateWorkerRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// The configuration details for registering a worker for an On-premise vantage point.
	CreateWorkerDetails `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
}

CreateWorkerRequest wrapper for the CreateWorker operation

See also

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

func (CreateWorkerRequest) BinaryRequestBody added in v65.55.1

func (request CreateWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateWorkerRequest) HTTPRequest added in v65.55.1

func (request CreateWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateWorkerRequest) RetryPolicy added in v65.55.1

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

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

func (CreateWorkerRequest) String added in v65.55.1

func (request CreateWorkerRequest) String() string

func (CreateWorkerRequest) ValidateEnumValue added in v65.55.1

func (request CreateWorkerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWorkerResponse added in v65.55.1

type CreateWorkerResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateWorkerResponse wrapper for the CreateWorker operation

func (CreateWorkerResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (CreateWorkerResponse) String added in v65.55.1

func (response CreateWorkerResponse) String() string

type DedicatedVantagePoint added in v65.3.0

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

DedicatedVantagePoint The information about a dedicated vantage point.

func (DedicatedVantagePoint) String added in v65.3.0

func (m DedicatedVantagePoint) String() string

func (*DedicatedVantagePoint) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (DedicatedVantagePoint) ValidateEnumValue added in v65.3.0

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

type DedicatedVantagePointCollection added in v65.3.0

type DedicatedVantagePointCollection struct {

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

DedicatedVantagePointCollection The results of a dedicated vantage point search, which contains DedicatedVantagePointSummary items and other data in an APM domain.

func (DedicatedVantagePointCollection) String added in v65.3.0

func (DedicatedVantagePointCollection) ValidateEnumValue added in v65.3.0

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

type DedicatedVantagePointStatusEnum added in v65.3.0

type DedicatedVantagePointStatusEnum string

DedicatedVantagePointStatusEnum Enum with underlying type: string

const (
	DedicatedVantagePointStatusEnabled  DedicatedVantagePointStatusEnum = "ENABLED"
	DedicatedVantagePointStatusDisabled DedicatedVantagePointStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for DedicatedVantagePointStatusEnum

func GetDedicatedVantagePointStatusEnumValues added in v65.3.0

func GetDedicatedVantagePointStatusEnumValues() []DedicatedVantagePointStatusEnum

GetDedicatedVantagePointStatusEnumValues Enumerates the set of values for DedicatedVantagePointStatusEnum

func GetMappingDedicatedVantagePointStatusEnum added in v65.3.0

func GetMappingDedicatedVantagePointStatusEnum(val string) (DedicatedVantagePointStatusEnum, bool)

GetMappingDedicatedVantagePointStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type DedicatedVantagePointSummary added in v65.3.0

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

DedicatedVantagePointSummary Information about dedicated vantage points.

func (DedicatedVantagePointSummary) String added in v65.3.0

func (*DedicatedVantagePointSummary) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (DedicatedVantagePointSummary) ValidateEnumValue added in v65.3.0

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

type DeleteDedicatedVantagePointRequest added in v65.3.0

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
}

DeleteDedicatedVantagePointRequest wrapper for the DeleteDedicatedVantagePoint operation

See also

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

func (DeleteDedicatedVantagePointRequest) BinaryRequestBody added in v65.3.0

func (request DeleteDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDedicatedVantagePointRequest) HTTPRequest added in v65.3.0

func (request DeleteDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDedicatedVantagePointRequest) RetryPolicy added in v65.3.0

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

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

func (DeleteDedicatedVantagePointRequest) String added in v65.3.0

func (request DeleteDedicatedVantagePointRequest) String() string

func (DeleteDedicatedVantagePointRequest) ValidateEnumValue added in v65.3.0

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

type DeleteDedicatedVantagePointResponse added in v65.3.0

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

DeleteDedicatedVantagePointResponse wrapper for the DeleteDedicatedVantagePoint operation

func (DeleteDedicatedVantagePointResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteDedicatedVantagePointResponse) String added in v65.3.0

func (response DeleteDedicatedVantagePointResponse) String() string

type 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
}

DeleteMonitorRequest wrapper for the DeleteMonitor operation

See also

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

func (DeleteMonitorRequest) BinaryRequestBody

func (request DeleteMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMonitorRequest) HTTPRequest

func (request DeleteMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMonitorRequest) RetryPolicy

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

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

func (DeleteMonitorRequest) String

func (request DeleteMonitorRequest) String() string

func (DeleteMonitorRequest) ValidateEnumValue

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

type DeleteMonitorResponse

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

DeleteMonitorResponse wrapper for the DeleteMonitor operation

func (DeleteMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMonitorResponse) String

func (response DeleteMonitorResponse) String() string

type DeleteOnPremiseVantagePointRequest added in v65.55.1

type DeleteOnPremiseVantagePointRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// 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
}

DeleteOnPremiseVantagePointRequest wrapper for the DeleteOnPremiseVantagePoint operation

See also

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

func (DeleteOnPremiseVantagePointRequest) BinaryRequestBody added in v65.55.1

func (request DeleteOnPremiseVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteOnPremiseVantagePointRequest) HTTPRequest added in v65.55.1

func (request DeleteOnPremiseVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteOnPremiseVantagePointRequest) RetryPolicy added in v65.55.1

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

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

func (DeleteOnPremiseVantagePointRequest) String added in v65.55.1

func (request DeleteOnPremiseVantagePointRequest) String() string

func (DeleteOnPremiseVantagePointRequest) ValidateEnumValue added in v65.55.1

func (request DeleteOnPremiseVantagePointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteOnPremiseVantagePointResponse added in v65.55.1

type DeleteOnPremiseVantagePointResponse 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"`
}

DeleteOnPremiseVantagePointResponse wrapper for the DeleteOnPremiseVantagePoint operation

func (DeleteOnPremiseVantagePointResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (DeleteOnPremiseVantagePointResponse) String added in v65.55.1

func (response DeleteOnPremiseVantagePointResponse) String() string

type 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
}

DeleteScriptRequest wrapper for the DeleteScript operation

See also

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

func (DeleteScriptRequest) BinaryRequestBody

func (request DeleteScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteScriptRequest) HTTPRequest

func (request DeleteScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteScriptRequest) RetryPolicy

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

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

func (DeleteScriptRequest) String

func (request DeleteScriptRequest) String() string

func (DeleteScriptRequest) ValidateEnumValue

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

type DeleteScriptResponse

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

DeleteScriptResponse wrapper for the DeleteScript operation

func (DeleteScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteScriptResponse) String

func (response DeleteScriptResponse) String() string

type DeleteWorkerRequest added in v65.55.1

type DeleteWorkerRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// The OCID of the On-premise vantage point worker.
	WorkerId *string `mandatory:"true" contributesTo:"path" name:"workerId"`

	// 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
}

DeleteWorkerRequest wrapper for the DeleteWorker operation

See also

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

func (DeleteWorkerRequest) BinaryRequestBody added in v65.55.1

func (request DeleteWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkerRequest) HTTPRequest added in v65.55.1

func (request DeleteWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWorkerRequest) RetryPolicy added in v65.55.1

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

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

func (DeleteWorkerRequest) String added in v65.55.1

func (request DeleteWorkerRequest) String() string

func (DeleteWorkerRequest) ValidateEnumValue added in v65.55.1

func (request DeleteWorkerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteWorkerResponse added in v65.55.1

type DeleteWorkerResponse 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"`
}

DeleteWorkerResponse wrapper for the DeleteWorker operation

func (DeleteWorkerResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkerResponse) String added in v65.55.1

func (response DeleteWorkerResponse) String() string

type DnsConfiguration added in v65.16.0

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

DnsConfiguration Information about the DNS settings.

func (DnsConfiguration) String added in v65.16.0

func (m DnsConfiguration) String() string

func (DnsConfiguration) ValidateEnumValue added in v65.16.0

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

type DnsRecordTypeEnum added in v65.55.1

type DnsRecordTypeEnum string

DnsRecordTypeEnum Enum with underlying type: string

const (
	DnsRecordTypeA       DnsRecordTypeEnum = "A"
	DnsRecordTypeAaaa    DnsRecordTypeEnum = "AAAA"
	DnsRecordTypeAny     DnsRecordTypeEnum = "ANY"
	DnsRecordTypeCname   DnsRecordTypeEnum = "CNAME"
	DnsRecordTypeDnskey  DnsRecordTypeEnum = "DNSKEY"
	DnsRecordTypeDs      DnsRecordTypeEnum = "DS"
	DnsRecordTypeMx      DnsRecordTypeEnum = "MX"
	DnsRecordTypeNs      DnsRecordTypeEnum = "NS"
	DnsRecordTypeNsec    DnsRecordTypeEnum = "NSEC"
	DnsRecordTypeNullRec DnsRecordTypeEnum = "NULL_REC"
	DnsRecordTypePtr     DnsRecordTypeEnum = "PTR"
	DnsRecordTypeRrsig   DnsRecordTypeEnum = "RRSIG"
	DnsRecordTypeSoa     DnsRecordTypeEnum = "SOA"
	DnsRecordTypeTxt     DnsRecordTypeEnum = "TXT"
)

Set of constants representing the allowable values for DnsRecordTypeEnum

func GetDnsRecordTypeEnumValues added in v65.55.1

func GetDnsRecordTypeEnumValues() []DnsRecordTypeEnum

GetDnsRecordTypeEnumValues Enumerates the set of values for DnsRecordTypeEnum

func GetMappingDnsRecordTypeEnum added in v65.55.1

func GetMappingDnsRecordTypeEnum(val string) (DnsRecordTypeEnum, bool)

GetMappingDnsRecordTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsSecMonitorConfiguration added in v65.55.1

type DnsSecMonitorConfiguration struct {

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

	DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"`

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

	// DNS record type.
	RecordType DnsRecordTypeEnum `mandatory:"false" json:"recordType,omitempty"`
}

DnsSecMonitorConfiguration Request configuration details for the DNSSEC monitor type.

func (DnsSecMonitorConfiguration) GetDnsConfiguration added in v65.55.1

func (m DnsSecMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (DnsSecMonitorConfiguration) GetIsFailureRetried added in v65.55.1

func (m DnsSecMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (DnsSecMonitorConfiguration) MarshalJSON added in v65.55.1

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

MarshalJSON marshals to json representation

func (DnsSecMonitorConfiguration) String added in v65.55.1

func (DnsSecMonitorConfiguration) ValidateEnumValue added in v65.55.1

func (m DnsSecMonitorConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DnsServerMonitorConfiguration added in v65.55.1

type DnsServerMonitorConfiguration struct {

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

	DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"`

	// Name of the server that will be used to perform DNS lookup.
	NameServer *string `mandatory:"false" json:"nameServer"`

	NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"`

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

	// If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
	IsQueryRecursive *bool `mandatory:"false" json:"isQueryRecursive"`

	// DNS record type.
	RecordType DnsRecordTypeEnum `mandatory:"false" json:"recordType,omitempty"`

	// Type of protocol.
	Protocol DnsTransportProtocolEnum `mandatory:"false" json:"protocol,omitempty"`
}

DnsServerMonitorConfiguration Request configuration details for the DNS Server monitor type.

func (DnsServerMonitorConfiguration) GetDnsConfiguration added in v65.55.1

func (m DnsServerMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (DnsServerMonitorConfiguration) GetIsFailureRetried added in v65.55.1

func (m DnsServerMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (DnsServerMonitorConfiguration) MarshalJSON added in v65.55.1

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

MarshalJSON marshals to json representation

func (DnsServerMonitorConfiguration) String added in v65.55.1

func (DnsServerMonitorConfiguration) ValidateEnumValue added in v65.55.1

func (m DnsServerMonitorConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DnsTraceMonitorConfiguration added in v65.55.1

type DnsTraceMonitorConfiguration struct {

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

	DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"`

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

	// DNS record type.
	RecordType DnsRecordTypeEnum `mandatory:"false" json:"recordType,omitempty"`

	// Type of protocol.
	Protocol DnsTransportProtocolEnum `mandatory:"false" json:"protocol,omitempty"`
}

DnsTraceMonitorConfiguration Request configuration details for the DNS Trace monitor type.

func (DnsTraceMonitorConfiguration) GetDnsConfiguration added in v65.55.1

func (m DnsTraceMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (DnsTraceMonitorConfiguration) GetIsFailureRetried added in v65.55.1

func (m DnsTraceMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (DnsTraceMonitorConfiguration) MarshalJSON added in v65.55.1

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

MarshalJSON marshals to json representation

func (DnsTraceMonitorConfiguration) String added in v65.55.1

func (DnsTraceMonitorConfiguration) ValidateEnumValue added in v65.55.1

func (m DnsTraceMonitorConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DnsTransportProtocolEnum added in v65.55.1

type DnsTransportProtocolEnum string

DnsTransportProtocolEnum Enum with underlying type: string

const (
	DnsTransportProtocolTcp DnsTransportProtocolEnum = "TCP"
	DnsTransportProtocolUdp DnsTransportProtocolEnum = "UDP"
)

Set of constants representing the allowable values for DnsTransportProtocolEnum

func GetDnsTransportProtocolEnumValues added in v65.55.1

func GetDnsTransportProtocolEnumValues() []DnsTransportProtocolEnum

GetDnsTransportProtocolEnumValues Enumerates the set of values for DnsTransportProtocolEnum

func GetMappingDnsTransportProtocolEnum added in v65.55.1

func GetMappingDnsTransportProtocolEnum(val string) (DnsTransportProtocolEnum, bool)

GetMappingDnsTransportProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

type DvpStackDetails added in v65.3.0

type DvpStackDetails interface {

	// Version of the dedicated vantage point.
	GetDvpVersion() *string
}

DvpStackDetails Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

type DvpStackDetailsDvpStackTypeEnum added in v65.3.0

type DvpStackDetailsDvpStackTypeEnum string

DvpStackDetailsDvpStackTypeEnum Enum with underlying type: string

const (
	DvpStackDetailsDvpStackTypeOracleRmStack DvpStackDetailsDvpStackTypeEnum = "ORACLE_RM_STACK"
)

Set of constants representing the allowable values for DvpStackDetailsDvpStackTypeEnum

func GetDvpStackDetailsDvpStackTypeEnumValues added in v65.3.0

func GetDvpStackDetailsDvpStackTypeEnumValues() []DvpStackDetailsDvpStackTypeEnum

GetDvpStackDetailsDvpStackTypeEnumValues Enumerates the set of values for DvpStackDetailsDvpStackTypeEnum

func GetMappingDvpStackDetailsDvpStackTypeEnum added in v65.3.0

func GetMappingDvpStackDetailsDvpStackTypeEnum(val string) (DvpStackDetailsDvpStackTypeEnum, bool)

GetMappingDvpStackDetailsDvpStackTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type GeoSummary

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

GeoSummary Geographic summary of a vantage point.

func (GeoSummary) String

func (m GeoSummary) String() string

func (GeoSummary) ValidateEnumValue

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

type GetDedicatedVantagePointRequest added in v65.3.0

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
}

GetDedicatedVantagePointRequest wrapper for the GetDedicatedVantagePoint operation

See also

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

func (GetDedicatedVantagePointRequest) BinaryRequestBody added in v65.3.0

func (request GetDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDedicatedVantagePointRequest) HTTPRequest added in v65.3.0

func (request GetDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDedicatedVantagePointRequest) RetryPolicy added in v65.3.0

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

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

func (GetDedicatedVantagePointRequest) String added in v65.3.0

func (request GetDedicatedVantagePointRequest) String() string

func (GetDedicatedVantagePointRequest) ValidateEnumValue added in v65.3.0

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

type GetDedicatedVantagePointResponse added in v65.3.0

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

GetDedicatedVantagePointResponse wrapper for the GetDedicatedVantagePoint operation

func (GetDedicatedVantagePointResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (GetDedicatedVantagePointResponse) String added in v65.3.0

func (response GetDedicatedVantagePointResponse) String() string

type 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
}

GetMonitorRequest wrapper for the GetMonitor operation

See also

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

func (GetMonitorRequest) BinaryRequestBody

func (request GetMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMonitorRequest) HTTPRequest

func (request GetMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMonitorRequest) RetryPolicy

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

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

func (GetMonitorRequest) String

func (request GetMonitorRequest) String() string

func (GetMonitorRequest) ValidateEnumValue

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

type GetMonitorResponse

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

GetMonitorResponse wrapper for the GetMonitor operation

func (GetMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitorResponse) String

func (response GetMonitorResponse) String() string

type 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
}

GetMonitorResultRequest wrapper for the GetMonitorResult operation

See also

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

func (GetMonitorResultRequest) BinaryRequestBody

func (request GetMonitorResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMonitorResultRequest) HTTPRequest

func (request GetMonitorResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMonitorResultRequest) RetryPolicy

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

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

func (GetMonitorResultRequest) String

func (request GetMonitorResultRequest) String() string

func (GetMonitorResultRequest) ValidateEnumValue

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

type GetMonitorResultResponse

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

GetMonitorResultResponse wrapper for the GetMonitorResult operation

func (GetMonitorResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitorResultResponse) String

func (response GetMonitorResultResponse) String() string

type GetOnPremiseVantagePointRequest added in v65.55.1

type GetOnPremiseVantagePointRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// 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
}

GetOnPremiseVantagePointRequest wrapper for the GetOnPremiseVantagePoint operation

See also

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

func (GetOnPremiseVantagePointRequest) BinaryRequestBody added in v65.55.1

func (request GetOnPremiseVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetOnPremiseVantagePointRequest) HTTPRequest added in v65.55.1

func (request GetOnPremiseVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetOnPremiseVantagePointRequest) RetryPolicy added in v65.55.1

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

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

func (GetOnPremiseVantagePointRequest) String added in v65.55.1

func (request GetOnPremiseVantagePointRequest) String() string

func (GetOnPremiseVantagePointRequest) ValidateEnumValue added in v65.55.1

func (request GetOnPremiseVantagePointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetOnPremiseVantagePointResponse added in v65.55.1

type GetOnPremiseVantagePointResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetOnPremiseVantagePointResponse wrapper for the GetOnPremiseVantagePoint operation

func (GetOnPremiseVantagePointResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (GetOnPremiseVantagePointResponse) String added in v65.55.1

func (response GetOnPremiseVantagePointResponse) String() string

type 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
}

GetScriptRequest wrapper for the GetScript operation

See also

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

func (GetScriptRequest) BinaryRequestBody

func (request GetScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetScriptRequest) HTTPRequest

func (request GetScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetScriptRequest) RetryPolicy

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

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

func (GetScriptRequest) String

func (request GetScriptRequest) String() string

func (GetScriptRequest) ValidateEnumValue

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

type GetScriptResponse

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

GetScriptResponse wrapper for the GetScript operation

func (GetScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetScriptResponse) String

func (response GetScriptResponse) String() string

type GetWorkerRequest added in v65.55.1

type GetWorkerRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// The OCID of the On-premise vantage point worker.
	WorkerId *string `mandatory:"true" contributesTo:"path" name:"workerId"`

	// 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
}

GetWorkerRequest wrapper for the GetWorker operation

See also

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

func (GetWorkerRequest) BinaryRequestBody added in v65.55.1

func (request GetWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkerRequest) HTTPRequest added in v65.55.1

func (request GetWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkerRequest) RetryPolicy added in v65.55.1

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

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

func (GetWorkerRequest) String added in v65.55.1

func (request GetWorkerRequest) String() string

func (GetWorkerRequest) ValidateEnumValue added in v65.55.1

func (request GetWorkerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkerResponse added in v65.55.1

type GetWorkerResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetWorkerResponse wrapper for the GetWorker operation

func (GetWorkerResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (GetWorkerResponse) String added in v65.55.1

func (response GetWorkerResponse) String() string
type Header struct {

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

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

Header Details of the header.

func (Header) String

func (m Header) String() string

func (Header) ValidateEnumValue

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

type IdentityInfoDetails added in v65.55.1

type IdentityInfoDetails struct {

	// Domain region of the On-premise VP worker.
	RegionName *string `mandatory:"true" json:"regionName"`

	// Domain short id of the On-premise VP worker.
	ApmShortId *string `mandatory:"true" json:"apmShortId"`

	// Collector endpoint of the On-premise VP worker.
	CollectorEndPoint *string `mandatory:"true" json:"collectorEndPoint"`
}

IdentityInfoDetails Domain details of the On-premise VP worker.

func (IdentityInfoDetails) String added in v65.55.1

func (m IdentityInfoDetails) String() string

func (IdentityInfoDetails) ValidateEnumValue added in v65.55.1

func (m IdentityInfoDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type 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"`
}

Link Details of the link between two nodes.

func (Link) String added in v65.16.0

func (m Link) String() string

func (Link) ValidateEnumValue added in v65.16.0

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

type ListDedicatedVantagePointsRequest added in v65.3.0

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
}

ListDedicatedVantagePointsRequest wrapper for the ListDedicatedVantagePoints operation

See also

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

func (ListDedicatedVantagePointsRequest) BinaryRequestBody added in v65.3.0

func (request ListDedicatedVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVantagePointsRequest) HTTPRequest added in v65.3.0

func (request ListDedicatedVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDedicatedVantagePointsRequest) RetryPolicy added in v65.3.0

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

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

func (ListDedicatedVantagePointsRequest) String added in v65.3.0

func (request ListDedicatedVantagePointsRequest) String() string

func (ListDedicatedVantagePointsRequest) ValidateEnumValue added in v65.3.0

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

type ListDedicatedVantagePointsResponse added in v65.3.0

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

ListDedicatedVantagePointsResponse wrapper for the ListDedicatedVantagePoints operation

func (ListDedicatedVantagePointsResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVantagePointsResponse) String added in v65.3.0

func (response ListDedicatedVantagePointsResponse) String() string

type ListDedicatedVantagePointsSortByEnum added in v65.3.0

type ListDedicatedVantagePointsSortByEnum string

ListDedicatedVantagePointsSortByEnum Enum with underlying type: string

const (
	ListDedicatedVantagePointsSortByDisplayname ListDedicatedVantagePointsSortByEnum = "displayName"
	ListDedicatedVantagePointsSortByName        ListDedicatedVantagePointsSortByEnum = "name"
	ListDedicatedVantagePointsSortByTimecreated ListDedicatedVantagePointsSortByEnum = "timeCreated"
	ListDedicatedVantagePointsSortByTimeupdated ListDedicatedVantagePointsSortByEnum = "timeUpdated"
	ListDedicatedVantagePointsSortByStatus      ListDedicatedVantagePointsSortByEnum = "status"
)

Set of constants representing the allowable values for ListDedicatedVantagePointsSortByEnum

func GetListDedicatedVantagePointsSortByEnumValues added in v65.3.0

func GetListDedicatedVantagePointsSortByEnumValues() []ListDedicatedVantagePointsSortByEnum

GetListDedicatedVantagePointsSortByEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortByEnum

func GetMappingListDedicatedVantagePointsSortByEnum added in v65.3.0

func GetMappingListDedicatedVantagePointsSortByEnum(val string) (ListDedicatedVantagePointsSortByEnum, bool)

GetMappingListDedicatedVantagePointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVantagePointsSortOrderEnum added in v65.3.0

type ListDedicatedVantagePointsSortOrderEnum string

ListDedicatedVantagePointsSortOrderEnum Enum with underlying type: string

const (
	ListDedicatedVantagePointsSortOrderAsc  ListDedicatedVantagePointsSortOrderEnum = "ASC"
	ListDedicatedVantagePointsSortOrderDesc ListDedicatedVantagePointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDedicatedVantagePointsSortOrderEnum

func GetListDedicatedVantagePointsSortOrderEnumValues added in v65.3.0

func GetListDedicatedVantagePointsSortOrderEnumValues() []ListDedicatedVantagePointsSortOrderEnum

GetListDedicatedVantagePointsSortOrderEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortOrderEnum

func GetMappingListDedicatedVantagePointsSortOrderEnum added in v65.3.0

func GetMappingListDedicatedVantagePointsSortOrderEnum(val string) (ListDedicatedVantagePointsSortOrderEnum, bool)

GetMappingListDedicatedVantagePointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListDedicatedVantagePointsStatusEnum added in v65.3.0

type ListDedicatedVantagePointsStatusEnum string

ListDedicatedVantagePointsStatusEnum Enum with underlying type: string

const (
	ListDedicatedVantagePointsStatusEnabled  ListDedicatedVantagePointsStatusEnum = "ENABLED"
	ListDedicatedVantagePointsStatusDisabled ListDedicatedVantagePointsStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for ListDedicatedVantagePointsStatusEnum

func GetListDedicatedVantagePointsStatusEnumValues added in v65.3.0

func GetListDedicatedVantagePointsStatusEnumValues() []ListDedicatedVantagePointsStatusEnum

GetListDedicatedVantagePointsStatusEnumValues Enumerates the set of values for ListDedicatedVantagePointsStatusEnum

func GetMappingListDedicatedVantagePointsStatusEnum added in v65.3.0

func GetMappingListDedicatedVantagePointsStatusEnum(val string) (ListDedicatedVantagePointsStatusEnum, bool)

GetMappingListDedicatedVantagePointsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type 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, REST and NETWORK.
	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
}

ListMonitorsRequest wrapper for the ListMonitors operation

See also

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

func (ListMonitorsRequest) BinaryRequestBody

func (request ListMonitorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMonitorsRequest) HTTPRequest

func (request ListMonitorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMonitorsRequest) RetryPolicy

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

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

func (ListMonitorsRequest) String

func (request ListMonitorsRequest) String() string

func (ListMonitorsRequest) ValidateEnumValue

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

type ListMonitorsResponse

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

ListMonitorsResponse wrapper for the ListMonitors operation

func (ListMonitorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMonitorsResponse) String

func (response ListMonitorsResponse) String() string

type ListMonitorsSortByEnum

type ListMonitorsSortByEnum string

ListMonitorsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMonitorsSortByEnum

func GetListMonitorsSortByEnumValues

func GetListMonitorsSortByEnumValues() []ListMonitorsSortByEnum

GetListMonitorsSortByEnumValues Enumerates the set of values for ListMonitorsSortByEnum

func GetMappingListMonitorsSortByEnum

func GetMappingListMonitorsSortByEnum(val string) (ListMonitorsSortByEnum, bool)

GetMappingListMonitorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMonitorsSortOrderEnum

type ListMonitorsSortOrderEnum string

ListMonitorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMonitorsSortOrderEnum

func GetListMonitorsSortOrderEnumValues

func GetListMonitorsSortOrderEnumValues() []ListMonitorsSortOrderEnum

GetListMonitorsSortOrderEnumValues Enumerates the set of values for ListMonitorsSortOrderEnum

func GetMappingListMonitorsSortOrderEnum

func GetMappingListMonitorsSortOrderEnum(val string) (ListMonitorsSortOrderEnum, bool)

GetMappingListMonitorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMonitorsStatusEnum

type ListMonitorsStatusEnum string

ListMonitorsStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListMonitorsStatusEnum

func GetListMonitorsStatusEnumValues

func GetListMonitorsStatusEnumValues() []ListMonitorsStatusEnum

GetListMonitorsStatusEnumValues Enumerates the set of values for ListMonitorsStatusEnum

func GetMappingListMonitorsStatusEnum

func GetMappingListMonitorsStatusEnum(val string) (ListMonitorsStatusEnum, bool)

GetMappingListMonitorsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremiseVantagePointsRequest added in v65.55.1

type ListOnPremiseVantagePointsRequest 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 ListOnPremiseVantagePointsSortOrderEnum `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 ListOnPremiseVantagePointsSortByEnum `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
}

ListOnPremiseVantagePointsRequest wrapper for the ListOnPremiseVantagePoints operation

See also

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

func (ListOnPremiseVantagePointsRequest) BinaryRequestBody added in v65.55.1

func (request ListOnPremiseVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListOnPremiseVantagePointsRequest) HTTPRequest added in v65.55.1

func (request ListOnPremiseVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListOnPremiseVantagePointsRequest) RetryPolicy added in v65.55.1

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

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

func (ListOnPremiseVantagePointsRequest) String added in v65.55.1

func (request ListOnPremiseVantagePointsRequest) String() string

func (ListOnPremiseVantagePointsRequest) ValidateEnumValue added in v65.55.1

func (request ListOnPremiseVantagePointsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListOnPremiseVantagePointsResponse added in v65.55.1

type ListOnPremiseVantagePointsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of OnPremiseVantagePointCollection instances
	OnPremiseVantagePointCollection `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"`
}

ListOnPremiseVantagePointsResponse wrapper for the ListOnPremiseVantagePoints operation

func (ListOnPremiseVantagePointsResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (ListOnPremiseVantagePointsResponse) String added in v65.55.1

func (response ListOnPremiseVantagePointsResponse) String() string

type ListOnPremiseVantagePointsSortByEnum added in v65.55.1

type ListOnPremiseVantagePointsSortByEnum string

ListOnPremiseVantagePointsSortByEnum Enum with underlying type: string

const (
	ListOnPremiseVantagePointsSortByDisplayname ListOnPremiseVantagePointsSortByEnum = "displayName"
	ListOnPremiseVantagePointsSortByName        ListOnPremiseVantagePointsSortByEnum = "name"
	ListOnPremiseVantagePointsSortByTimecreated ListOnPremiseVantagePointsSortByEnum = "timeCreated"
	ListOnPremiseVantagePointsSortByTimeupdated ListOnPremiseVantagePointsSortByEnum = "timeUpdated"
)

Set of constants representing the allowable values for ListOnPremiseVantagePointsSortByEnum

func GetListOnPremiseVantagePointsSortByEnumValues added in v65.55.1

func GetListOnPremiseVantagePointsSortByEnumValues() []ListOnPremiseVantagePointsSortByEnum

GetListOnPremiseVantagePointsSortByEnumValues Enumerates the set of values for ListOnPremiseVantagePointsSortByEnum

func GetMappingListOnPremiseVantagePointsSortByEnum added in v65.55.1

func GetMappingListOnPremiseVantagePointsSortByEnum(val string) (ListOnPremiseVantagePointsSortByEnum, bool)

GetMappingListOnPremiseVantagePointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListOnPremiseVantagePointsSortOrderEnum added in v65.55.1

type ListOnPremiseVantagePointsSortOrderEnum string

ListOnPremiseVantagePointsSortOrderEnum Enum with underlying type: string

const (
	ListOnPremiseVantagePointsSortOrderAsc  ListOnPremiseVantagePointsSortOrderEnum = "ASC"
	ListOnPremiseVantagePointsSortOrderDesc ListOnPremiseVantagePointsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListOnPremiseVantagePointsSortOrderEnum

func GetListOnPremiseVantagePointsSortOrderEnumValues added in v65.55.1

func GetListOnPremiseVantagePointsSortOrderEnumValues() []ListOnPremiseVantagePointsSortOrderEnum

GetListOnPremiseVantagePointsSortOrderEnumValues Enumerates the set of values for ListOnPremiseVantagePointsSortOrderEnum

func GetMappingListOnPremiseVantagePointsSortOrderEnum added in v65.55.1

func GetMappingListOnPremiseVantagePointsSortOrderEnum(val string) (ListOnPremiseVantagePointsSortOrderEnum, bool)

GetMappingListOnPremiseVantagePointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListPublicVantagePointsRequest wrapper for the ListPublicVantagePoints operation

See also

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

func (ListPublicVantagePointsRequest) BinaryRequestBody

func (request ListPublicVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPublicVantagePointsRequest) HTTPRequest

func (request ListPublicVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPublicVantagePointsRequest) RetryPolicy

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

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

func (ListPublicVantagePointsRequest) String

func (request ListPublicVantagePointsRequest) String() string

func (ListPublicVantagePointsRequest) ValidateEnumValue

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

type ListPublicVantagePointsResponse

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

ListPublicVantagePointsResponse wrapper for the ListPublicVantagePoints operation

func (ListPublicVantagePointsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublicVantagePointsResponse) String

func (response ListPublicVantagePointsResponse) String() string

type ListPublicVantagePointsSortByEnum

type ListPublicVantagePointsSortByEnum string

ListPublicVantagePointsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListPublicVantagePointsSortByEnum

func GetListPublicVantagePointsSortByEnumValues

func GetListPublicVantagePointsSortByEnumValues() []ListPublicVantagePointsSortByEnum

GetListPublicVantagePointsSortByEnumValues Enumerates the set of values for ListPublicVantagePointsSortByEnum

func GetMappingListPublicVantagePointsSortByEnum

func GetMappingListPublicVantagePointsSortByEnum(val string) (ListPublicVantagePointsSortByEnum, bool)

GetMappingListPublicVantagePointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListPublicVantagePointsSortOrderEnum

type ListPublicVantagePointsSortOrderEnum string

ListPublicVantagePointsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListPublicVantagePointsSortOrderEnum

func GetListPublicVantagePointsSortOrderEnumValues

func GetListPublicVantagePointsSortOrderEnumValues() []ListPublicVantagePointsSortOrderEnum

GetListPublicVantagePointsSortOrderEnumValues Enumerates the set of values for ListPublicVantagePointsSortOrderEnum

func GetMappingListPublicVantagePointsSortOrderEnum

func GetMappingListPublicVantagePointsSortOrderEnum(val string) (ListPublicVantagePointsSortOrderEnum, bool)

GetMappingListPublicVantagePointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListScriptsRequest wrapper for the ListScripts operation

See also

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

func (ListScriptsRequest) BinaryRequestBody

func (request ListScriptsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListScriptsRequest) HTTPRequest

func (request ListScriptsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListScriptsRequest) RetryPolicy

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

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

func (ListScriptsRequest) String

func (request ListScriptsRequest) String() string

func (ListScriptsRequest) ValidateEnumValue

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

type ListScriptsResponse

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

ListScriptsResponse wrapper for the ListScripts operation

func (ListScriptsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListScriptsResponse) String

func (response ListScriptsResponse) String() string

type ListScriptsSortByEnum

type ListScriptsSortByEnum string

ListScriptsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListScriptsSortByEnum

func GetListScriptsSortByEnumValues

func GetListScriptsSortByEnumValues() []ListScriptsSortByEnum

GetListScriptsSortByEnumValues Enumerates the set of values for ListScriptsSortByEnum

func GetMappingListScriptsSortByEnum

func GetMappingListScriptsSortByEnum(val string) (ListScriptsSortByEnum, bool)

GetMappingListScriptsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListScriptsSortOrderEnum

type ListScriptsSortOrderEnum string

ListScriptsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListScriptsSortOrderEnum

func GetListScriptsSortOrderEnumValues

func GetListScriptsSortOrderEnumValues() []ListScriptsSortOrderEnum

GetListScriptsSortOrderEnumValues Enumerates the set of values for ListScriptsSortOrderEnum

func GetMappingListScriptsSortOrderEnum

func GetMappingListScriptsSortOrderEnum(val string) (ListScriptsSortOrderEnum, bool)

GetMappingListScriptsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkersRequest added in v65.55.1

type ListWorkersRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// 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 only On-premise VP workers that match the status given.
	Status ListWorkersStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// A filter to return only On-premise VP workers that match the capability given.
	Capability *string `mandatory:"false" contributesTo:"query" name:"capability"`

	// The sort order to use, either ascending (`ASC`) or descending (`DESC`). Default sort order is ascending.
	SortOrder ListWorkersSortOrderEnum `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, timeUpdated and timeLastSyncup is descending.
	// The displayName sort by is case-sensitive.
	SortBy ListWorkersSortByEnum `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
}

ListWorkersRequest wrapper for the ListWorkers operation

See also

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

func (ListWorkersRequest) BinaryRequestBody added in v65.55.1

func (request ListWorkersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkersRequest) HTTPRequest added in v65.55.1

func (request ListWorkersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkersRequest) RetryPolicy added in v65.55.1

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

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

func (ListWorkersRequest) String added in v65.55.1

func (request ListWorkersRequest) String() string

func (ListWorkersRequest) ValidateEnumValue added in v65.55.1

func (request ListWorkersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkersResponse added in v65.55.1

type ListWorkersResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkerCollection instances
	WorkerCollection `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"`
}

ListWorkersResponse wrapper for the ListWorkers operation

func (ListWorkersResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (ListWorkersResponse) String added in v65.55.1

func (response ListWorkersResponse) String() string

type ListWorkersSortByEnum added in v65.55.1

type ListWorkersSortByEnum string

ListWorkersSortByEnum Enum with underlying type: string

const (
	ListWorkersSortByDisplayname    ListWorkersSortByEnum = "displayName"
	ListWorkersSortByName           ListWorkersSortByEnum = "name"
	ListWorkersSortByStatus         ListWorkersSortByEnum = "status"
	ListWorkersSortByPriority       ListWorkersSortByEnum = "priority"
	ListWorkersSortByTimecreated    ListWorkersSortByEnum = "timeCreated"
	ListWorkersSortByTimeupdated    ListWorkersSortByEnum = "timeUpdated"
	ListWorkersSortByTimelastsyncup ListWorkersSortByEnum = "timeLastSyncup"
)

Set of constants representing the allowable values for ListWorkersSortByEnum

func GetListWorkersSortByEnumValues added in v65.55.1

func GetListWorkersSortByEnumValues() []ListWorkersSortByEnum

GetListWorkersSortByEnumValues Enumerates the set of values for ListWorkersSortByEnum

func GetMappingListWorkersSortByEnum added in v65.55.1

func GetMappingListWorkersSortByEnum(val string) (ListWorkersSortByEnum, bool)

GetMappingListWorkersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkersSortOrderEnum added in v65.55.1

type ListWorkersSortOrderEnum string

ListWorkersSortOrderEnum Enum with underlying type: string

const (
	ListWorkersSortOrderAsc  ListWorkersSortOrderEnum = "ASC"
	ListWorkersSortOrderDesc ListWorkersSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkersSortOrderEnum

func GetListWorkersSortOrderEnumValues added in v65.55.1

func GetListWorkersSortOrderEnumValues() []ListWorkersSortOrderEnum

GetListWorkersSortOrderEnumValues Enumerates the set of values for ListWorkersSortOrderEnum

func GetMappingListWorkersSortOrderEnum added in v65.55.1

func GetMappingListWorkersSortOrderEnum(val string) (ListWorkersSortOrderEnum, bool)

GetMappingListWorkersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkersStatusEnum added in v65.55.1

type ListWorkersStatusEnum string

ListWorkersStatusEnum Enum with underlying type: string

const (
	ListWorkersStatusEnabled  ListWorkersStatusEnum = "ENABLED"
	ListWorkersStatusDisabled ListWorkersStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for ListWorkersStatusEnum

func GetListWorkersStatusEnumValues added in v65.55.1

func GetListWorkersStatusEnumValues() []ListWorkersStatusEnum

GetListWorkersStatusEnumValues Enumerates the set of values for ListWorkersStatusEnum

func GetMappingListWorkersStatusEnum added in v65.55.1

func GetMappingListWorkersStatusEnum(val string) (ListWorkersStatusEnum, bool)

GetMappingListWorkersStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type MaintenanceWindowSchedule added in v65.28.0

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

MaintenanceWindowSchedule Details required to schedule maintenance window.

func (MaintenanceWindowSchedule) String added in v65.28.0

func (m MaintenanceWindowSchedule) String() string

func (MaintenanceWindowSchedule) ValidateEnumValue added in v65.28.0

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

type 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, REST and NETWORK 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"`
}

Monitor The information about a monitor.

func (Monitor) String

func (m Monitor) String() string

func (*Monitor) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (Monitor) ValidateEnumValue

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

type MonitorCollection

type MonitorCollection struct {

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

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

func (MonitorCollection) String

func (m MonitorCollection) String() string

func (MonitorCollection) ValidateEnumValue

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

type MonitorConfiguration

type MonitorConfiguration interface {

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

	GetDnsConfiguration() *DnsConfiguration
}

MonitorConfiguration Details of monitor configuration.

type MonitorConfigurationConfigTypeEnum

type MonitorConfigurationConfigTypeEnum string

MonitorConfigurationConfigTypeEnum Enum with underlying type: string

const (
	MonitorConfigurationConfigTypeBrowserConfig         MonitorConfigurationConfigTypeEnum = "BROWSER_CONFIG"
	MonitorConfigurationConfigTypeScriptedBrowserConfig MonitorConfigurationConfigTypeEnum = "SCRIPTED_BROWSER_CONFIG"
	MonitorConfigurationConfigTypeRestConfig            MonitorConfigurationConfigTypeEnum = "REST_CONFIG"
	MonitorConfigurationConfigTypeScriptedRestConfig    MonitorConfigurationConfigTypeEnum = "SCRIPTED_REST_CONFIG"
	MonitorConfigurationConfigTypeNetworkConfig         MonitorConfigurationConfigTypeEnum = "NETWORK_CONFIG"
	MonitorConfigurationConfigTypeDnsServerConfig       MonitorConfigurationConfigTypeEnum = "DNS_SERVER_CONFIG"
	MonitorConfigurationConfigTypeDnsTraceConfig        MonitorConfigurationConfigTypeEnum = "DNS_TRACE_CONFIG"
	MonitorConfigurationConfigTypeDnssecConfig          MonitorConfigurationConfigTypeEnum = "DNSSEC_CONFIG"
)

Set of constants representing the allowable values for MonitorConfigurationConfigTypeEnum

func GetMappingMonitorConfigurationConfigTypeEnum

func GetMappingMonitorConfigurationConfigTypeEnum(val string) (MonitorConfigurationConfigTypeEnum, bool)

GetMappingMonitorConfigurationConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMonitorConfigurationConfigTypeEnumValues

func GetMonitorConfigurationConfigTypeEnumValues() []MonitorConfigurationConfigTypeEnum

GetMonitorConfigurationConfigTypeEnumValues Enumerates the set of values for MonitorConfigurationConfigTypeEnum

type MonitorResult

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

MonitorResult The monitor result for a specific execution.

func (MonitorResult) String

func (m MonitorResult) String() string

func (MonitorResult) ValidateEnumValue

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

type MonitorResultData

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

MonitorResultData Details of the monitor result data.

func (MonitorResultData) String

func (m MonitorResultData) String() string

func (MonitorResultData) ValidateEnumValue

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

type MonitorScriptParameter

type MonitorScriptParameter struct {

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

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

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

func (MonitorScriptParameter) String

func (m MonitorScriptParameter) String() string

func (MonitorScriptParameter) ValidateEnumValue

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

type MonitorScriptParameterInfo

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

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.

func (MonitorScriptParameterInfo) String

func (MonitorScriptParameterInfo) ValidateEnumValue

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

type MonitorStatusCountMap

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

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

func (MonitorStatusCountMap) String

func (m MonitorStatusCountMap) String() string

func (MonitorStatusCountMap) ValidateEnumValue

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

type MonitorStatusEnum

type MonitorStatusEnum string

MonitorStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for MonitorStatusEnum

func GetMappingMonitorStatusEnum

func GetMappingMonitorStatusEnum(val string) (MonitorStatusEnum, bool)

GetMappingMonitorStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMonitorStatusEnumValues

func GetMonitorStatusEnumValues() []MonitorStatusEnum

GetMonitorStatusEnumValues Enumerates the set of values for MonitorStatusEnum

type MonitorSummary

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, REST and NETWORK 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"`

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

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

MonitorSummary Information about the monitor.

func (MonitorSummary) String

func (m MonitorSummary) String() string

func (*MonitorSummary) UnmarshalJSON added in v65.55.1

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

UnmarshalJSON unmarshals from json

func (MonitorSummary) ValidateEnumValue

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

type MonitorTypesEnum

type MonitorTypesEnum string

MonitorTypesEnum Enum with underlying type: string

const (
	MonitorTypesScriptedBrowser MonitorTypesEnum = "SCRIPTED_BROWSER"
	MonitorTypesBrowser         MonitorTypesEnum = "BROWSER"
	MonitorTypesScriptedRest    MonitorTypesEnum = "SCRIPTED_REST"
	MonitorTypesRest            MonitorTypesEnum = "REST"
	MonitorTypesNetwork         MonitorTypesEnum = "NETWORK"
	MonitorTypesDns             MonitorTypesEnum = "DNS"
)

Set of constants representing the allowable values for MonitorTypesEnum

func GetMappingMonitorTypesEnum

func GetMappingMonitorTypesEnum(val string) (MonitorTypesEnum, bool)

GetMappingMonitorTypesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMonitorTypesEnumValues

func GetMonitorTypesEnumValues() []MonitorTypesEnum

GetMonitorTypesEnumValues Enumerates the set of values for MonitorTypesEnum

type NetworkConfiguration

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

NetworkConfiguration Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.

func (NetworkConfiguration) String

func (m NetworkConfiguration) String() string

func (NetworkConfiguration) ValidateEnumValue

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

type NetworkMonitorConfiguration added in v65.48.0

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

NetworkMonitorConfiguration Request configuration details for the NETWORK monitor type.

func (NetworkMonitorConfiguration) GetDnsConfiguration added in v65.48.0

func (m NetworkMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (NetworkMonitorConfiguration) GetIsFailureRetried added in v65.48.0

func (m NetworkMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (NetworkMonitorConfiguration) MarshalJSON added in v65.48.0

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

MarshalJSON marshals to json representation

func (NetworkMonitorConfiguration) String added in v65.48.0

func (NetworkMonitorConfiguration) ValidateEnumValue added in v65.48.0

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

type Node added in v65.16.0

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

Node Details of the network node.

func (Node) String added in v65.16.0

func (m Node) String() string

func (Node) ValidateEnumValue added in v65.16.0

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

type NodeTypeEnum added in v65.16.0

type NodeTypeEnum string

NodeTypeEnum Enum with underlying type: string

const (
	NodeTypeSource      NodeTypeEnum = "SOURCE"
	NodeTypeDestination NodeTypeEnum = "DESTINATION"
	NodeTypeAnonymous   NodeTypeEnum = "ANONYMOUS"
	NodeTypeInternal    NodeTypeEnum = "INTERNAL"
	NodeTypeDangling    NodeTypeEnum = "DANGLING"
)

Set of constants representing the allowable values for NodeTypeEnum

func GetMappingNodeTypeEnum added in v65.16.0

func GetMappingNodeTypeEnum(val string) (NodeTypeEnum, bool)

GetMappingNodeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeTypeEnumValues added in v65.16.0

func GetNodeTypeEnumValues() []NodeTypeEnum

GetNodeTypeEnumValues Enumerates the set of values for NodeTypeEnum

type OAuthSchemesEnum

type OAuthSchemesEnum string

OAuthSchemesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OAuthSchemesEnum

func GetMappingOAuthSchemesEnum

func GetMappingOAuthSchemesEnum(val string) (OAuthSchemesEnum, bool)

GetMappingOAuthSchemesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOAuthSchemesEnumValues

func GetOAuthSchemesEnumValues() []OAuthSchemesEnum

GetOAuthSchemesEnumValues Enumerates the set of values for OAuthSchemesEnum

type OnPremiseVantagePoint added in v65.55.1

type OnPremiseVantagePoint struct {

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

	// Unique permanent name of the On-premise vantage point.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique On-premise vantage point name that cannot be edited. The name should not contain any confidential information.
	Name *string `mandatory:"true" json:"name"`

	// Type of On-premise vantage point.
	Type OnPremiseVantagePointTypeEnum `mandatory:"true" json:"type"`

	WorkersSummary *WorkersSummary `mandatory:"true" json:"workersSummary"`

	// A short description about the On-premise vantage point.
	Description *string `mandatory:"false" json:"description"`

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

OnPremiseVantagePoint The information about an On-premise vantage point.

func (OnPremiseVantagePoint) String added in v65.55.1

func (m OnPremiseVantagePoint) String() string

func (OnPremiseVantagePoint) ValidateEnumValue added in v65.55.1

func (m OnPremiseVantagePoint) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OnPremiseVantagePointCollection added in v65.55.1

type OnPremiseVantagePointCollection struct {

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

OnPremiseVantagePointCollection The results of an On-premise vantage point search, which contains OnPremiseVantagePointSummary items and other data in an APM domain.

func (OnPremiseVantagePointCollection) String added in v65.55.1

func (OnPremiseVantagePointCollection) ValidateEnumValue added in v65.55.1

func (m OnPremiseVantagePointCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OnPremiseVantagePointSummary added in v65.55.1

type OnPremiseVantagePointSummary struct {

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

	// Unique permanent name of the On-premise vantage point.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique On-premise vantage point name that cannot be edited. The name should not contain any confidential information.
	Name *string `mandatory:"true" json:"name"`

	// Type of On-premise vantage point.
	Type OnPremiseVantagePointSummaryTypeEnum `mandatory:"true" json:"type"`

	WorkersSummary *WorkersSummary `mandatory:"true" json:"workersSummary"`

	// A short description about the On-premise vantage point.
	Description *string `mandatory:"false" json:"description"`

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

OnPremiseVantagePointSummary Information about On-premise vantage point.

func (OnPremiseVantagePointSummary) String added in v65.55.1

func (OnPremiseVantagePointSummary) ValidateEnumValue added in v65.55.1

func (m OnPremiseVantagePointSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OnPremiseVantagePointSummaryTypeEnum added in v65.55.1

type OnPremiseVantagePointSummaryTypeEnum string

OnPremiseVantagePointSummaryTypeEnum Enum with underlying type: string

const (
	OnPremiseVantagePointSummaryTypeOnPremiseDockerVantagePoint OnPremiseVantagePointSummaryTypeEnum = "ON_PREMISE_DOCKER_VANTAGE_POINT"
)

Set of constants representing the allowable values for OnPremiseVantagePointSummaryTypeEnum

func GetMappingOnPremiseVantagePointSummaryTypeEnum added in v65.55.1

func GetMappingOnPremiseVantagePointSummaryTypeEnum(val string) (OnPremiseVantagePointSummaryTypeEnum, bool)

GetMappingOnPremiseVantagePointSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOnPremiseVantagePointSummaryTypeEnumValues added in v65.55.1

func GetOnPremiseVantagePointSummaryTypeEnumValues() []OnPremiseVantagePointSummaryTypeEnum

GetOnPremiseVantagePointSummaryTypeEnumValues Enumerates the set of values for OnPremiseVantagePointSummaryTypeEnum

type OnPremiseVantagePointTypeEnum added in v65.55.1

type OnPremiseVantagePointTypeEnum string

OnPremiseVantagePointTypeEnum Enum with underlying type: string

const (
	OnPremiseVantagePointTypeOnPremiseDockerVantagePoint OnPremiseVantagePointTypeEnum = "ON_PREMISE_DOCKER_VANTAGE_POINT"
)

Set of constants representing the allowable values for OnPremiseVantagePointTypeEnum

func GetMappingOnPremiseVantagePointTypeEnum added in v65.55.1

func GetMappingOnPremiseVantagePointTypeEnum(val string) (OnPremiseVantagePointTypeEnum, bool)

GetMappingOnPremiseVantagePointTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOnPremiseVantagePointTypeEnumValues added in v65.55.1

func GetOnPremiseVantagePointTypeEnumValues() []OnPremiseVantagePointTypeEnum

GetOnPremiseVantagePointTypeEnumValues Enumerates the set of values for OnPremiseVantagePointTypeEnum

type OnPremiseVantagePointWorkerStatusEnum added in v65.55.1

type OnPremiseVantagePointWorkerStatusEnum string

OnPremiseVantagePointWorkerStatusEnum Enum with underlying type: string

const (
	OnPremiseVantagePointWorkerStatusEnabled  OnPremiseVantagePointWorkerStatusEnum = "ENABLED"
	OnPremiseVantagePointWorkerStatusDisabled OnPremiseVantagePointWorkerStatusEnum = "DISABLED"
)

Set of constants representing the allowable values for OnPremiseVantagePointWorkerStatusEnum

func GetMappingOnPremiseVantagePointWorkerStatusEnum added in v65.55.1

func GetMappingOnPremiseVantagePointWorkerStatusEnum(val string) (OnPremiseVantagePointWorkerStatusEnum, bool)

GetMappingOnPremiseVantagePointWorkerStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOnPremiseVantagePointWorkerStatusEnumValues added in v65.55.1

func GetOnPremiseVantagePointWorkerStatusEnumValues() []OnPremiseVantagePointWorkerStatusEnum

GetOnPremiseVantagePointWorkerStatusEnumValues Enumerates the set of values for OnPremiseVantagePointWorkerStatusEnum

type OnPremiseVantagePointWorkerTypeEnum added in v65.55.1

type OnPremiseVantagePointWorkerTypeEnum string

OnPremiseVantagePointWorkerTypeEnum Enum with underlying type: string

const (
	OnPremiseVantagePointWorkerTypeDocker OnPremiseVantagePointWorkerTypeEnum = "DOCKER"
)

Set of constants representing the allowable values for OnPremiseVantagePointWorkerTypeEnum

func GetMappingOnPremiseVantagePointWorkerTypeEnum added in v65.55.1

func GetMappingOnPremiseVantagePointWorkerTypeEnum(val string) (OnPremiseVantagePointWorkerTypeEnum, bool)

GetMappingOnPremiseVantagePointWorkerTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOnPremiseVantagePointWorkerTypeEnumValues added in v65.55.1

func GetOnPremiseVantagePointWorkerTypeEnumValues() []OnPremiseVantagePointWorkerTypeEnum

GetOnPremiseVantagePointWorkerTypeEnumValues Enumerates the set of values for OnPremiseVantagePointWorkerTypeEnum

type OnPremiseVpWorkerVersionDetails added in v65.55.1

type OnPremiseVpWorkerVersionDetails struct {

	// Current image version of the On-premise VP worker.
	Version *string `mandatory:"true" json:"version"`

	// Minimum supported image version of the On-premise VP worker.
	MinSupportedVersion *string `mandatory:"true" json:"minSupportedVersion"`

	// Latest image version of the On-premise VP worker.
	LatestVersion *string `mandatory:"true" json:"latestVersion"`
}

OnPremiseVpWorkerVersionDetails Image version details of the On-premise VP worker.

func (OnPremiseVpWorkerVersionDetails) String added in v65.55.1

func (OnPremiseVpWorkerVersionDetails) ValidateEnumValue added in v65.55.1

func (m OnPremiseVpWorkerVersionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OracleRmStack added in v65.3.0

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

OracleRmStack Details of the Oracle Resource Manager stack, which is a subtype of the Dedicated Vantage Point stack.

func (OracleRmStack) GetDvpVersion added in v65.3.0

func (m OracleRmStack) GetDvpVersion() *string

GetDvpVersion returns DvpVersion

func (OracleRmStack) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (OracleRmStack) String added in v65.3.0

func (m OracleRmStack) String() string

func (OracleRmStack) ValidateEnumValue added in v65.3.0

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

type PrivateKey added in v65.43.0

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

PrivateKey The private key associated with the client certificate in PEM format.

func (PrivateKey) String added in v65.43.0

func (m PrivateKey) String() string

func (PrivateKey) ValidateEnumValue added in v65.43.0

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

type ProbeModeEnum

type ProbeModeEnum string

ProbeModeEnum Enum with underlying type: string

const (
	ProbeModeSack ProbeModeEnum = "SACK"
	ProbeModeSyn  ProbeModeEnum = "SYN"
)

Set of constants representing the allowable values for ProbeModeEnum

func GetMappingProbeModeEnum

func GetMappingProbeModeEnum(val string) (ProbeModeEnum, bool)

GetMappingProbeModeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProbeModeEnumValues

func GetProbeModeEnumValues() []ProbeModeEnum

GetProbeModeEnumValues Enumerates the set of values for ProbeModeEnum

type ProtocolEnum

type ProtocolEnum string

ProtocolEnum Enum with underlying type: string

const (
	ProtocolIcmp ProtocolEnum = "ICMP"
	ProtocolTcp  ProtocolEnum = "TCP"
)

Set of constants representing the allowable values for ProtocolEnum

func GetMappingProtocolEnum

func GetMappingProtocolEnum(val string) (ProtocolEnum, bool)

GetMappingProtocolEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProtocolEnumValues

func GetProtocolEnumValues() []ProtocolEnum

GetProtocolEnumValues Enumerates the set of values for ProtocolEnum

type PublicVantagePointCollection

type PublicVantagePointCollection struct {

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

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

func (PublicVantagePointCollection) String

func (PublicVantagePointCollection) ValidateEnumValue

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

type PublicVantagePointSummary

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

PublicVantagePointSummary Information about public vantage points.

func (PublicVantagePointSummary) String

func (m PublicVantagePointSummary) String() string

func (PublicVantagePointSummary) ValidateEnumValue

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

type RequestAuthenticationDetails

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

RequestAuthenticationDetails Details for request HTTP authentication.

func (RequestAuthenticationDetails) String

func (RequestAuthenticationDetails) ValidateEnumValue

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

type RequestAuthenticationSchemesEnum

type RequestAuthenticationSchemesEnum string

RequestAuthenticationSchemesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for RequestAuthenticationSchemesEnum

func GetMappingRequestAuthenticationSchemesEnum

func GetMappingRequestAuthenticationSchemesEnum(val string) (RequestAuthenticationSchemesEnum, bool)

GetMappingRequestAuthenticationSchemesEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestAuthenticationSchemesEnumValues

func GetRequestAuthenticationSchemesEnumValues() []RequestAuthenticationSchemesEnum

GetRequestAuthenticationSchemesEnumValues Enumerates the set of values for RequestAuthenticationSchemesEnum

type RequestAuthenticationSchemesForScriptedRestEnum added in v65.43.0

type RequestAuthenticationSchemesForScriptedRestEnum string

RequestAuthenticationSchemesForScriptedRestEnum Enum with underlying type: string

const (
	RequestAuthenticationSchemesForScriptedRestNone              RequestAuthenticationSchemesForScriptedRestEnum = "NONE"
	RequestAuthenticationSchemesForScriptedRestResourcePrincipal RequestAuthenticationSchemesForScriptedRestEnum = "RESOURCE_PRINCIPAL"
)

Set of constants representing the allowable values for RequestAuthenticationSchemesForScriptedRestEnum

func GetMappingRequestAuthenticationSchemesForScriptedRestEnum added in v65.43.0

func GetMappingRequestAuthenticationSchemesForScriptedRestEnum(val string) (RequestAuthenticationSchemesForScriptedRestEnum, bool)

GetMappingRequestAuthenticationSchemesForScriptedRestEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestAuthenticationSchemesForScriptedRestEnumValues added in v65.43.0

func GetRequestAuthenticationSchemesForScriptedRestEnumValues() []RequestAuthenticationSchemesForScriptedRestEnum

GetRequestAuthenticationSchemesForScriptedRestEnumValues Enumerates the set of values for RequestAuthenticationSchemesForScriptedRestEnum

type RequestMethodsEnum

type RequestMethodsEnum string

RequestMethodsEnum Enum with underlying type: string

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

Set of constants representing the allowable values for RequestMethodsEnum

func GetMappingRequestMethodsEnum

func GetMappingRequestMethodsEnum(val string) (RequestMethodsEnum, bool)

GetMappingRequestMethodsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRequestMethodsEnumValues

func GetRequestMethodsEnumValues() []RequestMethodsEnum

GetRequestMethodsEnumValues Enumerates the set of values for RequestMethodsEnum

type RequestQueryParam

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

RequestQueryParam Information about request query parameters.

func (RequestQueryParam) String

func (m RequestQueryParam) String() string

func (RequestQueryParam) ValidateEnumValue

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

type RestMonitorConfiguration

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

RestMonitorConfiguration Request configuration details for the REST monitor type.

func (RestMonitorConfiguration) GetDnsConfiguration added in v65.16.0

func (m RestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (RestMonitorConfiguration) GetIsFailureRetried

func (m RestMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (RestMonitorConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (RestMonitorConfiguration) String

func (m RestMonitorConfiguration) String() string

func (RestMonitorConfiguration) ValidateEnumValue

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

type SchedulingPolicyEnum added in v65.16.0

type SchedulingPolicyEnum string

SchedulingPolicyEnum Enum with underlying type: string

const (
	SchedulingPolicyAll               SchedulingPolicyEnum = "ALL"
	SchedulingPolicyRoundRobin        SchedulingPolicyEnum = "ROUND_ROBIN"
	SchedulingPolicyBatchedRoundRobin SchedulingPolicyEnum = "BATCHED_ROUND_ROBIN"
)

Set of constants representing the allowable values for SchedulingPolicyEnum

func GetMappingSchedulingPolicyEnum added in v65.16.0

func GetMappingSchedulingPolicyEnum(val string) (SchedulingPolicyEnum, bool)

GetMappingSchedulingPolicyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSchedulingPolicyEnumValues added in v65.16.0

func GetSchedulingPolicyEnumValues() []SchedulingPolicyEnum

GetSchedulingPolicyEnumValues Enumerates the set of values for SchedulingPolicyEnum

type 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"`
}

Script The information about the script.

func (Script) String

func (m Script) String() string

func (Script) ValidateEnumValue

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

type ScriptCollection

type ScriptCollection struct {

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

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

func (ScriptCollection) String

func (m ScriptCollection) String() string

func (ScriptCollection) ValidateEnumValue

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

type ScriptParameter

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

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.

func (ScriptParameter) String

func (m ScriptParameter) String() string

func (ScriptParameter) ValidateEnumValue

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

type ScriptParameterInfo

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

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

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

func (ScriptParameterInfo) String

func (m ScriptParameterInfo) String() string

func (ScriptParameterInfo) ValidateEnumValue

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

type ScriptSummary

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

ScriptSummary Information about the script.

func (ScriptSummary) String

func (m ScriptSummary) String() string

func (ScriptSummary) ValidateEnumValue

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

type ScriptedBrowserMonitorConfiguration

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

ScriptedBrowserMonitorConfiguration Configuration details for the SCRIPTED_BROWSER monitor type.

func (ScriptedBrowserMonitorConfiguration) GetDnsConfiguration added in v65.16.0

func (m ScriptedBrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (ScriptedBrowserMonitorConfiguration) GetIsFailureRetried

func (m ScriptedBrowserMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (ScriptedBrowserMonitorConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (ScriptedBrowserMonitorConfiguration) String

func (ScriptedBrowserMonitorConfiguration) ValidateEnumValue

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

type ScriptedRestMonitorConfiguration

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

ScriptedRestMonitorConfiguration Configuration details for the SCRIPTED_REST monitor type.

func (ScriptedRestMonitorConfiguration) GetDnsConfiguration added in v65.16.0

func (m ScriptedRestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (ScriptedRestMonitorConfiguration) GetIsFailureRetried

func (m ScriptedRestMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (ScriptedRestMonitorConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (ScriptedRestMonitorConfiguration) String

func (ScriptedRestMonitorConfiguration) ValidateEnumValue

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

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrdersEnum

func GetMappingSortOrdersEnum

func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)

GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type UpdateDedicatedVantagePointDetails added in v65.3.0

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

UpdateDedicatedVantagePointDetails Details of the request body used to update a dedicated vantage point.

func (UpdateDedicatedVantagePointDetails) String added in v65.3.0

func (*UpdateDedicatedVantagePointDetails) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (UpdateDedicatedVantagePointDetails) ValidateEnumValue added in v65.3.0

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

type UpdateDedicatedVantagePointRequest added in v65.3.0

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
}

UpdateDedicatedVantagePointRequest wrapper for the UpdateDedicatedVantagePoint operation

See also

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

func (UpdateDedicatedVantagePointRequest) BinaryRequestBody added in v65.3.0

func (request UpdateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDedicatedVantagePointRequest) HTTPRequest added in v65.3.0

func (request UpdateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDedicatedVantagePointRequest) RetryPolicy added in v65.3.0

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

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

func (UpdateDedicatedVantagePointRequest) String added in v65.3.0

func (request UpdateDedicatedVantagePointRequest) String() string

func (UpdateDedicatedVantagePointRequest) ValidateEnumValue added in v65.3.0

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

type UpdateDedicatedVantagePointResponse added in v65.3.0

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

UpdateDedicatedVantagePointResponse wrapper for the UpdateDedicatedVantagePoint operation

func (UpdateDedicatedVantagePointResponse) HTTPResponse added in v65.3.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateDedicatedVantagePointResponse) String added in v65.3.0

func (response UpdateDedicatedVantagePointResponse) String() string

type UpdateMonitorDetails

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, REST and NETWORK 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"`
}

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

func (UpdateMonitorDetails) String

func (m UpdateMonitorDetails) String() string

func (*UpdateMonitorDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateMonitorDetails) ValidateEnumValue

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

type 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
}

UpdateMonitorRequest wrapper for the UpdateMonitor operation

See also

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

func (UpdateMonitorRequest) BinaryRequestBody

func (request UpdateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMonitorRequest) HTTPRequest

func (request UpdateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMonitorRequest) RetryPolicy

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

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

func (UpdateMonitorRequest) String

func (request UpdateMonitorRequest) String() string

func (UpdateMonitorRequest) ValidateEnumValue

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

type UpdateMonitorResponse

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

UpdateMonitorResponse wrapper for the UpdateMonitor operation

func (UpdateMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMonitorResponse) String

func (response UpdateMonitorResponse) String() string

type UpdateOnPremiseVantagePointDetails added in v65.55.1

type UpdateOnPremiseVantagePointDetails struct {

	// A short description about the On-premise vantage point.
	Description *string `mandatory:"false" json:"description"`

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

UpdateOnPremiseVantagePointDetails Details of the request body used to update an On-premise vantage point.

func (UpdateOnPremiseVantagePointDetails) String added in v65.55.1

func (UpdateOnPremiseVantagePointDetails) ValidateEnumValue added in v65.55.1

func (m UpdateOnPremiseVantagePointDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOnPremiseVantagePointRequest added in v65.55.1

type UpdateOnPremiseVantagePointRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

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

UpdateOnPremiseVantagePointRequest wrapper for the UpdateOnPremiseVantagePoint operation

See also

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

func (UpdateOnPremiseVantagePointRequest) BinaryRequestBody added in v65.55.1

func (request UpdateOnPremiseVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateOnPremiseVantagePointRequest) HTTPRequest added in v65.55.1

func (request UpdateOnPremiseVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateOnPremiseVantagePointRequest) RetryPolicy added in v65.55.1

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

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

func (UpdateOnPremiseVantagePointRequest) String added in v65.55.1

func (request UpdateOnPremiseVantagePointRequest) String() string

func (UpdateOnPremiseVantagePointRequest) ValidateEnumValue added in v65.55.1

func (request UpdateOnPremiseVantagePointRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateOnPremiseVantagePointResponse added in v65.55.1

type UpdateOnPremiseVantagePointResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

UpdateOnPremiseVantagePointResponse wrapper for the UpdateOnPremiseVantagePoint operation

func (UpdateOnPremiseVantagePointResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (UpdateOnPremiseVantagePointResponse) String added in v65.55.1

func (response UpdateOnPremiseVantagePointResponse) String() string

type UpdateScriptDetails

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

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.

func (UpdateScriptDetails) String

func (m UpdateScriptDetails) String() string

func (UpdateScriptDetails) ValidateEnumValue

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

type 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
}

UpdateScriptRequest wrapper for the UpdateScript operation

See also

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

func (UpdateScriptRequest) BinaryRequestBody

func (request UpdateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateScriptRequest) HTTPRequest

func (request UpdateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateScriptRequest) RetryPolicy

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

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

func (UpdateScriptRequest) String

func (request UpdateScriptRequest) String() string

func (UpdateScriptRequest) ValidateEnumValue

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

type UpdateScriptResponse

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

UpdateScriptResponse wrapper for the UpdateScript operation

func (UpdateScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateScriptResponse) String

func (response UpdateScriptResponse) String() string

type UpdateWorkerDetails added in v65.55.1

type UpdateWorkerDetails struct {

	// Configuration details of the On-premise VP worker.
	ConfigurationDetails *interface{} `mandatory:"false" json:"configurationDetails"`

	// Enables or disables the On-premise VP worker.
	Status OnPremiseVantagePointWorkerStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Priority of the On-premise VP worker to schedule monitors.
	Priority *int `mandatory:"false" json:"priority"`

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

UpdateWorkerDetails Details of the request body used to update an On-premise VP worker.

func (UpdateWorkerDetails) String added in v65.55.1

func (m UpdateWorkerDetails) String() string

func (UpdateWorkerDetails) ValidateEnumValue added in v65.55.1

func (m UpdateWorkerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWorkerRequest added in v65.55.1

type UpdateWorkerRequest struct {

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

	// The OCID of the On-premise vantage point.
	OnPremiseVantagePointId *string `mandatory:"true" contributesTo:"path" name:"onPremiseVantagePointId"`

	// The OCID of the On-premise vantage point worker.
	WorkerId *string `mandatory:"true" contributesTo:"path" name:"workerId"`

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

UpdateWorkerRequest wrapper for the UpdateWorker operation

See also

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

func (UpdateWorkerRequest) BinaryRequestBody added in v65.55.1

func (request UpdateWorkerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateWorkerRequest) HTTPRequest added in v65.55.1

func (request UpdateWorkerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateWorkerRequest) RetryPolicy added in v65.55.1

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

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

func (UpdateWorkerRequest) String added in v65.55.1

func (request UpdateWorkerRequest) String() string

func (UpdateWorkerRequest) ValidateEnumValue added in v65.55.1

func (request UpdateWorkerRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWorkerResponse added in v65.55.1

type UpdateWorkerResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

UpdateWorkerResponse wrapper for the UpdateWorker operation

func (UpdateWorkerResponse) HTTPResponse added in v65.55.1

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

HTTPResponse implements the OCIResponse interface

func (UpdateWorkerResponse) String added in v65.55.1

func (response UpdateWorkerResponse) String() string

type VantagePointExecution added in v65.16.0

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

VantagePointExecution Details of a vantage point execution.

func (VantagePointExecution) String added in v65.16.0

func (m VantagePointExecution) String() string

func (VantagePointExecution) ValidateEnumValue added in v65.16.0

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

type VantagePointInfo

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

VantagePointInfo Details of the vantage point.

func (VantagePointInfo) String

func (m VantagePointInfo) String() string

func (VantagePointInfo) ValidateEnumValue

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

type VantagePointNode added in v65.16.0

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

VantagePointNode Details of the vantage point node.

func (VantagePointNode) String added in v65.16.0

func (m VantagePointNode) String() string

func (VantagePointNode) ValidateEnumValue added in v65.16.0

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

type VerifyText

type VerifyText struct {

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

VerifyText Details to verify text.

func (VerifyText) String

func (m VerifyText) String() string

func (VerifyText) ValidateEnumValue

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

type Worker added in v65.55.1

type Worker struct {

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

	// The runtime assigned id of the On-premise VP worker.
	RuntimeId *string `mandatory:"true" json:"runtimeId"`

	// Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique permanent name of the On-premise VP worker. This is the same as the displayName.
	Name *string `mandatory:"true" json:"name"`

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the On-premise vantage point.
	OpvpId *string `mandatory:"true" json:"opvpId"`

	// On-premise vantage point name.
	OpvpName *string `mandatory:"true" json:"opvpName"`

	VersionDetails *OnPremiseVpWorkerVersionDetails `mandatory:"true" json:"versionDetails"`

	// Type of the On-premise VP worker.
	WorkerType OnPremiseVantagePointWorkerTypeEnum `mandatory:"true" json:"workerType"`

	// Enables or disables the On-premise VP worker.
	Status OnPremiseVantagePointWorkerStatusEnum `mandatory:"true" json:"status"`

	// Priority of the On-premise VP worker to schedule monitors.
	Priority *int `mandatory:"true" json:"priority"`

	// Configuration details of the On-premise VP worker.
	ConfigurationDetails *interface{} `mandatory:"false" json:"configurationDetails"`

	// Geographical information of the On-premise VP worker.
	GeoInfo *string `mandatory:"false" json:"geoInfo"`

	// Monitors list assigned to the On-premise VP worker.
	MonitorList []WorkerMonitorList `mandatory:"false" json:"monitorList"`

	IdentityInfo *IdentityInfoDetails `mandatory:"false" json:"identityInfo"`

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

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

Worker The information about an On-premise VP worker.

func (Worker) String added in v65.55.1

func (m Worker) String() string

func (Worker) ValidateEnumValue added in v65.55.1

func (m Worker) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkerCollection added in v65.55.1

type WorkerCollection struct {

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

WorkerCollection The results of an On-premise VP worker search, which contains WorkerSummary items and other data in an APM domain.

func (WorkerCollection) String added in v65.55.1

func (m WorkerCollection) String() string

func (WorkerCollection) ValidateEnumValue added in v65.55.1

func (m WorkerCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkerMonitorList added in v65.55.1

type WorkerMonitorList 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"`

	// If isRunNow is enabled, then the monitor will run immediately.
	IsRunNow *bool `mandatory:"false" json:"isRunNow"`

	// The time the resource was last assigned to an On-premise vantage point worker, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)
	// timestamp format.
	// Example: `2020-02-12T22:47:12.613Z`
	TimeAssigned *common.SDKTime `mandatory:"false" json:"timeAssigned"`
}

WorkerMonitorList Details of the monitor assigned to an On-premise vantage point worker.

func (WorkerMonitorList) String added in v65.55.1

func (m WorkerMonitorList) String() string

func (WorkerMonitorList) ValidateEnumValue added in v65.55.1

func (m WorkerMonitorList) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkerSummary added in v65.55.1

type WorkerSummary struct {

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

	// Unique On-premise VP worker name that cannot be edited. The name should not contain any confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Unique permanent name of the On-premise VP worker. This is the same as the displayName.
	Name *string `mandatory:"true" json:"name"`

	VersionDetails *OnPremiseVpWorkerVersionDetails `mandatory:"true" json:"versionDetails"`

	// Type of the On-premise VP worker.
	WorkerType OnPremiseVantagePointWorkerTypeEnum `mandatory:"true" json:"workerType"`

	// Enables or disables the On-premise VP worker.
	Status OnPremiseVantagePointWorkerStatusEnum `mandatory:"true" json:"status"`

	// Priority of the On-premise VP worker to schedule monitors.
	Priority *int `mandatory:"true" json:"priority"`

	// Configuration details of the On-premise VP worker.
	ConfigurationDetails *interface{} `mandatory:"false" json:"configurationDetails"`

	// Geographical information of the On-premise VP worker.
	GeoInfo *string `mandatory:"false" json:"geoInfo"`

	// Monitors list assigned to the On-premise VP worker.
	MonitorList []WorkerMonitorList `mandatory:"false" json:"monitorList"`

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

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

WorkerSummary Information about On-premise VP worker.

func (WorkerSummary) String added in v65.55.1

func (m WorkerSummary) String() string

func (WorkerSummary) ValidateEnumValue added in v65.55.1

func (m WorkerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkersSummary added in v65.55.1

type WorkersSummary struct {

	// Total number of workers in a specific On-premise vantage point.
	Total *int `mandatory:"true" json:"total"`

	// Number of available workers in a specific On-premise vantage point.
	Available *int `mandatory:"true" json:"available"`

	// Number of occupied workers in a specific On-premise vantage point.
	Used *int `mandatory:"true" json:"used"`

	// Number of disabled workers in a specific On-premise vantage point.
	Disabled *int `mandatory:"true" json:"disabled"`

	// Minimum version among the workers in a specific On-premise vantage point.
	MinVersion *string `mandatory:"true" json:"minVersion"`

	// List of available capabilities in a specific On-premise vantage point.
	AvailableCapabilities []AvailableCapability `mandatory:"true" json:"availableCapabilities"`
}

WorkersSummary Details of the workers in a specific On-premise vantage point.

func (WorkersSummary) String added in v65.55.1

func (m WorkersSummary) String() string

func (WorkersSummary) ValidateEnumValue added in v65.55.1

func (m WorkersSummary) 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL