...

Package apmsynthetics

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

Overview ▾

Index ▾

func GetAggregatedNetworkDataResultStateEnumStringValues() []string
func GetContentTypesEnumStringValues() []string
func GetDedicatedVantagePointStatusEnumStringValues() []string
func GetDvpStackDetailsDvpStackTypeEnumStringValues() []string
func GetListDedicatedVantagePointsSortByEnumStringValues() []string
func GetListDedicatedVantagePointsSortOrderEnumStringValues() []string
func GetListDedicatedVantagePointsStatusEnumStringValues() []string
func GetListMonitorsSortByEnumStringValues() []string
func GetListMonitorsSortOrderEnumStringValues() []string
func GetListMonitorsStatusEnumStringValues() []string
func GetListPublicVantagePointsSortByEnumStringValues() []string
func GetListPublicVantagePointsSortOrderEnumStringValues() []string
func GetListScriptsSortByEnumStringValues() []string
func GetListScriptsSortOrderEnumStringValues() []string
func GetMonitorConfigurationConfigTypeEnumStringValues() []string
func GetMonitorStatusEnumStringValues() []string
func GetMonitorTypesEnumStringValues() []string
func GetNodeTypeEnumStringValues() []string
func GetOAuthSchemesEnumStringValues() []string
func GetProbeModeEnumStringValues() []string
func GetProtocolEnumStringValues() []string
func GetRequestAuthenticationSchemesEnumStringValues() []string
func GetRequestAuthenticationSchemesForScriptedRestEnumStringValues() []string
func GetRequestMethodsEnumStringValues() []string
func GetSchedulingPolicyEnumStringValues() []string
func GetSortOrdersEnumStringValues() []string
type AggregateNetworkDataDetails
    func (m AggregateNetworkDataDetails) String() string
    func (m AggregateNetworkDataDetails) ValidateEnumValue() (bool, error)
type AggregateNetworkDataRequest
    func (request AggregateNetworkDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request AggregateNetworkDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request AggregateNetworkDataRequest) RetryPolicy() *common.RetryPolicy
    func (request AggregateNetworkDataRequest) String() string
    func (request AggregateNetworkDataRequest) ValidateEnumValue() (bool, error)
type AggregateNetworkDataResponse
    func (response AggregateNetworkDataResponse) HTTPResponse() *http.Response
    func (response AggregateNetworkDataResponse) String() string
type AggregatedNetworkData
    func (m AggregatedNetworkData) String() string
    func (m AggregatedNetworkData) ValidateEnumValue() (bool, error)
type AggregatedNetworkDataResult
    func (m AggregatedNetworkDataResult) String() string
    func (m AggregatedNetworkDataResult) ValidateEnumValue() (bool, error)
type AggregatedNetworkDataResultStateEnum
    func GetAggregatedNetworkDataResultStateEnumValues() []AggregatedNetworkDataResultStateEnum
    func GetMappingAggregatedNetworkDataResultStateEnum(val string) (AggregatedNetworkDataResultStateEnum, bool)
type ApmSyntheticClient
    func NewApmSyntheticClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApmSyntheticClient, err error)
    func NewApmSyntheticClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApmSyntheticClient, err error)
    func (client ApmSyntheticClient) AggregateNetworkData(ctx context.Context, request AggregateNetworkDataRequest) (response AggregateNetworkDataResponse, err error)
    func (client *ApmSyntheticClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ApmSyntheticClient) CreateDedicatedVantagePoint(ctx context.Context, request CreateDedicatedVantagePointRequest) (response CreateDedicatedVantagePointResponse, err error)
    func (client ApmSyntheticClient) CreateMonitor(ctx context.Context, request CreateMonitorRequest) (response CreateMonitorResponse, err error)
    func (client ApmSyntheticClient) CreateScript(ctx context.Context, request CreateScriptRequest) (response CreateScriptResponse, err error)
    func (client ApmSyntheticClient) DeleteDedicatedVantagePoint(ctx context.Context, request DeleteDedicatedVantagePointRequest) (response DeleteDedicatedVantagePointResponse, err error)
    func (client ApmSyntheticClient) DeleteMonitor(ctx context.Context, request DeleteMonitorRequest) (response DeleteMonitorResponse, err error)
    func (client ApmSyntheticClient) DeleteScript(ctx context.Context, request DeleteScriptRequest) (response DeleteScriptResponse, err error)
    func (client ApmSyntheticClient) GetDedicatedVantagePoint(ctx context.Context, request GetDedicatedVantagePointRequest) (response GetDedicatedVantagePointResponse, err error)
    func (client ApmSyntheticClient) GetMonitor(ctx context.Context, request GetMonitorRequest) (response GetMonitorResponse, err error)
    func (client ApmSyntheticClient) GetMonitorResult(ctx context.Context, request GetMonitorResultRequest) (response GetMonitorResultResponse, err error)
    func (client ApmSyntheticClient) GetScript(ctx context.Context, request GetScriptRequest) (response GetScriptResponse, err error)
    func (client ApmSyntheticClient) ListDedicatedVantagePoints(ctx context.Context, request ListDedicatedVantagePointsRequest) (response ListDedicatedVantagePointsResponse, err error)
    func (client ApmSyntheticClient) ListMonitors(ctx context.Context, request ListMonitorsRequest) (response ListMonitorsResponse, err error)
    func (client ApmSyntheticClient) ListPublicVantagePoints(ctx context.Context, request ListPublicVantagePointsRequest) (response ListPublicVantagePointsResponse, err error)
    func (client ApmSyntheticClient) ListScripts(ctx context.Context, request ListScriptsRequest) (response ListScriptsResponse, err error)
    func (client *ApmSyntheticClient) SetRegion(region string)
    func (client ApmSyntheticClient) UpdateDedicatedVantagePoint(ctx context.Context, request UpdateDedicatedVantagePointRequest) (response UpdateDedicatedVantagePointResponse, err error)
    func (client ApmSyntheticClient) UpdateMonitor(ctx context.Context, request UpdateMonitorRequest) (response UpdateMonitorResponse, err error)
    func (client ApmSyntheticClient) UpdateScript(ctx context.Context, request UpdateScriptRequest) (response UpdateScriptResponse, err error)
type AvailabilityConfiguration
    func (m AvailabilityConfiguration) String() string
    func (m AvailabilityConfiguration) ValidateEnumValue() (bool, error)
type BrowserMonitorConfiguration
    func (m BrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
    func (m BrowserMonitorConfiguration) GetIsFailureRetried() *bool
    func (m BrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m BrowserMonitorConfiguration) String() string
    func (m BrowserMonitorConfiguration) ValidateEnumValue() (bool, error)
type ClientCertificate
    func (m ClientCertificate) String() string
    func (m ClientCertificate) ValidateEnumValue() (bool, error)
type ClientCertificateDetails
    func (m ClientCertificateDetails) String() string
    func (m ClientCertificateDetails) ValidateEnumValue() (bool, error)
type ContentTypesEnum
    func GetContentTypesEnumValues() []ContentTypesEnum
    func GetMappingContentTypesEnum(val string) (ContentTypesEnum, bool)
type CreateDedicatedVantagePointDetails
    func (m CreateDedicatedVantagePointDetails) String() string
    func (m *CreateDedicatedVantagePointDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateDedicatedVantagePointDetails) ValidateEnumValue() (bool, error)
type CreateDedicatedVantagePointRequest
    func (request CreateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateDedicatedVantagePointRequest) String() string
    func (request CreateDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
type CreateDedicatedVantagePointResponse
    func (response CreateDedicatedVantagePointResponse) HTTPResponse() *http.Response
    func (response CreateDedicatedVantagePointResponse) String() string
type CreateMonitorDetails
    func (m CreateMonitorDetails) String() string
    func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateMonitorDetails) ValidateEnumValue() (bool, error)
type CreateMonitorRequest
    func (request CreateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMonitorRequest) String() string
    func (request CreateMonitorRequest) ValidateEnumValue() (bool, error)
type CreateMonitorResponse
    func (response CreateMonitorResponse) HTTPResponse() *http.Response
    func (response CreateMonitorResponse) String() string
type CreateScriptDetails
    func (m CreateScriptDetails) String() string
    func (m CreateScriptDetails) ValidateEnumValue() (bool, error)
type CreateScriptRequest
    func (request CreateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateScriptRequest) String() string
    func (request CreateScriptRequest) ValidateEnumValue() (bool, error)
type CreateScriptResponse
    func (response CreateScriptResponse) HTTPResponse() *http.Response
    func (response CreateScriptResponse) String() string
type DedicatedVantagePoint
    func (m DedicatedVantagePoint) String() string
    func (m *DedicatedVantagePoint) UnmarshalJSON(data []byte) (e error)
    func (m DedicatedVantagePoint) ValidateEnumValue() (bool, error)
type DedicatedVantagePointCollection
    func (m DedicatedVantagePointCollection) String() string
    func (m DedicatedVantagePointCollection) ValidateEnumValue() (bool, error)
type DedicatedVantagePointStatusEnum
    func GetDedicatedVantagePointStatusEnumValues() []DedicatedVantagePointStatusEnum
    func GetMappingDedicatedVantagePointStatusEnum(val string) (DedicatedVantagePointStatusEnum, bool)
type DedicatedVantagePointSummary
    func (m DedicatedVantagePointSummary) String() string
    func (m *DedicatedVantagePointSummary) UnmarshalJSON(data []byte) (e error)
    func (m DedicatedVantagePointSummary) ValidateEnumValue() (bool, error)
type DeleteDedicatedVantagePointRequest
    func (request DeleteDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDedicatedVantagePointRequest) String() string
    func (request DeleteDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
type DeleteDedicatedVantagePointResponse
    func (response DeleteDedicatedVantagePointResponse) HTTPResponse() *http.Response
    func (response DeleteDedicatedVantagePointResponse) String() string
type DeleteMonitorRequest
    func (request DeleteMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMonitorRequest) String() string
    func (request DeleteMonitorRequest) ValidateEnumValue() (bool, error)
type DeleteMonitorResponse
    func (response DeleteMonitorResponse) HTTPResponse() *http.Response
    func (response DeleteMonitorResponse) String() string
type DeleteScriptRequest
    func (request DeleteScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteScriptRequest) String() string
    func (request DeleteScriptRequest) ValidateEnumValue() (bool, error)
type DeleteScriptResponse
    func (response DeleteScriptResponse) HTTPResponse() *http.Response
    func (response DeleteScriptResponse) String() string
type DnsConfiguration
    func (m DnsConfiguration) String() string
    func (m DnsConfiguration) ValidateEnumValue() (bool, error)
type DvpStackDetails
type DvpStackDetailsDvpStackTypeEnum
    func GetDvpStackDetailsDvpStackTypeEnumValues() []DvpStackDetailsDvpStackTypeEnum
    func GetMappingDvpStackDetailsDvpStackTypeEnum(val string) (DvpStackDetailsDvpStackTypeEnum, bool)
type GeoSummary
    func (m GeoSummary) String() string
    func (m GeoSummary) ValidateEnumValue() (bool, error)
type GetDedicatedVantagePointRequest
    func (request GetDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDedicatedVantagePointRequest) String() string
    func (request GetDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
type GetDedicatedVantagePointResponse
    func (response GetDedicatedVantagePointResponse) HTTPResponse() *http.Response
    func (response GetDedicatedVantagePointResponse) String() string
type GetMonitorRequest
    func (request GetMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMonitorRequest) String() string
    func (request GetMonitorRequest) ValidateEnumValue() (bool, error)
type GetMonitorResponse
    func (response GetMonitorResponse) HTTPResponse() *http.Response
    func (response GetMonitorResponse) String() string
type GetMonitorResultRequest
    func (request GetMonitorResultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMonitorResultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMonitorResultRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMonitorResultRequest) String() string
    func (request GetMonitorResultRequest) ValidateEnumValue() (bool, error)
type GetMonitorResultResponse
    func (response GetMonitorResultResponse) HTTPResponse() *http.Response
    func (response GetMonitorResultResponse) String() string
type GetScriptRequest
    func (request GetScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request GetScriptRequest) String() string
    func (request GetScriptRequest) ValidateEnumValue() (bool, error)
type GetScriptResponse
    func (response GetScriptResponse) HTTPResponse() *http.Response
    func (response GetScriptResponse) String() string
type Header
    func (m Header) String() string
    func (m Header) ValidateEnumValue() (bool, error)
type Link
    func (m Link) String() string
    func (m Link) ValidateEnumValue() (bool, error)
type ListDedicatedVantagePointsRequest
    func (request ListDedicatedVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListDedicatedVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListDedicatedVantagePointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListDedicatedVantagePointsRequest) String() string
    func (request ListDedicatedVantagePointsRequest) ValidateEnumValue() (bool, error)
type ListDedicatedVantagePointsResponse
    func (response ListDedicatedVantagePointsResponse) HTTPResponse() *http.Response
    func (response ListDedicatedVantagePointsResponse) String() string
type ListDedicatedVantagePointsSortByEnum
    func GetListDedicatedVantagePointsSortByEnumValues() []ListDedicatedVantagePointsSortByEnum
    func GetMappingListDedicatedVantagePointsSortByEnum(val string) (ListDedicatedVantagePointsSortByEnum, bool)
type ListDedicatedVantagePointsSortOrderEnum
    func GetListDedicatedVantagePointsSortOrderEnumValues() []ListDedicatedVantagePointsSortOrderEnum
    func GetMappingListDedicatedVantagePointsSortOrderEnum(val string) (ListDedicatedVantagePointsSortOrderEnum, bool)
type ListDedicatedVantagePointsStatusEnum
    func GetListDedicatedVantagePointsStatusEnumValues() []ListDedicatedVantagePointsStatusEnum
    func GetMappingListDedicatedVantagePointsStatusEnum(val string) (ListDedicatedVantagePointsStatusEnum, bool)
type ListMonitorsRequest
    func (request ListMonitorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMonitorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMonitorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMonitorsRequest) String() string
    func (request ListMonitorsRequest) ValidateEnumValue() (bool, error)
type ListMonitorsResponse
    func (response ListMonitorsResponse) HTTPResponse() *http.Response
    func (response ListMonitorsResponse) String() string
type ListMonitorsSortByEnum
    func GetListMonitorsSortByEnumValues() []ListMonitorsSortByEnum
    func GetMappingListMonitorsSortByEnum(val string) (ListMonitorsSortByEnum, bool)
type ListMonitorsSortOrderEnum
    func GetListMonitorsSortOrderEnumValues() []ListMonitorsSortOrderEnum
    func GetMappingListMonitorsSortOrderEnum(val string) (ListMonitorsSortOrderEnum, bool)
type ListMonitorsStatusEnum
    func GetListMonitorsStatusEnumValues() []ListMonitorsStatusEnum
    func GetMappingListMonitorsStatusEnum(val string) (ListMonitorsStatusEnum, bool)
type ListPublicVantagePointsRequest
    func (request ListPublicVantagePointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPublicVantagePointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPublicVantagePointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPublicVantagePointsRequest) String() string
    func (request ListPublicVantagePointsRequest) ValidateEnumValue() (bool, error)
type ListPublicVantagePointsResponse
    func (response ListPublicVantagePointsResponse) HTTPResponse() *http.Response
    func (response ListPublicVantagePointsResponse) String() string
type ListPublicVantagePointsSortByEnum
    func GetListPublicVantagePointsSortByEnumValues() []ListPublicVantagePointsSortByEnum
    func GetMappingListPublicVantagePointsSortByEnum(val string) (ListPublicVantagePointsSortByEnum, bool)
type ListPublicVantagePointsSortOrderEnum
    func GetListPublicVantagePointsSortOrderEnumValues() []ListPublicVantagePointsSortOrderEnum
    func GetMappingListPublicVantagePointsSortOrderEnum(val string) (ListPublicVantagePointsSortOrderEnum, bool)
type ListScriptsRequest
    func (request ListScriptsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListScriptsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListScriptsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListScriptsRequest) String() string
    func (request ListScriptsRequest) ValidateEnumValue() (bool, error)
type ListScriptsResponse
    func (response ListScriptsResponse) HTTPResponse() *http.Response
    func (response ListScriptsResponse) String() string
type ListScriptsSortByEnum
    func GetListScriptsSortByEnumValues() []ListScriptsSortByEnum
    func GetMappingListScriptsSortByEnum(val string) (ListScriptsSortByEnum, bool)
type ListScriptsSortOrderEnum
    func GetListScriptsSortOrderEnumValues() []ListScriptsSortOrderEnum
    func GetMappingListScriptsSortOrderEnum(val string) (ListScriptsSortOrderEnum, bool)
type MaintenanceWindowSchedule
    func (m MaintenanceWindowSchedule) String() string
    func (m MaintenanceWindowSchedule) ValidateEnumValue() (bool, error)
type Monitor
    func (m Monitor) String() string
    func (m *Monitor) UnmarshalJSON(data []byte) (e error)
    func (m Monitor) ValidateEnumValue() (bool, error)
type MonitorCollection
    func (m MonitorCollection) String() string
    func (m MonitorCollection) ValidateEnumValue() (bool, error)
type MonitorConfiguration
type MonitorConfigurationConfigTypeEnum
    func GetMappingMonitorConfigurationConfigTypeEnum(val string) (MonitorConfigurationConfigTypeEnum, bool)
    func GetMonitorConfigurationConfigTypeEnumValues() []MonitorConfigurationConfigTypeEnum
type MonitorResult
    func (m MonitorResult) String() string
    func (m MonitorResult) ValidateEnumValue() (bool, error)
type MonitorResultData
    func (m MonitorResultData) String() string
    func (m MonitorResultData) ValidateEnumValue() (bool, error)
type MonitorScriptParameter
    func (m MonitorScriptParameter) String() string
    func (m MonitorScriptParameter) ValidateEnumValue() (bool, error)
type MonitorScriptParameterInfo
    func (m MonitorScriptParameterInfo) String() string
    func (m MonitorScriptParameterInfo) ValidateEnumValue() (bool, error)
type MonitorStatusCountMap
    func (m MonitorStatusCountMap) String() string
    func (m MonitorStatusCountMap) ValidateEnumValue() (bool, error)
type MonitorStatusEnum
    func GetMappingMonitorStatusEnum(val string) (MonitorStatusEnum, bool)
    func GetMonitorStatusEnumValues() []MonitorStatusEnum
type MonitorSummary
    func (m MonitorSummary) String() string
    func (m MonitorSummary) ValidateEnumValue() (bool, error)
type MonitorTypesEnum
    func GetMappingMonitorTypesEnum(val string) (MonitorTypesEnum, bool)
    func GetMonitorTypesEnumValues() []MonitorTypesEnum
type NetworkConfiguration
    func (m NetworkConfiguration) String() string
    func (m NetworkConfiguration) ValidateEnumValue() (bool, error)
type NetworkMonitorConfiguration
    func (m NetworkMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
    func (m NetworkMonitorConfiguration) GetIsFailureRetried() *bool
    func (m NetworkMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m NetworkMonitorConfiguration) String() string
    func (m NetworkMonitorConfiguration) ValidateEnumValue() (bool, error)
type Node
    func (m Node) String() string
    func (m Node) ValidateEnumValue() (bool, error)
type NodeTypeEnum
    func GetMappingNodeTypeEnum(val string) (NodeTypeEnum, bool)
    func GetNodeTypeEnumValues() []NodeTypeEnum
type OAuthSchemesEnum
    func GetMappingOAuthSchemesEnum(val string) (OAuthSchemesEnum, bool)
    func GetOAuthSchemesEnumValues() []OAuthSchemesEnum
type OracleRmStack
    func (m OracleRmStack) GetDvpVersion() *string
    func (m OracleRmStack) MarshalJSON() (buff []byte, e error)
    func (m OracleRmStack) String() string
    func (m OracleRmStack) ValidateEnumValue() (bool, error)
type PrivateKey
    func (m PrivateKey) String() string
    func (m PrivateKey) ValidateEnumValue() (bool, error)
type ProbeModeEnum
    func GetMappingProbeModeEnum(val string) (ProbeModeEnum, bool)
    func GetProbeModeEnumValues() []ProbeModeEnum
type ProtocolEnum
    func GetMappingProtocolEnum(val string) (ProtocolEnum, bool)
    func GetProtocolEnumValues() []ProtocolEnum
type PublicVantagePointCollection
    func (m PublicVantagePointCollection) String() string
    func (m PublicVantagePointCollection) ValidateEnumValue() (bool, error)
type PublicVantagePointSummary
    func (m PublicVantagePointSummary) String() string
    func (m PublicVantagePointSummary) ValidateEnumValue() (bool, error)
type RequestAuthenticationDetails
    func (m RequestAuthenticationDetails) String() string
    func (m RequestAuthenticationDetails) ValidateEnumValue() (bool, error)
type RequestAuthenticationSchemesEnum
    func GetMappingRequestAuthenticationSchemesEnum(val string) (RequestAuthenticationSchemesEnum, bool)
    func GetRequestAuthenticationSchemesEnumValues() []RequestAuthenticationSchemesEnum
type RequestAuthenticationSchemesForScriptedRestEnum
    func GetMappingRequestAuthenticationSchemesForScriptedRestEnum(val string) (RequestAuthenticationSchemesForScriptedRestEnum, bool)
    func GetRequestAuthenticationSchemesForScriptedRestEnumValues() []RequestAuthenticationSchemesForScriptedRestEnum
type RequestMethodsEnum
    func GetMappingRequestMethodsEnum(val string) (RequestMethodsEnum, bool)
    func GetRequestMethodsEnumValues() []RequestMethodsEnum
type RequestQueryParam
    func (m RequestQueryParam) String() string
    func (m RequestQueryParam) ValidateEnumValue() (bool, error)
type RestMonitorConfiguration
    func (m RestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
    func (m RestMonitorConfiguration) GetIsFailureRetried() *bool
    func (m RestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m RestMonitorConfiguration) String() string
    func (m RestMonitorConfiguration) ValidateEnumValue() (bool, error)
type SchedulingPolicyEnum
    func GetMappingSchedulingPolicyEnum(val string) (SchedulingPolicyEnum, bool)
    func GetSchedulingPolicyEnumValues() []SchedulingPolicyEnum
type Script
    func (m Script) String() string
    func (m Script) ValidateEnumValue() (bool, error)
type ScriptCollection
    func (m ScriptCollection) String() string
    func (m ScriptCollection) ValidateEnumValue() (bool, error)
type ScriptParameter
    func (m ScriptParameter) String() string
    func (m ScriptParameter) ValidateEnumValue() (bool, error)
type ScriptParameterInfo
    func (m ScriptParameterInfo) String() string
    func (m ScriptParameterInfo) ValidateEnumValue() (bool, error)
type ScriptSummary
    func (m ScriptSummary) String() string
    func (m ScriptSummary) ValidateEnumValue() (bool, error)
type ScriptedBrowserMonitorConfiguration
    func (m ScriptedBrowserMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
    func (m ScriptedBrowserMonitorConfiguration) GetIsFailureRetried() *bool
    func (m ScriptedBrowserMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m ScriptedBrowserMonitorConfiguration) String() string
    func (m ScriptedBrowserMonitorConfiguration) ValidateEnumValue() (bool, error)
type ScriptedRestMonitorConfiguration
    func (m ScriptedRestMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration
    func (m ScriptedRestMonitorConfiguration) GetIsFailureRetried() *bool
    func (m ScriptedRestMonitorConfiguration) MarshalJSON() (buff []byte, e error)
    func (m ScriptedRestMonitorConfiguration) String() string
    func (m ScriptedRestMonitorConfiguration) ValidateEnumValue() (bool, error)
type SortOrdersEnum
    func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
    func GetSortOrdersEnumValues() []SortOrdersEnum
type UpdateDedicatedVantagePointDetails
    func (m UpdateDedicatedVantagePointDetails) String() string
    func (m *UpdateDedicatedVantagePointDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateDedicatedVantagePointDetails) ValidateEnumValue() (bool, error)
type UpdateDedicatedVantagePointRequest
    func (request UpdateDedicatedVantagePointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateDedicatedVantagePointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateDedicatedVantagePointRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDedicatedVantagePointRequest) String() string
    func (request UpdateDedicatedVantagePointRequest) ValidateEnumValue() (bool, error)
type UpdateDedicatedVantagePointResponse
    func (response UpdateDedicatedVantagePointResponse) HTTPResponse() *http.Response
    func (response UpdateDedicatedVantagePointResponse) String() string
type UpdateMonitorDetails
    func (m UpdateMonitorDetails) String() string
    func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateMonitorDetails) ValidateEnumValue() (bool, error)
type UpdateMonitorRequest
    func (request UpdateMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMonitorRequest) String() string
    func (request UpdateMonitorRequest) ValidateEnumValue() (bool, error)
type UpdateMonitorResponse
    func (response UpdateMonitorResponse) HTTPResponse() *http.Response
    func (response UpdateMonitorResponse) String() string
type UpdateScriptDetails
    func (m UpdateScriptDetails) String() string
    func (m UpdateScriptDetails) ValidateEnumValue() (bool, error)
type UpdateScriptRequest
    func (request UpdateScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateScriptRequest) String() string
    func (request UpdateScriptRequest) ValidateEnumValue() (bool, error)
type UpdateScriptResponse
    func (response UpdateScriptResponse) HTTPResponse() *http.Response
    func (response UpdateScriptResponse) String() string
type VantagePointExecution
    func (m VantagePointExecution) String() string
    func (m VantagePointExecution) ValidateEnumValue() (bool, error)
type VantagePointInfo
    func (m VantagePointInfo) String() string
    func (m VantagePointInfo) ValidateEnumValue() (bool, error)
type VantagePointNode
    func (m VantagePointNode) String() string
    func (m VantagePointNode) ValidateEnumValue() (bool, error)
type VerifyText
    func (m VerifyText) String() string
    func (m VerifyText) ValidateEnumValue() (bool, error)

Package files

aggregate_network_data_details.go aggregate_network_data_request_response.go aggregated_network_data.go aggregated_network_data_result.go apmsynthetics_apmsynthetic_client.go availability_configuration.go browser_monitor_configuration.go client_certificate.go client_certificate_details.go content_types.go create_dedicated_vantage_point_details.go create_dedicated_vantage_point_request_response.go create_monitor_details.go create_monitor_request_response.go create_script_details.go create_script_request_response.go dedicated_vantage_point.go dedicated_vantage_point_collection.go dedicated_vantage_point_status.go dedicated_vantage_point_summary.go delete_dedicated_vantage_point_request_response.go delete_monitor_request_response.go delete_script_request_response.go dns_configuration.go dvp_stack_details.go geo_summary.go get_dedicated_vantage_point_request_response.go get_monitor_request_response.go get_monitor_result_request_response.go get_script_request_response.go header.go link.go list_dedicated_vantage_points_request_response.go list_monitors_request_response.go list_public_vantage_points_request_response.go list_scripts_request_response.go maintenance_window_schedule.go monitor.go monitor_collection.go monitor_configuration.go monitor_result.go monitor_result_data.go monitor_script_parameter.go monitor_script_parameter_info.go monitor_status.go monitor_status_count_map.go monitor_summary.go monitor_types.go network_configuration.go network_monitor_configuration.go node.go o_auth_schemes.go oracle_rm_stack.go private_key.go probe_mode.go protocol.go public_vantage_point_collection.go public_vantage_point_summary.go request_authentication_details.go request_authentication_schemes.go request_authentication_schemes_for_scripted_rest.go request_methods.go request_query_param.go rest_monitor_configuration.go scheduling_policy.go script.go script_collection.go script_parameter.go script_parameter_info.go script_summary.go scripted_browser_monitor_configuration.go scripted_rest_monitor_configuration.go sort_orders.go update_dedicated_vantage_point_details.go update_dedicated_vantage_point_request_response.go update_monitor_details.go update_monitor_request_response.go update_script_details.go update_script_request_response.go vantage_point_execution.go vantage_point_info.go vantage_point_node.go verify_text.go

func GetAggregatedNetworkDataResultStateEnumStringValues

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 GetDedicatedVantagePointStatusEnumStringValues

func GetDedicatedVantagePointStatusEnumStringValues() []string

GetDedicatedVantagePointStatusEnumStringValues Enumerates the set of values in String for DedicatedVantagePointStatusEnum

func GetDvpStackDetailsDvpStackTypeEnumStringValues

func GetDvpStackDetailsDvpStackTypeEnumStringValues() []string

GetDvpStackDetailsDvpStackTypeEnumStringValues Enumerates the set of values in String for DvpStackDetailsDvpStackTypeEnum

func GetListDedicatedVantagePointsSortByEnumStringValues

func GetListDedicatedVantagePointsSortByEnumStringValues() []string

GetListDedicatedVantagePointsSortByEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortByEnum

func GetListDedicatedVantagePointsSortOrderEnumStringValues

func GetListDedicatedVantagePointsSortOrderEnumStringValues() []string

GetListDedicatedVantagePointsSortOrderEnumStringValues Enumerates the set of values in String for ListDedicatedVantagePointsSortOrderEnum

func GetListDedicatedVantagePointsStatusEnumStringValues

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

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

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

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

type AggregateNetworkDataDetails

AggregateNetworkDataDetails Details of the vantage point and corresponding execution times.

type AggregateNetworkDataDetails struct {

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

func (AggregateNetworkDataDetails) String

func (m AggregateNetworkDataDetails) String() string

func (AggregateNetworkDataDetails) ValidateEnumValue

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

AggregateNetworkDataRequest wrapper for the AggregateNetworkData operation

# See also

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

type AggregateNetworkDataRequest struct {

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

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

    // Details of the vantage point and corresponding execution times.
    AggregateNetworkDataDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (AggregateNetworkDataRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AggregateNetworkDataRequest) HTTPRequest

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

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

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

func (AggregateNetworkDataRequest) String

func (request AggregateNetworkDataRequest) String() string

func (AggregateNetworkDataRequest) ValidateEnumValue

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

AggregateNetworkDataResponse wrapper for the AggregateNetworkData operation

type AggregateNetworkDataResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AggregatedNetworkDataResult instance
    AggregatedNetworkDataResult `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (AggregateNetworkDataResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AggregateNetworkDataResponse) String

func (response AggregateNetworkDataResponse) String() string

type AggregatedNetworkData

AggregatedNetworkData Details of the aggregated network data.

type AggregatedNetworkData struct {

    // Status of the aggregated network data result.
    ResultState AggregatedNetworkDataResultStateEnum `mandatory:"true" json:"resultState"`

    // List of vantage point nodes.
    VantagePointNodes []VantagePointNode `mandatory:"false" json:"vantagePointNodes"`

    // An array of node arrays where each internal array corresponds to nodes at one level.
    NodesByLevel [][]Node `mandatory:"false" json:"nodesByLevel"`

    // Map of link objects.
    Links map[string]Link `mandatory:"false" json:"links"`

    // String containing error details.
    ErrorDetails *string `mandatory:"false" json:"errorDetails"`
}

func (AggregatedNetworkData) String

func (m AggregatedNetworkData) String() string

func (AggregatedNetworkData) ValidateEnumValue

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

AggregatedNetworkDataResult The aggregated network results.

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

func (AggregatedNetworkDataResult) String

func (m AggregatedNetworkDataResult) String() string

func (AggregatedNetworkDataResult) ValidateEnumValue

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

AggregatedNetworkDataResultStateEnum Enum with underlying type: string

type AggregatedNetworkDataResultStateEnum string

Set of constants representing the allowable values for AggregatedNetworkDataResultStateEnum

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

func GetAggregatedNetworkDataResultStateEnumValues

func GetAggregatedNetworkDataResultStateEnumValues() []AggregatedNetworkDataResultStateEnum

GetAggregatedNetworkDataResultStateEnumValues Enumerates the set of values for AggregatedNetworkDataResultStateEnum

func GetMappingAggregatedNetworkDataResultStateEnum

func GetMappingAggregatedNetworkDataResultStateEnum(val string) (AggregatedNetworkDataResultStateEnum, bool)

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

type ApmSyntheticClient

ApmSyntheticClient a client for ApmSynthetic

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

func NewApmSyntheticClientWithConfigurationProvider

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

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

func NewApmSyntheticClientWithOboToken

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

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

as well as reading the region

func (ApmSyntheticClient) AggregateNetworkData

func (client ApmSyntheticClient) AggregateNetworkData(ctx context.Context, request AggregateNetworkDataRequest) (response AggregateNetworkDataResponse, err error)

AggregateNetworkData Gets aggregated network data for given executions.

# See also

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

func (*ApmSyntheticClient) ConfigurationProvider

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

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

func (ApmSyntheticClient) CreateDedicatedVantagePoint

func (client ApmSyntheticClient) CreateDedicatedVantagePoint(ctx context.Context, request CreateDedicatedVantagePointRequest) (response CreateDedicatedVantagePointResponse, err error)

CreateDedicatedVantagePoint Registers a new dedicated vantage point.

# See also

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

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

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

func (ApmSyntheticClient) DeleteDedicatedVantagePoint

func (client ApmSyntheticClient) DeleteDedicatedVantagePoint(ctx context.Context, request DeleteDedicatedVantagePointRequest) (response DeleteDedicatedVantagePointResponse, err error)

DeleteDedicatedVantagePoint Deregisters the specified dedicated vantage point.

# See also

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

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

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

func (ApmSyntheticClient) GetDedicatedVantagePoint

func (client ApmSyntheticClient) GetDedicatedVantagePoint(ctx context.Context, request GetDedicatedVantagePointRequest) (response GetDedicatedVantagePointResponse, err error)

GetDedicatedVantagePoint Gets the details of the dedicated vantage point identified by the OCID.

# See also

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

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

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

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

func (ApmSyntheticClient) ListDedicatedVantagePoints

func (client ApmSyntheticClient) ListDedicatedVantagePoints(ctx context.Context, request ListDedicatedVantagePointsRequest) (response ListDedicatedVantagePointsResponse, err error)

ListDedicatedVantagePoints Returns a list of dedicated vantage points.

# See also

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

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

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

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

func (*ApmSyntheticClient) SetRegion

func (client *ApmSyntheticClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApmSyntheticClient) UpdateDedicatedVantagePoint

func (client ApmSyntheticClient) UpdateDedicatedVantagePoint(ctx context.Context, request UpdateDedicatedVantagePointRequest) (response UpdateDedicatedVantagePointResponse, err error)

UpdateDedicatedVantagePoint Updates the dedicated vantage point.

# See also

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

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

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

type AvailabilityConfiguration

AvailabilityConfiguration Monitor availability configuration details.

type AvailabilityConfiguration struct {

    // Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE.
    MaxAllowedFailuresPerInterval *int `mandatory:"false" json:"maxAllowedFailuresPerInterval"`

    // Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations.
    MinAllowedRunsPerInterval *int `mandatory:"false" json:"minAllowedRunsPerInterval"`
}

func (AvailabilityConfiguration) String

func (m AvailabilityConfiguration) String() string

func (AvailabilityConfiguration) ValidateEnumValue

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 BrowserMonitorConfiguration

BrowserMonitorConfiguration Configuration details for the BROWSER monitor type.

type BrowserMonitorConfiguration struct {

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

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

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

    // If disabled, auto snapshots are not collected.
    IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"`

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

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

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

func (BrowserMonitorConfiguration) GetDnsConfiguration

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 (m BrowserMonitorConfiguration) String() 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

ClientCertificate Client certificate in PEM format.

type ClientCertificate struct {

    // Name of the certificate file. The name should not contain any confidential information.
    FileName *string `mandatory:"true" json:"fileName"`

    // Content of the client certificate file.
    Content *string `mandatory:"true" json:"content"`
}

func (ClientCertificate) String

func (m ClientCertificate) String() string

func (ClientCertificate) ValidateEnumValue

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

ClientCertificateDetails Details for client certificate.

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

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

func (ClientCertificateDetails) String

func (m ClientCertificateDetails) String() string

func (ClientCertificateDetails) ValidateEnumValue

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

ContentTypesEnum Enum with underlying type: string

type ContentTypesEnum string

Set of constants representing the allowable values for ContentTypesEnum

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

func GetContentTypesEnumValues

func GetContentTypesEnumValues() []ContentTypesEnum

GetContentTypesEnumValues Enumerates the set of values for ContentTypesEnum

func GetMappingContentTypesEnum

func GetMappingContentTypesEnum(val string) (ContentTypesEnum, bool)

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

type CreateDedicatedVantagePointDetails

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

type CreateDedicatedVantagePointDetails struct {

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

    DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"`

    // Name of the region.
    Region *string `mandatory:"true" json:"region"`

    // Status of the dedicated vantage point.
    Status DedicatedVantagePointStatusEnum `mandatory:"false" json:"status,omitempty"`

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

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

func (CreateDedicatedVantagePointDetails) String

func (m CreateDedicatedVantagePointDetails) String() string

func (*CreateDedicatedVantagePointDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateDedicatedVantagePointDetails) ValidateEnumValue

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

CreateDedicatedVantagePointRequest wrapper for the CreateDedicatedVantagePoint operation

# See also

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

type CreateDedicatedVantagePointRequest struct {

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

    // The configuration details for registering a dedicated vantage point.
    CreateDedicatedVantagePointDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (CreateDedicatedVantagePointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDedicatedVantagePointRequest) HTTPRequest

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

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

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

func (CreateDedicatedVantagePointRequest) String

func (request CreateDedicatedVantagePointRequest) String() string

func (CreateDedicatedVantagePointRequest) ValidateEnumValue

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

CreateDedicatedVantagePointResponse wrapper for the CreateDedicatedVantagePoint operation

type CreateDedicatedVantagePointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DedicatedVantagePoint instance
    DedicatedVantagePoint `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (CreateDedicatedVantagePointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateDedicatedVantagePointResponse) String

func (response CreateDedicatedVantagePointResponse) String() string

type CreateMonitorDetails

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

type CreateMonitorDetails struct {

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

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

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

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

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

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

    // If runOnce is enabled, then the monitor will run once.
    IsRunOnce *bool `mandatory:"false" json:"isRunOnce"`

    // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors.
    // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
    Target *string `mandatory:"false" json:"target"`

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

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

    AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"`

    MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"`

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

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

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

    // Scheduling policy to decide the distribution of monitor executions on vantage points.
    SchedulingPolicy SchedulingPolicyEnum `mandatory:"false" json:"schedulingPolicy,omitempty"`

    // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).
    BatchIntervalInSeconds *int `mandatory:"false" json:"batchIntervalInSeconds"`
}

func (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

CreateMonitorRequest wrapper for the CreateMonitor operation

# See also

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

type CreateMonitorRequest struct {

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

    // The configuration details for creating a monitor.
    CreateMonitorDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (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

CreateMonitorResponse wrapper for the CreateMonitor operation

type CreateMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (CreateMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMonitorResponse) String

func (response CreateMonitorResponse) String() string

type CreateScriptDetails

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

type CreateScriptDetails struct {

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

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

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

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

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

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

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

func (CreateScriptDetails) String

func (m CreateScriptDetails) String() string

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

CreateScriptRequest wrapper for the CreateScript operation

# See also

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

type CreateScriptRequest struct {

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

    // The configuration details for creating a script.
    CreateScriptDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

func (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

CreateScriptResponse wrapper for the CreateScript operation

type CreateScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (CreateScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateScriptResponse) String

func (response CreateScriptResponse) String() string

type DedicatedVantagePoint

DedicatedVantagePoint The information about a dedicated vantage point.

type DedicatedVantagePoint struct {

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

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

    // Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    Name *string `mandatory:"true" json:"name"`

    // Status of the dedicated vantage point.
    Status DedicatedVantagePointStatusEnum `mandatory:"true" json:"status"`

    DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"`

    // Name of the region.
    Region *string `mandatory:"true" json:"region"`

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

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

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

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

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

func (DedicatedVantagePoint) String

func (m DedicatedVantagePoint) String() string

func (*DedicatedVantagePoint) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (DedicatedVantagePoint) ValidateEnumValue

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

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

type DedicatedVantagePointCollection struct {

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

func (DedicatedVantagePointCollection) String

func (m DedicatedVantagePointCollection) String() string

func (DedicatedVantagePointCollection) ValidateEnumValue

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

DedicatedVantagePointStatusEnum Enum with underlying type: string

type DedicatedVantagePointStatusEnum string

Set of constants representing the allowable values for DedicatedVantagePointStatusEnum

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

func GetDedicatedVantagePointStatusEnumValues

func GetDedicatedVantagePointStatusEnumValues() []DedicatedVantagePointStatusEnum

GetDedicatedVantagePointStatusEnumValues Enumerates the set of values for DedicatedVantagePointStatusEnum

func GetMappingDedicatedVantagePointStatusEnum

func GetMappingDedicatedVantagePointStatusEnum(val string) (DedicatedVantagePointStatusEnum, bool)

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

type DedicatedVantagePointSummary

DedicatedVantagePointSummary Information about dedicated vantage points.

type DedicatedVantagePointSummary struct {

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

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

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

    // Status of the dedicated vantage point.
    Status DedicatedVantagePointStatusEnum `mandatory:"true" json:"status"`

    DvpStackDetails DvpStackDetails `mandatory:"true" json:"dvpStackDetails"`

    // Name of the region.
    Region *string `mandatory:"true" json:"region"`

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

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

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

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

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

func (DedicatedVantagePointSummary) String

func (m DedicatedVantagePointSummary) String() string

func (*DedicatedVantagePointSummary) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (DedicatedVantagePointSummary) ValidateEnumValue

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

DeleteDedicatedVantagePointRequest wrapper for the DeleteDedicatedVantagePoint operation

# See also

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

type DeleteDedicatedVantagePointRequest struct {

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

    // The OCID of the dedicated vantage point.
    DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (DeleteDedicatedVantagePointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDedicatedVantagePointRequest) HTTPRequest

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

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

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

func (DeleteDedicatedVantagePointRequest) String

func (request DeleteDedicatedVantagePointRequest) String() string

func (DeleteDedicatedVantagePointRequest) ValidateEnumValue

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

DeleteDedicatedVantagePointResponse wrapper for the DeleteDedicatedVantagePoint operation

type DeleteDedicatedVantagePointResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteDedicatedVantagePointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDedicatedVantagePointResponse) String

func (response DeleteDedicatedVantagePointResponse) String() string

type DeleteMonitorRequest

DeleteMonitorRequest wrapper for the DeleteMonitor operation

# See also

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

type DeleteMonitorRequest struct {

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

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

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (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

DeleteMonitorResponse wrapper for the DeleteMonitor operation

type DeleteMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMonitorResponse) String

func (response DeleteMonitorResponse) String() string

type DeleteScriptRequest

DeleteScriptRequest wrapper for the DeleteScript operation

# See also

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

type DeleteScriptRequest struct {

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

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

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (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

DeleteScriptResponse wrapper for the DeleteScript operation

type DeleteScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteScriptResponse) String

func (response DeleteScriptResponse) String() string

type DnsConfiguration

DnsConfiguration Information about the DNS settings.

type DnsConfiguration struct {

    // If isOverrideDns is true, then DNS settings will be overridden.
    IsOverrideDns *bool `mandatory:"false" json:"isOverrideDns"`

    // Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
    OverrideDnsIp *string `mandatory:"false" json:"overrideDnsIp"`
}

func (DnsConfiguration) String

func (m DnsConfiguration) String() string

func (DnsConfiguration) ValidateEnumValue

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 DvpStackDetails

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

type DvpStackDetails interface {

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

type DvpStackDetailsDvpStackTypeEnum

DvpStackDetailsDvpStackTypeEnum Enum with underlying type: string

type DvpStackDetailsDvpStackTypeEnum string

Set of constants representing the allowable values for DvpStackDetailsDvpStackTypeEnum

const (
    DvpStackDetailsDvpStackTypeOracleRmStack DvpStackDetailsDvpStackTypeEnum = "ORACLE_RM_STACK"
)

func GetDvpStackDetailsDvpStackTypeEnumValues

func GetDvpStackDetailsDvpStackTypeEnumValues() []DvpStackDetailsDvpStackTypeEnum

GetDvpStackDetailsDvpStackTypeEnumValues Enumerates the set of values for DvpStackDetailsDvpStackTypeEnum

func GetMappingDvpStackDetailsDvpStackTypeEnum

func GetMappingDvpStackDetailsDvpStackTypeEnum(val string) (DvpStackDetailsDvpStackTypeEnum, bool)

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

type GeoSummary

GeoSummary Geographic summary of a vantage point.

type GeoSummary struct {

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

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

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

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

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

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

func (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

GetDedicatedVantagePointRequest wrapper for the GetDedicatedVantagePoint operation

# See also

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

type GetDedicatedVantagePointRequest struct {

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

    // The OCID of the dedicated vantage point.
    DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"`

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

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

func (GetDedicatedVantagePointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetDedicatedVantagePointRequest) HTTPRequest

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

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

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

func (GetDedicatedVantagePointRequest) String

func (request GetDedicatedVantagePointRequest) String() string

func (GetDedicatedVantagePointRequest) ValidateEnumValue

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

GetDedicatedVantagePointResponse wrapper for the GetDedicatedVantagePoint operation

type GetDedicatedVantagePointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DedicatedVantagePoint instance
    DedicatedVantagePoint `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (GetDedicatedVantagePointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDedicatedVantagePointResponse) String

func (response GetDedicatedVantagePointResponse) String() string

type GetMonitorRequest

GetMonitorRequest wrapper for the GetMonitor operation

# See also

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

type GetMonitorRequest struct {

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

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

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

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

func (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

GetMonitorResponse wrapper for the GetMonitor operation

type GetMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (GetMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitorResponse) String

func (response GetMonitorResponse) String() string

type GetMonitorResultRequest

GetMonitorResultRequest wrapper for the GetMonitorResult operation

# See also

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

type GetMonitorResultRequest struct {

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

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

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

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

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

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

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

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

func (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

GetMonitorResultResponse wrapper for the GetMonitorResult operation

type GetMonitorResultResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MonitorResult instance
    MonitorResult `presentIn:"body"`

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

func (GetMonitorResultResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMonitorResultResponse) String

func (response GetMonitorResultResponse) String() string

type GetScriptRequest

GetScriptRequest wrapper for the GetScript operation

# See also

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

type GetScriptRequest struct {

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

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

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

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

func (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

GetScriptResponse wrapper for the GetScript operation

type GetScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (GetScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetScriptResponse) String

func (response GetScriptResponse) String() string

Header Details of the header.

type Header struct {

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

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

func (Header) String

func (m Header) String() string

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

Link Details of the link between two nodes.

type Link struct {

    // ID of the link.
    Id *string `mandatory:"true" json:"id"`

    // ID of the source node.
    Source *string `mandatory:"false" json:"source"`

    // ID of the destination node.
    Destination *string `mandatory:"false" json:"destination"`

    // Number of times the link is repeated.
    RepeatCount *int `mandatory:"false" json:"repeatCount"`

    // Average packet loss.
    ForwardingLoss *float64 `mandatory:"false" json:"forwardingLoss"`

    // Difference of the packet response time between source and destination nodes, in milliseconds.
    DelayInMilliseconds *float64 `mandatory:"false" json:"delayInMilliseconds"`

    // Minimum delay in milliseconds.
    MinDelayInMilliseconds *float64 `mandatory:"false" json:"minDelayInMilliseconds"`

    // Maximum delay in milliseconds.
    MaxDelayInMilliseconds *float64 `mandatory:"false" json:"maxDelayInMilliseconds"`

    // List of all path IDs of which this link is part of.
    Paths []string `mandatory:"false" json:"paths"`
}

func (Link) String

func (m Link) String() string

func (Link) ValidateEnumValue

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

ListDedicatedVantagePointsRequest wrapper for the ListDedicatedVantagePoints operation

# See also

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

type ListDedicatedVantagePointsRequest struct {

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

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

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

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

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

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

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

    // A filter to return only the dedicated vantage points that match a given status.
    Status ListDedicatedVantagePointsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

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

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

func (ListDedicatedVantagePointsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListDedicatedVantagePointsRequest) HTTPRequest

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

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

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

func (ListDedicatedVantagePointsRequest) String

func (request ListDedicatedVantagePointsRequest) String() string

func (ListDedicatedVantagePointsRequest) ValidateEnumValue

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

ListDedicatedVantagePointsResponse wrapper for the ListDedicatedVantagePoints operation

type ListDedicatedVantagePointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListDedicatedVantagePointsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListDedicatedVantagePointsResponse) String

func (response ListDedicatedVantagePointsResponse) String() string

type ListDedicatedVantagePointsSortByEnum

ListDedicatedVantagePointsSortByEnum Enum with underlying type: string

type ListDedicatedVantagePointsSortByEnum string

Set of constants representing the allowable values for ListDedicatedVantagePointsSortByEnum

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

func GetListDedicatedVantagePointsSortByEnumValues

func GetListDedicatedVantagePointsSortByEnumValues() []ListDedicatedVantagePointsSortByEnum

GetListDedicatedVantagePointsSortByEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortByEnum

func GetMappingListDedicatedVantagePointsSortByEnum

func GetMappingListDedicatedVantagePointsSortByEnum(val string) (ListDedicatedVantagePointsSortByEnum, bool)

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

type ListDedicatedVantagePointsSortOrderEnum

ListDedicatedVantagePointsSortOrderEnum Enum with underlying type: string

type ListDedicatedVantagePointsSortOrderEnum string

Set of constants representing the allowable values for ListDedicatedVantagePointsSortOrderEnum

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

func GetListDedicatedVantagePointsSortOrderEnumValues

func GetListDedicatedVantagePointsSortOrderEnumValues() []ListDedicatedVantagePointsSortOrderEnum

GetListDedicatedVantagePointsSortOrderEnumValues Enumerates the set of values for ListDedicatedVantagePointsSortOrderEnum

func GetMappingListDedicatedVantagePointsSortOrderEnum

func GetMappingListDedicatedVantagePointsSortOrderEnum(val string) (ListDedicatedVantagePointsSortOrderEnum, bool)

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

type ListDedicatedVantagePointsStatusEnum

ListDedicatedVantagePointsStatusEnum Enum with underlying type: string

type ListDedicatedVantagePointsStatusEnum string

Set of constants representing the allowable values for ListDedicatedVantagePointsStatusEnum

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

func GetListDedicatedVantagePointsStatusEnumValues

func GetListDedicatedVantagePointsStatusEnumValues() []ListDedicatedVantagePointsStatusEnum

GetListDedicatedVantagePointsStatusEnumValues Enumerates the set of values for ListDedicatedVantagePointsStatusEnum

func GetMappingListDedicatedVantagePointsStatusEnum

func GetMappingListDedicatedVantagePointsStatusEnum(val string) (ListDedicatedVantagePointsStatusEnum, bool)

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

type ListMonitorsRequest

ListMonitorsRequest wrapper for the ListMonitors operation

# See also

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

type ListMonitorsRequest struct {

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

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

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

    // The name of the public or dedicated vantage point.
    VantagePoint *string `mandatory:"false" contributesTo:"query" name:"vantagePoint"`

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

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

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

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

    // A filter to return the monitors whose maintenance window is currently active.
    IsMaintenanceWindowActive *bool `mandatory:"false" contributesTo:"query" name:"isMaintenanceWindowActive"`

    // A filter to return the monitors whose maintenance window is set.
    IsMaintenanceWindowSet *bool `mandatory:"false" contributesTo:"query" name:"isMaintenanceWindowSet"`

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

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

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

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

func (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

ListMonitorsResponse wrapper for the ListMonitors operation

type ListMonitorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListMonitorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMonitorsResponse) String

func (response ListMonitorsResponse) String() string

type ListMonitorsSortByEnum

ListMonitorsSortByEnum Enum with underlying type: string

type ListMonitorsSortByEnum string

Set of constants representing the allowable values for ListMonitorsSortByEnum

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

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

ListMonitorsSortOrderEnum Enum with underlying type: string

type ListMonitorsSortOrderEnum string

Set of constants representing the allowable values for ListMonitorsSortOrderEnum

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

func GetListMonitorsSortOrderEnumValues

func GetListMonitorsSortOrderEnumValues() []ListMonitorsSortOrderEnum

GetListMonitorsSortOrderEnumValues Enumerates the set of values for ListMonitorsSortOrderEnum

func GetMappingListMonitorsSortOrderEnum

func GetMappingListMonitorsSortOrderEnum(val string) (ListMonitorsSortOrderEnum, bool)

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

type ListMonitorsStatusEnum

ListMonitorsStatusEnum Enum with underlying type: string

type ListMonitorsStatusEnum string

Set of constants representing the allowable values for ListMonitorsStatusEnum

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

func GetListMonitorsStatusEnumValues

func GetListMonitorsStatusEnumValues() []ListMonitorsStatusEnum

GetListMonitorsStatusEnumValues Enumerates the set of values for ListMonitorsStatusEnum

func GetMappingListMonitorsStatusEnum

func GetMappingListMonitorsStatusEnum(val string) (ListMonitorsStatusEnum, bool)

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

type ListPublicVantagePointsRequest

ListPublicVantagePointsRequest wrapper for the ListPublicVantagePoints operation

# See also

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

type ListPublicVantagePointsRequest struct {

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

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

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

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

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

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

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

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

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

func (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

ListPublicVantagePointsResponse wrapper for the ListPublicVantagePoints operation

type ListPublicVantagePointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListPublicVantagePointsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPublicVantagePointsResponse) String

func (response ListPublicVantagePointsResponse) String() string

type ListPublicVantagePointsSortByEnum

ListPublicVantagePointsSortByEnum Enum with underlying type: string

type ListPublicVantagePointsSortByEnum string

Set of constants representing the allowable values for ListPublicVantagePointsSortByEnum

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

func GetListPublicVantagePointsSortByEnumValues

func GetListPublicVantagePointsSortByEnumValues() []ListPublicVantagePointsSortByEnum

GetListPublicVantagePointsSortByEnumValues Enumerates the set of values for ListPublicVantagePointsSortByEnum

func GetMappingListPublicVantagePointsSortByEnum

func GetMappingListPublicVantagePointsSortByEnum(val string) (ListPublicVantagePointsSortByEnum, bool)

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

type ListPublicVantagePointsSortOrderEnum

ListPublicVantagePointsSortOrderEnum Enum with underlying type: string

type ListPublicVantagePointsSortOrderEnum string

Set of constants representing the allowable values for ListPublicVantagePointsSortOrderEnum

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

func GetListPublicVantagePointsSortOrderEnumValues

func GetListPublicVantagePointsSortOrderEnumValues() []ListPublicVantagePointsSortOrderEnum

GetListPublicVantagePointsSortOrderEnumValues Enumerates the set of values for ListPublicVantagePointsSortOrderEnum

func GetMappingListPublicVantagePointsSortOrderEnum

func GetMappingListPublicVantagePointsSortOrderEnum(val string) (ListPublicVantagePointsSortOrderEnum, bool)

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

type ListScriptsRequest

ListScriptsRequest wrapper for the ListScripts operation

# See also

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

type ListScriptsRequest struct {

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

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

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

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

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

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

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

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

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

func (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

ListScriptsResponse wrapper for the ListScripts operation

type ListScriptsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListScriptsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListScriptsResponse) String

func (response ListScriptsResponse) String() string

type ListScriptsSortByEnum

ListScriptsSortByEnum Enum with underlying type: string

type ListScriptsSortByEnum string

Set of constants representing the allowable values for ListScriptsSortByEnum

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

func GetListScriptsSortByEnumValues

func GetListScriptsSortByEnumValues() []ListScriptsSortByEnum

GetListScriptsSortByEnumValues Enumerates the set of values for ListScriptsSortByEnum

func GetMappingListScriptsSortByEnum

func GetMappingListScriptsSortByEnum(val string) (ListScriptsSortByEnum, bool)

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

type ListScriptsSortOrderEnum

ListScriptsSortOrderEnum Enum with underlying type: string

type ListScriptsSortOrderEnum string

Set of constants representing the allowable values for ListScriptsSortOrderEnum

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

func GetListScriptsSortOrderEnumValues

func GetListScriptsSortOrderEnumValues() []ListScriptsSortOrderEnum

GetListScriptsSortOrderEnumValues Enumerates the set of values for ListScriptsSortOrderEnum

func GetMappingListScriptsSortOrderEnum

func GetMappingListScriptsSortOrderEnum(val string) (ListScriptsSortOrderEnum, bool)

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

type MaintenanceWindowSchedule

MaintenanceWindowSchedule Details required to schedule maintenance window.

type MaintenanceWindowSchedule struct {

    // Start time of the maintenance window, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // End time of the maintenance window, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
    // Example: `2020-02-12T22:47:12.613Z`
    TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`
}

func (MaintenanceWindowSchedule) String

func (m MaintenanceWindowSchedule) String() string

func (MaintenanceWindowSchedule) ValidateEnumValue

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

Monitor The information about a monitor.

type Monitor struct {

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

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

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

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

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

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

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

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

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

    // If runOnce is enabled, then the monitor will run once.
    IsRunOnce *bool `mandatory:"true" json:"isRunOnce"`

    // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors.
    // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"`

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

    // Scheduling policy to decide the distribution of monitor executions on vantage points.
    SchedulingPolicy SchedulingPolicyEnum `mandatory:"true" json:"schedulingPolicy"`

    // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).
    BatchIntervalInSeconds *int `mandatory:"true" json:"batchIntervalInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
    Target *string `mandatory:"false" json:"target"`

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

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

    AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"`

    MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"`

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

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

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

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

func (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

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

type MonitorCollection struct {

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

func (MonitorCollection) String

func (m MonitorCollection) String() string

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

MonitorConfiguration Details of monitor configuration.

type MonitorConfiguration interface {

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

    GetDnsConfiguration() *DnsConfiguration
}

type MonitorConfigurationConfigTypeEnum

MonitorConfigurationConfigTypeEnum Enum with underlying type: string

type MonitorConfigurationConfigTypeEnum string

Set of constants representing the allowable values for MonitorConfigurationConfigTypeEnum

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

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

MonitorResult The monitor result for a specific execution.

type MonitorResult struct {

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

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

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

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

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

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

func (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

MonitorResultData Details of the monitor result data.

type MonitorResultData struct {

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

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

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

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

func (MonitorResultData) String

func (m MonitorResultData) String() string

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

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

type MonitorScriptParameter struct {

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

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

func (MonitorScriptParameter) String

func (m MonitorScriptParameter) String() string

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

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

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

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

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

func (MonitorScriptParameterInfo) String

func (m MonitorScriptParameterInfo) String() string

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

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

type MonitorStatusCountMap struct {

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

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

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

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

func (MonitorStatusCountMap) String

func (m MonitorStatusCountMap) String() string

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

MonitorStatusEnum Enum with underlying type: string

type MonitorStatusEnum string

Set of constants representing the allowable values for MonitorStatusEnum

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

func GetMappingMonitorStatusEnum

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

MonitorSummary Information about the monitor.

type MonitorSummary struct {

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

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

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

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

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

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

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

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

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
    RepeatIntervalInSeconds *int `mandatory:"true" json:"repeatIntervalInSeconds"`

    // If runOnce is enabled, then the monitor will run once.
    IsRunOnce *bool `mandatory:"true" json:"isRunOnce"`

    // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors.
    // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"true" json:"timeoutInSeconds"`

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

    // Scheduling policy to decide the distribution of monitor executions on vantage points.
    SchedulingPolicy SchedulingPolicyEnum `mandatory:"true" json:"schedulingPolicy"`

    // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).
    BatchIntervalInSeconds *int `mandatory:"true" json:"batchIntervalInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
    Target *string `mandatory:"false" json:"target"`

    MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"`

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

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

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

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

func (MonitorSummary) String

func (m MonitorSummary) String() string

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

MonitorTypesEnum Enum with underlying type: string

type MonitorTypesEnum string

Set of constants representing the allowable values for MonitorTypesEnum

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

func GetMappingMonitorTypesEnum

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

NetworkConfiguration Details of the network configuration.

type NetworkConfiguration struct {

    // Number of hops.
    NumberOfHops *int `mandatory:"false" json:"numberOfHops"`

    // Number of probes per hop.
    ProbePerHop *int `mandatory:"false" json:"probePerHop"`

    // Number of probe packets sent out simultaneously.
    TransmissionRate *int `mandatory:"false" json:"transmissionRate"`

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

    // Type of probe mode when TCP protocol is selected.
    ProbeMode ProbeModeEnum `mandatory:"false" json:"probeMode,omitempty"`
}

func (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

NetworkMonitorConfiguration Request configuration details for the NETWORK monitor type.

type NetworkMonitorConfiguration struct {
    NetworkConfiguration *NetworkConfiguration `mandatory:"true" json:"networkConfiguration"`

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

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

func (NetworkMonitorConfiguration) GetDnsConfiguration

func (m NetworkMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration

GetDnsConfiguration returns DnsConfiguration

func (NetworkMonitorConfiguration) GetIsFailureRetried

func (m NetworkMonitorConfiguration) GetIsFailureRetried() *bool

GetIsFailureRetried returns IsFailureRetried

func (NetworkMonitorConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkMonitorConfiguration) String

func (m NetworkMonitorConfiguration) String() string

func (NetworkMonitorConfiguration) ValidateEnumValue

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

Node Details of the network node.

type Node struct {

    // ID of the network node.
    Id *string `mandatory:"true" json:"id"`

    // IP address of the network node.
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // Display name of the network node.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Geographical information of the network node.
    GeoInfo *string `mandatory:"false" json:"geoInfo"`

    // Outgoing links from the network node.
    OutgoingLinks []string `mandatory:"false" json:"outgoingLinks"`

    // Number of consecutive anonymous network nodes.
    ConsecutiveAnonymousCount *int `mandatory:"false" json:"consecutiveAnonymousCount"`

    // Level of the network node.
    Level *int `mandatory:"false" json:"level"`

    // Average packet response time in milliseconds.
    AvgPacketResponseTimeInMs *float64 `mandatory:"false" json:"avgPacketResponseTimeInMs"`

    // Percentage of the average packet loss.
    AvgPacketLossPercent *float64 `mandatory:"false" json:"avgPacketLossPercent"`

    // Type of network node.
    Type NodeTypeEnum `mandatory:"false" json:"type,omitempty"`
}

func (Node) String

func (m Node) String() string

func (Node) ValidateEnumValue

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

NodeTypeEnum Enum with underlying type: string

type NodeTypeEnum string

Set of constants representing the allowable values for NodeTypeEnum

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

func GetMappingNodeTypeEnum

func GetMappingNodeTypeEnum(val string) (NodeTypeEnum, bool)

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

func GetNodeTypeEnumValues

func GetNodeTypeEnumValues() []NodeTypeEnum

GetNodeTypeEnumValues Enumerates the set of values for NodeTypeEnum

type OAuthSchemesEnum

OAuthSchemesEnum Enum with underlying type: string

type OAuthSchemesEnum string

Set of constants representing the allowable values for OAuthSchemesEnum

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

func 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 OracleRmStack

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

type OracleRmStack struct {

    // Version of the dedicated vantage point.
    DvpVersion *string `mandatory:"true" json:"dvpVersion"`

    // Stack OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point.
    DvpStackId *string `mandatory:"true" json:"dvpStackId"`

    // Stream OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point.
    DvpStreamId *string `mandatory:"true" json:"dvpStreamId"`
}

func (OracleRmStack) GetDvpVersion

func (m OracleRmStack) GetDvpVersion() *string

GetDvpVersion returns DvpVersion

func (OracleRmStack) MarshalJSON

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

MarshalJSON marshals to json representation

func (OracleRmStack) String

func (m OracleRmStack) String() string

func (OracleRmStack) ValidateEnumValue

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

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

type PrivateKey struct {

    // Name of the private key file.
    FileName *string `mandatory:"true" json:"fileName"`

    // Content of the private key file.
    Content *string `mandatory:"true" json:"content"`
}

func (PrivateKey) String

func (m PrivateKey) String() string

func (PrivateKey) ValidateEnumValue

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

ProbeModeEnum Enum with underlying type: string

type ProbeModeEnum string

Set of constants representing the allowable values for ProbeModeEnum

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

func GetMappingProbeModeEnum

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

ProtocolEnum Enum with underlying type: string

type ProtocolEnum string

Set of constants representing the allowable values for ProtocolEnum

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

func GetMappingProtocolEnum

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

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

type PublicVantagePointCollection struct {

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

func (PublicVantagePointCollection) String

func (m PublicVantagePointCollection) String() string

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

PublicVantagePointSummary Information about public vantage points.

type PublicVantagePointSummary struct {

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

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

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

func (PublicVantagePointSummary) String

func (m PublicVantagePointSummary) String() string

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

RequestAuthenticationDetails Details for request HTTP authentication.

type RequestAuthenticationDetails struct {

    // Request HTTP OAuth scheme.
    OauthScheme OAuthSchemesEnum `mandatory:"false" json:"oauthScheme,omitempty"`

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

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

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

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

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

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

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

func (RequestAuthenticationDetails) String

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

RequestAuthenticationSchemesEnum Enum with underlying type: string

type RequestAuthenticationSchemesEnum string

Set of constants representing the allowable values for RequestAuthenticationSchemesEnum

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

func GetMappingRequestAuthenticationSchemesEnum

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

RequestAuthenticationSchemesForScriptedRestEnum Enum with underlying type: string

type RequestAuthenticationSchemesForScriptedRestEnum string

Set of constants representing the allowable values for RequestAuthenticationSchemesForScriptedRestEnum

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

func GetMappingRequestAuthenticationSchemesForScriptedRestEnum

func GetMappingRequestAuthenticationSchemesForScriptedRestEnum(val string) (RequestAuthenticationSchemesForScriptedRestEnum, bool)

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

func GetRequestAuthenticationSchemesForScriptedRestEnumValues

func GetRequestAuthenticationSchemesForScriptedRestEnumValues() []RequestAuthenticationSchemesForScriptedRestEnum

GetRequestAuthenticationSchemesForScriptedRestEnumValues Enumerates the set of values for RequestAuthenticationSchemesForScriptedRestEnum

type RequestMethodsEnum

RequestMethodsEnum Enum with underlying type: string

type RequestMethodsEnum string

Set of constants representing the allowable values for RequestMethodsEnum

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

func 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

RequestQueryParam Information about request query parameters.

type RequestQueryParam struct {

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

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

func (RequestQueryParam) String

func (m RequestQueryParam) String() string

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

RestMonitorConfiguration Request configuration details for the REST monitor type.

type RestMonitorConfiguration struct {

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

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

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

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

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

    ClientCertificateDetails *ClientCertificateDetails `mandatory:"false" json:"clientCertificateDetails"`

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

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

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

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

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

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

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

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

func (RestMonitorConfiguration) GetDnsConfiguration

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

SchedulingPolicyEnum Enum with underlying type: string

type SchedulingPolicyEnum string

Set of constants representing the allowable values for SchedulingPolicyEnum

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

func GetMappingSchedulingPolicyEnum

func GetMappingSchedulingPolicyEnum(val string) (SchedulingPolicyEnum, bool)

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

func GetSchedulingPolicyEnumValues

func GetSchedulingPolicyEnumValues() []SchedulingPolicyEnum

GetSchedulingPolicyEnumValues Enumerates the set of values for SchedulingPolicyEnum

type Script

Script The information about the script.

type Script struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

func (Script) String

func (m Script) String() string

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

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

type ScriptCollection struct {

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

func (ScriptCollection) String

func (m ScriptCollection) String() string

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

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

type ScriptParameter struct {

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

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

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

func (ScriptParameter) String

func (m ScriptParameter) String() string

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

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

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

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

func (ScriptParameterInfo) String

func (m ScriptParameterInfo) String() string

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

ScriptSummary Information about the script.

type ScriptSummary struct {

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

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

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

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

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

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

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

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

func (ScriptSummary) String

func (m ScriptSummary) String() string

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

ScriptedBrowserMonitorConfiguration Configuration details for the SCRIPTED_BROWSER monitor type.

type ScriptedBrowserMonitorConfiguration struct {

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

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

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

    // If disabled, auto snapshots are not collected.
    IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"`

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

func (ScriptedBrowserMonitorConfiguration) GetDnsConfiguration

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 (m ScriptedBrowserMonitorConfiguration) String() 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

ScriptedRestMonitorConfiguration Configuration details for the SCRIPTED_REST monitor type.

type ScriptedRestMonitorConfiguration struct {

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

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

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

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

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

func (ScriptedRestMonitorConfiguration) GetDnsConfiguration

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 (m ScriptedRestMonitorConfiguration) String() 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

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

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

func GetMappingSortOrdersEnum

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

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

type UpdateDedicatedVantagePointDetails struct {

    // Status of the dedicated vantage point.
    Status DedicatedVantagePointStatusEnum `mandatory:"false" json:"status,omitempty"`

    DvpStackDetails DvpStackDetails `mandatory:"false" json:"dvpStackDetails"`

    // Name of the region.
    Region *string `mandatory:"false" json:"region"`

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

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

func (UpdateDedicatedVantagePointDetails) String

func (m UpdateDedicatedVantagePointDetails) String() string

func (*UpdateDedicatedVantagePointDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateDedicatedVantagePointDetails) ValidateEnumValue

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

UpdateDedicatedVantagePointRequest wrapper for the UpdateDedicatedVantagePoint operation

# See also

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

type UpdateDedicatedVantagePointRequest struct {

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

    // The OCID of the dedicated vantage point.
    DedicatedVantagePointId *string `mandatory:"true" contributesTo:"path" name:"dedicatedVantagePointId"`

    // The information to be updated.
    UpdateDedicatedVantagePointDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (UpdateDedicatedVantagePointRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateDedicatedVantagePointRequest) HTTPRequest

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

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

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

func (UpdateDedicatedVantagePointRequest) String

func (request UpdateDedicatedVantagePointRequest) String() string

func (UpdateDedicatedVantagePointRequest) ValidateEnumValue

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

UpdateDedicatedVantagePointResponse wrapper for the UpdateDedicatedVantagePoint operation

type UpdateDedicatedVantagePointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DedicatedVantagePoint instance
    DedicatedVantagePoint `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (UpdateDedicatedVantagePointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDedicatedVantagePointResponse) String

func (response UpdateDedicatedVantagePointResponse) String() string

type UpdateMonitorDetails

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

type UpdateMonitorDetails struct {

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

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

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

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

    // Interval in seconds after the start time when the job should be repeated.
    // Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
    RepeatIntervalInSeconds *int `mandatory:"false" json:"repeatIntervalInSeconds"`

    // If runOnce is enabled, then the monitor will run once.
    IsRunOnce *bool `mandatory:"false" json:"isRunOnce"`

    // Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors.
    // If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors.
    // Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors.
    // Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
    TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

    // Specify the endpoint on which to run the monitor.
    // For BROWSER and REST monitor types, target is mandatory.
    // If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
    // If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
    // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
    Target *string `mandatory:"false" json:"target"`

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

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

    AvailabilityConfiguration *AvailabilityConfiguration `mandatory:"false" json:"availabilityConfiguration"`

    MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"`

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

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

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

    // Scheduling policy to decide the distribution of monitor executions on vantage points.
    SchedulingPolicy SchedulingPolicyEnum `mandatory:"false" json:"schedulingPolicy,omitempty"`

    // Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN).
    BatchIntervalInSeconds *int `mandatory:"false" json:"batchIntervalInSeconds"`
}

func (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

UpdateMonitorRequest wrapper for the UpdateMonitor operation

# See also

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

type UpdateMonitorRequest struct {

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

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

    // The information to be updated.
    UpdateMonitorDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (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

UpdateMonitorResponse wrapper for the UpdateMonitor operation

type UpdateMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Monitor instance
    Monitor `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (UpdateMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMonitorResponse) String

func (response UpdateMonitorResponse) String() string

type UpdateScriptDetails

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

type UpdateScriptDetails struct {

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

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

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

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

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

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

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

func (UpdateScriptDetails) String

func (m UpdateScriptDetails) String() string

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

UpdateScriptRequest wrapper for the UpdateScript operation

# See also

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

type UpdateScriptRequest struct {

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

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

    // The information to be updated.
    UpdateScriptDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call
    // for a resource, set the `if-match` parameter to the value of the
    // etag from a previous GET or POST response for that resource.
    // The resource will be updated or deleted only if the etag you
    // provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

func (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

UpdateScriptResponse wrapper for the UpdateScript operation

type UpdateScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Script instance
    Script `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

func (UpdateScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateScriptResponse) String

func (response UpdateScriptResponse) String() string

type VantagePointExecution

VantagePointExecution Details of a vantage point execution.

type VantagePointExecution struct {

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

    // List of execution times in milliseconds.
    Executions []int64 `mandatory:"false" json:"executions"`
}

func (VantagePointExecution) String

func (m VantagePointExecution) String() string

func (VantagePointExecution) ValidateEnumValue

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

VantagePointInfo Details of the vantage point.

type VantagePointInfo struct {

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

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

func (VantagePointInfo) String

func (m VantagePointInfo) String() string

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

VantagePointNode Details of the vantage point node.

type VantagePointNode struct {

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

    // ID of the vantage point node.
    Id *string `mandatory:"false" json:"id"`

    // Display name of the vantage point node.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Geographical information of the vantage point node.
    GeoInfo *string `mandatory:"false" json:"geoInfo"`

    // Outgoing links from the vantage point node.
    OutgoingLinks []string `mandatory:"false" json:"outgoingLinks"`
}

func (VantagePointNode) String

func (m VantagePointNode) String() string

func (VantagePointNode) ValidateEnumValue

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

VerifyText Details to verify text.

type VerifyText struct {

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

func (VerifyText) String

func (m VerifyText) String() string

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