managementagent

package
v65.77.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypesEnumStringValues

func GetActionTypesEnumStringValues() []string

GetActionTypesEnumStringValues Enumerates the set of values in String for ActionTypesEnum

func GetArchitectureTypesEnumStringValues

func GetArchitectureTypesEnumStringValues() []string

GetArchitectureTypesEnumStringValues Enumerates the set of values in String for ArchitectureTypesEnum

func GetAvailabilityStatusEnumStringValues

func GetAvailabilityStatusEnumStringValues() []string

GetAvailabilityStatusEnumStringValues Enumerates the set of values in String for AvailabilityStatusEnum

func GetDataSourceTypesEnumStringValues added in v65.58.0

func GetDataSourceTypesEnumStringValues() []string

GetDataSourceTypesEnumStringValues Enumerates the set of values in String for DataSourceTypesEnum

func GetInstallTypesEnumStringValues

func GetInstallTypesEnumStringValues() []string

GetInstallTypesEnumStringValues Enumerates the set of values in String for InstallTypesEnum

func GetLifecycleStatesEnumStringValues

func GetLifecycleStatesEnumStringValues() []string

GetLifecycleStatesEnumStringValues Enumerates the set of values in String for LifecycleStatesEnum

func GetListAvailabilityHistoriesSortByEnumStringValues

func GetListAvailabilityHistoriesSortByEnumStringValues() []string

GetListAvailabilityHistoriesSortByEnumStringValues Enumerates the set of values in String for ListAvailabilityHistoriesSortByEnum

func GetListAvailabilityHistoriesSortOrderEnumStringValues

func GetListAvailabilityHistoriesSortOrderEnumStringValues() []string

GetListAvailabilityHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailabilityHistoriesSortOrderEnum

func GetListDataSourcesSortByEnumStringValues added in v65.58.0

func GetListDataSourcesSortByEnumStringValues() []string

GetListDataSourcesSortByEnumStringValues Enumerates the set of values in String for ListDataSourcesSortByEnum

func GetListDataSourcesSortOrderEnumStringValues added in v65.58.0

func GetListDataSourcesSortOrderEnumStringValues() []string

GetListDataSourcesSortOrderEnumStringValues Enumerates the set of values in String for ListDataSourcesSortOrderEnum

func GetListManagementAgentImagesInstallTypeEnumStringValues

func GetListManagementAgentImagesInstallTypeEnumStringValues() []string

GetListManagementAgentImagesInstallTypeEnumStringValues Enumerates the set of values in String for ListManagementAgentImagesInstallTypeEnum

func GetListManagementAgentImagesLifecycleStateEnumStringValues

func GetListManagementAgentImagesLifecycleStateEnumStringValues() []string

GetListManagementAgentImagesLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagementAgentImagesLifecycleStateEnum

func GetListManagementAgentImagesSortByEnumStringValues

func GetListManagementAgentImagesSortByEnumStringValues() []string

GetListManagementAgentImagesSortByEnumStringValues Enumerates the set of values in String for ListManagementAgentImagesSortByEnum

func GetListManagementAgentImagesSortOrderEnumStringValues

func GetListManagementAgentImagesSortOrderEnumStringValues() []string

GetListManagementAgentImagesSortOrderEnumStringValues Enumerates the set of values in String for ListManagementAgentImagesSortOrderEnum

func GetListManagementAgentInstallKeysLifecycleStateEnumStringValues

func GetListManagementAgentInstallKeysLifecycleStateEnumStringValues() []string

GetListManagementAgentInstallKeysLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagementAgentInstallKeysLifecycleStateEnum

func GetListManagementAgentInstallKeysSortByEnumStringValues

func GetListManagementAgentInstallKeysSortByEnumStringValues() []string

GetListManagementAgentInstallKeysSortByEnumStringValues Enumerates the set of values in String for ListManagementAgentInstallKeysSortByEnum

func GetListManagementAgentInstallKeysSortOrderEnumStringValues

func GetListManagementAgentInstallKeysSortOrderEnumStringValues() []string

GetListManagementAgentInstallKeysSortOrderEnumStringValues Enumerates the set of values in String for ListManagementAgentInstallKeysSortOrderEnum

func GetListManagementAgentPluginsLifecycleStateEnumStringValues

func GetListManagementAgentPluginsLifecycleStateEnumStringValues() []string

GetListManagementAgentPluginsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagementAgentPluginsLifecycleStateEnum

func GetListManagementAgentPluginsSortByEnumStringValues

func GetListManagementAgentPluginsSortByEnumStringValues() []string

GetListManagementAgentPluginsSortByEnumStringValues Enumerates the set of values in String for ListManagementAgentPluginsSortByEnum

func GetListManagementAgentPluginsSortOrderEnumStringValues

func GetListManagementAgentPluginsSortOrderEnumStringValues() []string

GetListManagementAgentPluginsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementAgentPluginsSortOrderEnum

func GetListManagementAgentsAvailabilityStatusEnumStringValues

func GetListManagementAgentsAvailabilityStatusEnumStringValues() []string

GetListManagementAgentsAvailabilityStatusEnumStringValues Enumerates the set of values in String for ListManagementAgentsAvailabilityStatusEnum

func GetListManagementAgentsDataSourceTypeEnumStringValues added in v65.58.0

func GetListManagementAgentsDataSourceTypeEnumStringValues() []string

GetListManagementAgentsDataSourceTypeEnumStringValues Enumerates the set of values in String for ListManagementAgentsDataSourceTypeEnum

func GetListManagementAgentsInstallTypeEnumStringValues

func GetListManagementAgentsInstallTypeEnumStringValues() []string

GetListManagementAgentsInstallTypeEnumStringValues Enumerates the set of values in String for ListManagementAgentsInstallTypeEnum

func GetListManagementAgentsLifecycleStateEnumStringValues

func GetListManagementAgentsLifecycleStateEnumStringValues() []string

GetListManagementAgentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListManagementAgentsLifecycleStateEnum

func GetListManagementAgentsSortByEnumStringValues

func GetListManagementAgentsSortByEnumStringValues() []string

GetListManagementAgentsSortByEnumStringValues Enumerates the set of values in String for ListManagementAgentsSortByEnum

func GetListManagementAgentsSortOrderEnumStringValues

func GetListManagementAgentsSortOrderEnumStringValues() []string

GetListManagementAgentsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementAgentsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetManagementAgentGroupByEnumStringValues

func GetManagementAgentGroupByEnumStringValues() []string

GetManagementAgentGroupByEnumStringValues Enumerates the set of values in String for ManagementAgentGroupByEnum

func GetManagementAgentPluginGroupByEnumStringValues

func GetManagementAgentPluginGroupByEnumStringValues() []string

GetManagementAgentPluginGroupByEnumStringValues Enumerates the set of values in String for ManagementAgentPluginGroupByEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetPackageTypesEnumStringValues

func GetPackageTypesEnumStringValues() []string

GetPackageTypesEnumStringValues Enumerates the set of values in String for PackageTypesEnum

func GetPlatformTypesEnumStringValues

func GetPlatformTypesEnumStringValues() []string

GetPlatformTypesEnumStringValues Enumerates the set of values in String for PlatformTypesEnum

func GetPluginStatusEnumStringValues added in v65.14.0

func GetPluginStatusEnumStringValues() []string

GetPluginStatusEnumStringValues Enumerates the set of values in String for PluginStatusEnum

func GetPropertyUnitsEnumStringValues added in v65.32.0

func GetPropertyUnitsEnumStringValues() []string

GetPropertyUnitsEnumStringValues Enumerates the set of values in String for PropertyUnitsEnum

func GetSummarizeManagementAgentCountsInstallTypeEnumStringValues

func GetSummarizeManagementAgentCountsInstallTypeEnumStringValues() []string

GetSummarizeManagementAgentCountsInstallTypeEnumStringValues Enumerates the set of values in String for SummarizeManagementAgentCountsInstallTypeEnum

func GetSummarizeManagementAgentPluginCountsGroupByEnumStringValues

func GetSummarizeManagementAgentPluginCountsGroupByEnumStringValues() []string

GetSummarizeManagementAgentPluginCountsGroupByEnumStringValues Enumerates the set of values in String for SummarizeManagementAgentPluginCountsGroupByEnum

func GetWorkDeliveryStatusEnumStringValues

func GetWorkDeliveryStatusEnumStringValues() []string

GetWorkDeliveryStatusEnumStringValues Enumerates the set of values in String for WorkDeliveryStatusEnum

Types

type ActionTypesEnum

type ActionTypesEnum string

ActionTypesEnum Enum with underlying type: string

const (
	ActionTypesCreated    ActionTypesEnum = "CREATED"
	ActionTypesUpdated    ActionTypesEnum = "UPDATED"
	ActionTypesDeleted    ActionTypesEnum = "DELETED"
	ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS"
	ActionTypesRelated    ActionTypesEnum = "RELATED"
)

Set of constants representing the allowable values for ActionTypesEnum

func GetActionTypesEnumValues

func GetActionTypesEnumValues() []ActionTypesEnum

GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum

func GetMappingActionTypesEnum

func GetMappingActionTypesEnum(val string) (ActionTypesEnum, bool)

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

type ArchitectureTypesEnum

type ArchitectureTypesEnum string

ArchitectureTypesEnum Enum with underlying type: string

const (
	ArchitectureTypesX8664   ArchitectureTypesEnum = "X86_64"
	ArchitectureTypesSparc   ArchitectureTypesEnum = "SPARC"
	ArchitectureTypesX86     ArchitectureTypesEnum = "X86"
	ArchitectureTypesM1      ArchitectureTypesEnum = "M1"
	ArchitectureTypesAarch64 ArchitectureTypesEnum = "AARCH64"
)

Set of constants representing the allowable values for ArchitectureTypesEnum

func GetArchitectureTypesEnumValues

func GetArchitectureTypesEnumValues() []ArchitectureTypesEnum

GetArchitectureTypesEnumValues Enumerates the set of values for ArchitectureTypesEnum

func GetMappingArchitectureTypesEnum

func GetMappingArchitectureTypesEnum(val string) (ArchitectureTypesEnum, bool)

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

type AutoUpgradableConfig

type AutoUpgradableConfig struct {

	// true if the agents can be upgraded automatically; false if they must be upgraded manually.
	IsAgentAutoUpgradable *bool `mandatory:"true" json:"isAgentAutoUpgradable"`
}

AutoUpgradableConfig The tenancy-level agent AutoUpgradable configuration.

func (AutoUpgradableConfig) String

func (m AutoUpgradableConfig) String() string

func (AutoUpgradableConfig) ValidateEnumValue

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

ValidateEnumValue returns an 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 AvailabilityHistorySummary

type AvailabilityHistorySummary struct {

	// agent identifier
	ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`

	// The availability status of managementAgent
	AvailabilityStatus AvailabilityStatusEnum `mandatory:"true" json:"availabilityStatus"`

	// The time at which the Management Agent moved to the availability status. An RFC3339 formatted datetime string
	TimeAvailabilityStatusStarted *common.SDKTime `mandatory:"false" json:"timeAvailabilityStatusStarted"`

	// The time till which the Management Agent was known to be in the availability status. An RFC3339 formatted datetime string
	TimeAvailabilityStatusEnded *common.SDKTime `mandatory:"false" json:"timeAvailabilityStatusEnded"`
}

AvailabilityHistorySummary Availability history of Management Agent.

func (AvailabilityHistorySummary) String

func (AvailabilityHistorySummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 AvailabilityStatusEnum

type AvailabilityStatusEnum string

AvailabilityStatusEnum Enum with underlying type: string

const (
	AvailabilityStatusActive       AvailabilityStatusEnum = "ACTIVE"
	AvailabilityStatusSilent       AvailabilityStatusEnum = "SILENT"
	AvailabilityStatusNotAvailable AvailabilityStatusEnum = "NOT_AVAILABLE"
)

Set of constants representing the allowable values for AvailabilityStatusEnum

func GetAvailabilityStatusEnumValues

func GetAvailabilityStatusEnumValues() []AvailabilityStatusEnum

GetAvailabilityStatusEnumValues Enumerates the set of values for AvailabilityStatusEnum

func GetMappingAvailabilityStatusEnum

func GetMappingAvailabilityStatusEnum(val string) (AvailabilityStatusEnum, bool)

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

type CreateDataSourceDetails added in v65.58.0

type CreateDataSourceDetails interface {

	// Unique name of the DataSource.
	GetName() *string

	// Compartment owning this DataSource.
	GetCompartmentId() *string
}

CreateDataSourceDetails A new data source.

type CreateDataSourceRequest added in v65.58.0

type CreateDataSourceRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// Details of DataSource to be created for the given Management Agent.
	CreateDataSourceDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

CreateDataSourceRequest wrapper for the CreateDataSource operation

See also

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

func (CreateDataSourceRequest) BinaryRequestBody added in v65.58.0

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

BinaryRequestBody implements the OCIRequest interface

func (CreateDataSourceRequest) HTTPRequest added in v65.58.0

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

HTTPRequest implements the OCIRequest interface

func (CreateDataSourceRequest) RetryPolicy added in v65.58.0

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

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

func (CreateDataSourceRequest) String added in v65.58.0

func (request CreateDataSourceRequest) String() string

func (CreateDataSourceRequest) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 CreateDataSourceResponse added in v65.58.0

type CreateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateDataSourceResponse wrapper for the CreateDataSource operation

func (CreateDataSourceResponse) HTTPResponse added in v65.58.0

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

HTTPResponse implements the OCIResponse interface

func (CreateDataSourceResponse) String added in v65.58.0

func (response CreateDataSourceResponse) String() string

type CreateManagementAgentInstallKeyDetails

type CreateManagementAgentInstallKeyDetails struct {

	// Management Agent install Key Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Total number of install for this keys
	AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"`

	// date after which key would expire after creation
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// If set to true, the install key has no expiration date or usage limit. Defaults to false
	IsUnlimited *bool `mandatory:"false" json:"isUnlimited"`
}

CreateManagementAgentInstallKeyDetails The information about new Management Agent install Key.

func (CreateManagementAgentInstallKeyDetails) String

func (CreateManagementAgentInstallKeyDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateManagementAgentInstallKeyRequest

type CreateManagementAgentInstallKeyRequest struct {

	// Details of the Agent install Key
	CreateManagementAgentInstallKeyDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

CreateManagementAgentInstallKeyRequest wrapper for the CreateManagementAgentInstallKey operation

See also

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

func (CreateManagementAgentInstallKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateManagementAgentInstallKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateManagementAgentInstallKeyRequest) RetryPolicy

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

func (CreateManagementAgentInstallKeyRequest) String

func (CreateManagementAgentInstallKeyRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateManagementAgentInstallKeyResponse

type CreateManagementAgentInstallKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ManagementAgentInstallKey instance
	ManagementAgentInstallKey `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

CreateManagementAgentInstallKeyResponse wrapper for the CreateManagementAgentInstallKey operation

func (CreateManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateManagementAgentInstallKeyResponse) String

type CreatePrometheusEmitterDataSourceDetails added in v65.58.0

type CreatePrometheusEmitterDataSourceDetails struct {

	// Unique name of the DataSource.
	Name *string `mandatory:"true" json:"name"`

	// Compartment owning this DataSource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The url through which the Prometheus Exporter publishes its metrics. (http only)
	Url *string `mandatory:"true" json:"url"`

	// The OCI monitoring namespace to which scraped metrics should be uploaded.
	Namespace *string `mandatory:"true" json:"namespace"`

	// Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
	AllowMetrics *string `mandatory:"false" json:"allowMetrics"`

	// The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
	ProxyUrl *string `mandatory:"false" json:"proxyUrl"`

	// Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
	ConnectionTimeout *int `mandatory:"false" json:"connectionTimeout"`

	// Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
	ReadTimeout *int `mandatory:"false" json:"readTimeout"`

	// Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
	ReadDataLimitInKilobytes *int `mandatory:"false" json:"readDataLimitInKilobytes"`

	// Number in minutes. The scraping occurs at the specified interval.
	ScheduleMins *int `mandatory:"false" json:"scheduleMins"`

	// OCI monitoring resource group to assign the metric to.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`

	// The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
	MetricDimensions []MetricDimension `mandatory:"false" json:"metricDimensions"`
}

CreatePrometheusEmitterDataSourceDetails A Prometheus emitter data source.

func (CreatePrometheusEmitterDataSourceDetails) GetCompartmentId added in v65.58.0

func (m CreatePrometheusEmitterDataSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreatePrometheusEmitterDataSourceDetails) GetName added in v65.58.0

GetName returns Name

func (CreatePrometheusEmitterDataSourceDetails) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (CreatePrometheusEmitterDataSourceDetails) String added in v65.58.0

func (CreatePrometheusEmitterDataSourceDetails) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 DataSource added in v65.58.0

type DataSource interface {

	// Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
	GetKey() *string

	// Unique name of the DataSource.
	GetName() *string

	// Compartment owning this DataSource.
	GetCompartmentId() *string

	// State of the DataSource.
	GetState() LifecycleStatesEnum

	// The time the DataSource was created. An RFC3339 formatted datetime string
	GetTimeCreated() *common.SDKTime

	// The time the DataSource data was last received. An RFC3339 formatted datetime string
	GetTimeUpdated() *common.SDKTime
}

DataSource A representation of a source configuration setup in the Management Agent.

type DataSourceSummary added in v65.58.0

type DataSourceSummary interface {

	// Data source type and name identifier.
	GetKey() *string

	// Unique name of the dataSource.
	GetName() *string
}

DataSourceSummary The information about the dataSources that agent is associated to.

type DataSourceSummaryItem added in v65.58.0

type DataSourceSummaryItem interface {

	// Data source type and name identifier.
	GetKey() *string

	// Unique name of the dataSource.
	GetName() *string
}

DataSourceSummaryItem The information about the dataSources that agent is associated to.

type DataSourceTypesEnum added in v65.58.0

type DataSourceTypesEnum string

DataSourceTypesEnum Enum with underlying type: string

const (
	DataSourceTypesKubernetesCluster DataSourceTypesEnum = "KUBERNETES_CLUSTER"
	DataSourceTypesPrometheusEmitter DataSourceTypesEnum = "PROMETHEUS_EMITTER"
)

Set of constants representing the allowable values for DataSourceTypesEnum

func GetDataSourceTypesEnumValues added in v65.58.0

func GetDataSourceTypesEnumValues() []DataSourceTypesEnum

GetDataSourceTypesEnumValues Enumerates the set of values for DataSourceTypesEnum

func GetMappingDataSourceTypesEnum added in v65.58.0

func GetMappingDataSourceTypesEnum(val string) (DataSourceTypesEnum, bool)

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

type DeleteDataSourceRequest added in v65.58.0

type DeleteDataSourceRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// Data source type and name identifier.
	DataSourceKey *string `mandatory:"true" contributesTo:"path" name:"dataSourceKey"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteDataSourceRequest wrapper for the DeleteDataSource operation

See also

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

func (DeleteDataSourceRequest) BinaryRequestBody added in v65.58.0

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteDataSourceRequest) HTTPRequest added in v65.58.0

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

HTTPRequest implements the OCIRequest interface

func (DeleteDataSourceRequest) RetryPolicy added in v65.58.0

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

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

func (DeleteDataSourceRequest) String added in v65.58.0

func (request DeleteDataSourceRequest) String() string

func (DeleteDataSourceRequest) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 DeleteDataSourceResponse added in v65.58.0

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

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteDataSourceResponse wrapper for the DeleteDataSource operation

func (DeleteDataSourceResponse) HTTPResponse added in v65.58.0

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

HTTPResponse implements the OCIResponse interface

func (DeleteDataSourceResponse) String added in v65.58.0

func (response DeleteDataSourceResponse) String() string

type DeleteManagementAgentInstallKeyRequest

type DeleteManagementAgentInstallKeyRequest struct {

	// Unique Management Agent Install Key identifier
	ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteManagementAgentInstallKeyRequest wrapper for the DeleteManagementAgentInstallKey operation

See also

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

func (DeleteManagementAgentInstallKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagementAgentInstallKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagementAgentInstallKeyRequest) RetryPolicy

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

func (DeleteManagementAgentInstallKeyRequest) String

func (DeleteManagementAgentInstallKeyRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteManagementAgentInstallKeyResponse

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

DeleteManagementAgentInstallKeyResponse wrapper for the DeleteManagementAgentInstallKey operation

func (DeleteManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagementAgentInstallKeyResponse) String

type DeleteManagementAgentRequest

type DeleteManagementAgentRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeleteManagementAgentRequest wrapper for the DeleteManagementAgent operation

See also

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

func (DeleteManagementAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteManagementAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteManagementAgentRequest) RetryPolicy

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

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

func (DeleteManagementAgentRequest) String

func (request DeleteManagementAgentRequest) String() string

func (DeleteManagementAgentRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteManagementAgentResponse

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

DeleteManagementAgentResponse wrapper for the DeleteManagementAgent operation

func (DeleteManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagementAgentResponse) String

func (response DeleteManagementAgentResponse) String() string

type DeleteWorkRequestRequest

type DeleteWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

See also

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

func (DeleteWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy

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

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

func (DeleteWorkRequestRequest) String

func (request DeleteWorkRequestRequest) String() string

func (DeleteWorkRequestRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteWorkRequestResponse

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

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type DeployPluginsDetails

type DeployPluginsDetails struct {

	// Plugin Id
	PluginIds []string `mandatory:"true" json:"pluginIds"`

	// Management Agent Compartment Identifier
	AgentCompartmentId *string `mandatory:"true" json:"agentCompartmentId"`

	// List of Agent identifiers
	AgentIds []string `mandatory:"true" json:"agentIds"`
}

DeployPluginsDetails The information required to deploy new Management Agent Plugins.

func (DeployPluginsDetails) String

func (m DeployPluginsDetails) String() string

func (DeployPluginsDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeployPluginsRequest

type DeployPluginsRequest struct {

	// Details of Plugins to be deployed for a given list of Management Agents.
	DeployPluginsDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

DeployPluginsRequest wrapper for the DeployPlugins operation

See also

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

func (DeployPluginsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeployPluginsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeployPluginsRequest) RetryPolicy

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

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

func (DeployPluginsRequest) String

func (request DeployPluginsRequest) String() string

func (DeployPluginsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeployPluginsResponse

type DeployPluginsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeployPluginsResponse wrapper for the DeployPlugins operation

func (DeployPluginsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeployPluginsResponse) String

func (response DeployPluginsResponse) String() string

type GetAutoUpgradableConfigRequest

type GetAutoUpgradableConfigRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

GetAutoUpgradableConfigRequest wrapper for the GetAutoUpgradableConfig operation

See also

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

func (GetAutoUpgradableConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAutoUpgradableConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAutoUpgradableConfigRequest) RetryPolicy

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

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

func (GetAutoUpgradableConfigRequest) String

func (request GetAutoUpgradableConfigRequest) String() string

func (GetAutoUpgradableConfigRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetAutoUpgradableConfigResponse

type GetAutoUpgradableConfigResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetAutoUpgradableConfigResponse wrapper for the GetAutoUpgradableConfig operation

func (GetAutoUpgradableConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAutoUpgradableConfigResponse) String

func (response GetAutoUpgradableConfigResponse) String() string

type GetDataSourceRequest added in v65.58.0

type GetDataSourceRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// Data source type and name identifier.
	DataSourceKey *string `mandatory:"true" contributesTo:"path" name:"dataSourceKey"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

GetDataSourceRequest wrapper for the GetDataSource operation

See also

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

func (GetDataSourceRequest) BinaryRequestBody added in v65.58.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetDataSourceRequest) HTTPRequest added in v65.58.0

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

HTTPRequest implements the OCIRequest interface

func (GetDataSourceRequest) RetryPolicy added in v65.58.0

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

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

func (GetDataSourceRequest) String added in v65.58.0

func (request GetDataSourceRequest) String() string

func (GetDataSourceRequest) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 GetDataSourceResponse added in v65.58.0

type GetDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The DataSource instance
	DataSource `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetDataSourceResponse wrapper for the GetDataSource operation

func (GetDataSourceResponse) HTTPResponse added in v65.58.0

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

HTTPResponse implements the OCIResponse interface

func (GetDataSourceResponse) String added in v65.58.0

func (response GetDataSourceResponse) String() string

type GetManagementAgentInstallKeyContentRequest

type GetManagementAgentInstallKeyContentRequest struct {

	// Unique Management Agent Install Key identifier
	ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Filter to return input plugin names uncommented in the output.
	PluginName []string `contributesTo:"query" name:"pluginName" collectionFormat:"multi"`

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

GetManagementAgentInstallKeyContentRequest wrapper for the GetManagementAgentInstallKeyContent operation

See also

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

func (GetManagementAgentInstallKeyContentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GetManagementAgentInstallKeyContentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentInstallKeyContentRequest) RetryPolicy

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

func (GetManagementAgentInstallKeyContentRequest) String

func (GetManagementAgentInstallKeyContentRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetManagementAgentInstallKeyContentResponse

type GetManagementAgentInstallKeyContentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The io.ReadCloser instance
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

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

	// The content size of the body in bytes.
	ContentLength *int64 `presentIn:"header" name:"content-length"`

	// The content type of the body.
	ContentType *string `presentIn:"header" name:"content-type"`
}

GetManagementAgentInstallKeyContentResponse wrapper for the GetManagementAgentInstallKeyContent operation

func (GetManagementAgentInstallKeyContentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentInstallKeyContentResponse) String

type GetManagementAgentInstallKeyRequest

type GetManagementAgentInstallKeyRequest struct {

	// Unique Management Agent Install Key identifier
	ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

GetManagementAgentInstallKeyRequest wrapper for the GetManagementAgentInstallKey operation

See also

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

func (GetManagementAgentInstallKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagementAgentInstallKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentInstallKeyRequest) RetryPolicy

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

func (GetManagementAgentInstallKeyRequest) String

func (GetManagementAgentInstallKeyRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetManagementAgentInstallKeyResponse

type GetManagementAgentInstallKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetManagementAgentInstallKeyResponse wrapper for the GetManagementAgentInstallKey operation

func (GetManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentInstallKeyResponse) String

func (response GetManagementAgentInstallKeyResponse) String() string

type GetManagementAgentRequest

type GetManagementAgentRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

GetManagementAgentRequest wrapper for the GetManagementAgent operation

See also

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

func (GetManagementAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetManagementAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentRequest) RetryPolicy

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

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

func (GetManagementAgentRequest) String

func (request GetManagementAgentRequest) String() string

func (GetManagementAgentRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetManagementAgentResponse

type GetManagementAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetManagementAgentResponse wrapper for the GetManagementAgent operation

func (GetManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentResponse) String

func (response GetManagementAgentResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// A decimal number representing the number of seconds the client should wait before polling this endpoint again.
	RetryAfter *float32 `presentIn:"header" name:"retry-after"`

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type InstallTypesEnum

type InstallTypesEnum string

InstallTypesEnum Enum with underlying type: string

const (
	InstallTypesAgent   InstallTypesEnum = "AGENT"
	InstallTypesGateway InstallTypesEnum = "GATEWAY"
)

Set of constants representing the allowable values for InstallTypesEnum

func GetInstallTypesEnumValues

func GetInstallTypesEnumValues() []InstallTypesEnum

GetInstallTypesEnumValues Enumerates the set of values for InstallTypesEnum

func GetMappingInstallTypesEnum

func GetMappingInstallTypesEnum(val string) (InstallTypesEnum, bool)

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

type KubernetesClusterDataSource added in v65.58.0

type KubernetesClusterDataSource struct {

	// Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the DataSource.
	Name *string `mandatory:"true" json:"name"`

	// Compartment owning this DataSource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the DataSource was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the DataSource data was last received. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The Kubernetes namespace
	Namespace *string `mandatory:"true" json:"namespace"`

	// If the Kubernetes cluster type is Daemon set then this will be set to true.
	IsDaemonSet *bool `mandatory:"false" json:"isDaemonSet"`

	// State of the DataSource.
	State LifecycleStatesEnum `mandatory:"true" json:"state"`
}

KubernetesClusterDataSource A Kubernetes cluster data source.

func (KubernetesClusterDataSource) GetCompartmentId added in v65.58.0

func (m KubernetesClusterDataSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (KubernetesClusterDataSource) GetKey added in v65.58.0

func (m KubernetesClusterDataSource) GetKey() *string

GetKey returns Key

func (KubernetesClusterDataSource) GetName added in v65.58.0

func (m KubernetesClusterDataSource) GetName() *string

GetName returns Name

func (KubernetesClusterDataSource) GetState added in v65.58.0

GetState returns State

func (KubernetesClusterDataSource) GetTimeCreated added in v65.58.0

func (m KubernetesClusterDataSource) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (KubernetesClusterDataSource) GetTimeUpdated added in v65.58.0

func (m KubernetesClusterDataSource) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (KubernetesClusterDataSource) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (KubernetesClusterDataSource) String added in v65.58.0

func (KubernetesClusterDataSource) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 KubernetesClusterDataSourceSummary added in v65.58.0

type KubernetesClusterDataSourceSummary struct {

	// Data source type and name identifier.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the dataSource.
	Name *string `mandatory:"true" json:"name"`

	// true if the Kubernetes cluster type is Daemon set
	IsDaemonSet *bool `mandatory:"false" json:"isDaemonSet"`
}

KubernetesClusterDataSourceSummary A Kubernetes collection data source summary.

func (KubernetesClusterDataSourceSummary) GetKey added in v65.58.0

GetKey returns Key

func (KubernetesClusterDataSourceSummary) GetName added in v65.58.0

GetName returns Name

func (KubernetesClusterDataSourceSummary) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (KubernetesClusterDataSourceSummary) String added in v65.58.0

func (KubernetesClusterDataSourceSummary) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 KubernetesClusterDataSourceSummaryItem added in v65.58.0

type KubernetesClusterDataSourceSummaryItem struct {

	// Data source type and name identifier.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the dataSource.
	Name *string `mandatory:"true" json:"name"`

	// true if the Kubernetes cluster type is Daemon set
	IsDaemonSet *bool `mandatory:"false" json:"isDaemonSet"`
}

KubernetesClusterDataSourceSummaryItem A Kubernetes collection data source summary.

func (KubernetesClusterDataSourceSummaryItem) GetKey added in v65.58.0

GetKey returns Key

func (KubernetesClusterDataSourceSummaryItem) GetName added in v65.58.0

GetName returns Name

func (KubernetesClusterDataSourceSummaryItem) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (KubernetesClusterDataSourceSummaryItem) String added in v65.58.0

func (KubernetesClusterDataSourceSummaryItem) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 LifecycleStatesEnum

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

const (
	LifecycleStatesCreating   LifecycleStatesEnum = "CREATING"
	LifecycleStatesUpdating   LifecycleStatesEnum = "UPDATING"
	LifecycleStatesActive     LifecycleStatesEnum = "ACTIVE"
	LifecycleStatesInactive   LifecycleStatesEnum = "INACTIVE"
	LifecycleStatesTerminated LifecycleStatesEnum = "TERMINATED"
	LifecycleStatesDeleting   LifecycleStatesEnum = "DELETING"
	LifecycleStatesDeleted    LifecycleStatesEnum = "DELETED"
	LifecycleStatesFailed     LifecycleStatesEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStatesEnum

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

func GetMappingLifecycleStatesEnum

func GetMappingLifecycleStatesEnum(val string) (LifecycleStatesEnum, bool)

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

type ListAvailabilityHistoriesRequest

type ListAvailabilityHistoriesRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Filter to limit the availability history results to that of time after the input time including the boundary record.
	// Defaulted to current date minus one year.
	// The date and time to be given as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 5.6.
	TimeAvailabilityStatusEndedGreaterThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAvailabilityStatusEndedGreaterThan"`

	// Filter to limit the availability history results to that of time before the input time including the boundary record
	// Defaulted to current date.
	// The date and time to be given as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 5.6.
	TimeAvailabilityStatusStartedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAvailabilityStatusStartedLessThan"`

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

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListAvailabilityHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Default order for timeAvailabilityStatusStarted is descending.
	SortBy ListAvailabilityHistoriesSortByEnum `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
}

ListAvailabilityHistoriesRequest wrapper for the ListAvailabilityHistories operation

See also

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

func (ListAvailabilityHistoriesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAvailabilityHistoriesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAvailabilityHistoriesRequest) RetryPolicy

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

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

func (ListAvailabilityHistoriesRequest) String

func (request ListAvailabilityHistoriesRequest) String() string

func (ListAvailabilityHistoriesRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListAvailabilityHistoriesResponse

type ListAvailabilityHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AvailabilityHistorySummary instances
	Items []AvailabilityHistorySummary `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"`
}

ListAvailabilityHistoriesResponse wrapper for the ListAvailabilityHistories operation

func (ListAvailabilityHistoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAvailabilityHistoriesResponse) String

func (response ListAvailabilityHistoriesResponse) String() string

type ListAvailabilityHistoriesSortByEnum

type ListAvailabilityHistoriesSortByEnum string

ListAvailabilityHistoriesSortByEnum Enum with underlying type: string

const (
	ListAvailabilityHistoriesSortByTimeavailabilitystatusstarted ListAvailabilityHistoriesSortByEnum = "timeAvailabilityStatusStarted"
)

Set of constants representing the allowable values for ListAvailabilityHistoriesSortByEnum

func GetListAvailabilityHistoriesSortByEnumValues

func GetListAvailabilityHistoriesSortByEnumValues() []ListAvailabilityHistoriesSortByEnum

GetListAvailabilityHistoriesSortByEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortByEnum

func GetMappingListAvailabilityHistoriesSortByEnum

func GetMappingListAvailabilityHistoriesSortByEnum(val string) (ListAvailabilityHistoriesSortByEnum, bool)

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

type ListAvailabilityHistoriesSortOrderEnum

type ListAvailabilityHistoriesSortOrderEnum string

ListAvailabilityHistoriesSortOrderEnum Enum with underlying type: string

const (
	ListAvailabilityHistoriesSortOrderAsc  ListAvailabilityHistoriesSortOrderEnum = "ASC"
	ListAvailabilityHistoriesSortOrderDesc ListAvailabilityHistoriesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAvailabilityHistoriesSortOrderEnum

func GetListAvailabilityHistoriesSortOrderEnumValues

func GetListAvailabilityHistoriesSortOrderEnumValues() []ListAvailabilityHistoriesSortOrderEnum

GetListAvailabilityHistoriesSortOrderEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortOrderEnum

func GetMappingListAvailabilityHistoriesSortOrderEnum

func GetMappingListAvailabilityHistoriesSortOrderEnum(val string) (ListAvailabilityHistoriesSortOrderEnum, bool)

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

type ListDataSourcesRequest added in v65.58.0

type ListDataSourcesRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListDataSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. If no value is specified dataSourceName is default.
	SortBy ListDataSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Unique name of the dataSource.
	Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

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

ListDataSourcesRequest wrapper for the ListDataSources operation

See also

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

func (ListDataSourcesRequest) BinaryRequestBody added in v65.58.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListDataSourcesRequest) HTTPRequest added in v65.58.0

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

HTTPRequest implements the OCIRequest interface

func (ListDataSourcesRequest) RetryPolicy added in v65.58.0

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

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

func (ListDataSourcesRequest) String added in v65.58.0

func (request ListDataSourcesRequest) String() string

func (ListDataSourcesRequest) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 ListDataSourcesResponse added in v65.58.0

type ListDataSourcesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []DataSourceSummary instances
	Items []DataSourceSummary `presentIn:"body"`

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

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

ListDataSourcesResponse wrapper for the ListDataSources operation

func (ListDataSourcesResponse) HTTPResponse added in v65.58.0

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

HTTPResponse implements the OCIResponse interface

func (ListDataSourcesResponse) String added in v65.58.0

func (response ListDataSourcesResponse) String() string

type ListDataSourcesSortByEnum added in v65.58.0

type ListDataSourcesSortByEnum string

ListDataSourcesSortByEnum Enum with underlying type: string

const (
	ListDataSourcesSortByDatasourcename ListDataSourcesSortByEnum = "dataSourceName"
	ListDataSourcesSortByDatasourcetype ListDataSourcesSortByEnum = "dataSourceType"
)

Set of constants representing the allowable values for ListDataSourcesSortByEnum

func GetListDataSourcesSortByEnumValues added in v65.58.0

func GetListDataSourcesSortByEnumValues() []ListDataSourcesSortByEnum

GetListDataSourcesSortByEnumValues Enumerates the set of values for ListDataSourcesSortByEnum

func GetMappingListDataSourcesSortByEnum added in v65.58.0

func GetMappingListDataSourcesSortByEnum(val string) (ListDataSourcesSortByEnum, bool)

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

type ListDataSourcesSortOrderEnum added in v65.58.0

type ListDataSourcesSortOrderEnum string

ListDataSourcesSortOrderEnum Enum with underlying type: string

const (
	ListDataSourcesSortOrderAsc  ListDataSourcesSortOrderEnum = "ASC"
	ListDataSourcesSortOrderDesc ListDataSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDataSourcesSortOrderEnum

func GetListDataSourcesSortOrderEnumValues added in v65.58.0

func GetListDataSourcesSortOrderEnumValues() []ListDataSourcesSortOrderEnum

GetListDataSourcesSortOrderEnumValues Enumerates the set of values for ListDataSourcesSortOrderEnum

func GetMappingListDataSourcesSortOrderEnum added in v65.58.0

func GetMappingListDataSourcesSortOrderEnum(val string) (ListDataSourcesSortOrderEnum, bool)

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

type ListManagementAgentImagesInstallTypeEnum

type ListManagementAgentImagesInstallTypeEnum string

ListManagementAgentImagesInstallTypeEnum Enum with underlying type: string

const (
	ListManagementAgentImagesInstallTypeAgent   ListManagementAgentImagesInstallTypeEnum = "AGENT"
	ListManagementAgentImagesInstallTypeGateway ListManagementAgentImagesInstallTypeEnum = "GATEWAY"
)

Set of constants representing the allowable values for ListManagementAgentImagesInstallTypeEnum

func GetListManagementAgentImagesInstallTypeEnumValues

func GetListManagementAgentImagesInstallTypeEnumValues() []ListManagementAgentImagesInstallTypeEnum

GetListManagementAgentImagesInstallTypeEnumValues Enumerates the set of values for ListManagementAgentImagesInstallTypeEnum

func GetMappingListManagementAgentImagesInstallTypeEnum

func GetMappingListManagementAgentImagesInstallTypeEnum(val string) (ListManagementAgentImagesInstallTypeEnum, bool)

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

type ListManagementAgentImagesLifecycleStateEnum

type ListManagementAgentImagesLifecycleStateEnum string

ListManagementAgentImagesLifecycleStateEnum Enum with underlying type: string

const (
	ListManagementAgentImagesLifecycleStateCreating   ListManagementAgentImagesLifecycleStateEnum = "CREATING"
	ListManagementAgentImagesLifecycleStateUpdating   ListManagementAgentImagesLifecycleStateEnum = "UPDATING"
	ListManagementAgentImagesLifecycleStateActive     ListManagementAgentImagesLifecycleStateEnum = "ACTIVE"
	ListManagementAgentImagesLifecycleStateInactive   ListManagementAgentImagesLifecycleStateEnum = "INACTIVE"
	ListManagementAgentImagesLifecycleStateTerminated ListManagementAgentImagesLifecycleStateEnum = "TERMINATED"
	ListManagementAgentImagesLifecycleStateDeleting   ListManagementAgentImagesLifecycleStateEnum = "DELETING"
	ListManagementAgentImagesLifecycleStateDeleted    ListManagementAgentImagesLifecycleStateEnum = "DELETED"
	ListManagementAgentImagesLifecycleStateFailed     ListManagementAgentImagesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagementAgentImagesLifecycleStateEnum

func GetListManagementAgentImagesLifecycleStateEnumValues

func GetListManagementAgentImagesLifecycleStateEnumValues() []ListManagementAgentImagesLifecycleStateEnum

GetListManagementAgentImagesLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentImagesLifecycleStateEnum

func GetMappingListManagementAgentImagesLifecycleStateEnum

func GetMappingListManagementAgentImagesLifecycleStateEnum(val string) (ListManagementAgentImagesLifecycleStateEnum, bool)

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

type ListManagementAgentImagesRequest

type ListManagementAgentImagesRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagementAgentImagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for platformType is descending. Default order for version is descending. If no value is specified platformType is default.
	SortBy ListManagementAgentImagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

	// Filter to return only Management Agents in the particular lifecycle state.
	LifecycleState ListManagementAgentImagesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
	InstallType ListManagementAgentImagesInstallTypeEnum `mandatory:"false" contributesTo:"query" name:"installType" 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
}

ListManagementAgentImagesRequest wrapper for the ListManagementAgentImages operation

See also

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

func (ListManagementAgentImagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagementAgentImagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentImagesRequest) RetryPolicy

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

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

func (ListManagementAgentImagesRequest) String

func (request ListManagementAgentImagesRequest) String() string

func (ListManagementAgentImagesRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListManagementAgentImagesResponse

type ListManagementAgentImagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagementAgentImageSummary instances
	Items []ManagementAgentImageSummary `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"`
}

ListManagementAgentImagesResponse wrapper for the ListManagementAgentImages operation

func (ListManagementAgentImagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentImagesResponse) String

func (response ListManagementAgentImagesResponse) String() string

type ListManagementAgentImagesSortByEnum

type ListManagementAgentImagesSortByEnum string

ListManagementAgentImagesSortByEnum Enum with underlying type: string

const (
	ListManagementAgentImagesSortByPlatformtype ListManagementAgentImagesSortByEnum = "platformType"
	ListManagementAgentImagesSortByVersion      ListManagementAgentImagesSortByEnum = "version"
)

Set of constants representing the allowable values for ListManagementAgentImagesSortByEnum

func GetListManagementAgentImagesSortByEnumValues

func GetListManagementAgentImagesSortByEnumValues() []ListManagementAgentImagesSortByEnum

GetListManagementAgentImagesSortByEnumValues Enumerates the set of values for ListManagementAgentImagesSortByEnum

func GetMappingListManagementAgentImagesSortByEnum

func GetMappingListManagementAgentImagesSortByEnum(val string) (ListManagementAgentImagesSortByEnum, bool)

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

type ListManagementAgentImagesSortOrderEnum

type ListManagementAgentImagesSortOrderEnum string

ListManagementAgentImagesSortOrderEnum Enum with underlying type: string

const (
	ListManagementAgentImagesSortOrderAsc  ListManagementAgentImagesSortOrderEnum = "ASC"
	ListManagementAgentImagesSortOrderDesc ListManagementAgentImagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagementAgentImagesSortOrderEnum

func GetListManagementAgentImagesSortOrderEnumValues

func GetListManagementAgentImagesSortOrderEnumValues() []ListManagementAgentImagesSortOrderEnum

GetListManagementAgentImagesSortOrderEnumValues Enumerates the set of values for ListManagementAgentImagesSortOrderEnum

func GetMappingListManagementAgentImagesSortOrderEnum

func GetMappingListManagementAgentImagesSortOrderEnum(val string) (ListManagementAgentImagesSortOrderEnum, bool)

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

type ListManagementAgentInstallKeysLifecycleStateEnum

type ListManagementAgentInstallKeysLifecycleStateEnum string

ListManagementAgentInstallKeysLifecycleStateEnum Enum with underlying type: string

const (
	ListManagementAgentInstallKeysLifecycleStateCreating   ListManagementAgentInstallKeysLifecycleStateEnum = "CREATING"
	ListManagementAgentInstallKeysLifecycleStateUpdating   ListManagementAgentInstallKeysLifecycleStateEnum = "UPDATING"
	ListManagementAgentInstallKeysLifecycleStateActive     ListManagementAgentInstallKeysLifecycleStateEnum = "ACTIVE"
	ListManagementAgentInstallKeysLifecycleStateInactive   ListManagementAgentInstallKeysLifecycleStateEnum = "INACTIVE"
	ListManagementAgentInstallKeysLifecycleStateTerminated ListManagementAgentInstallKeysLifecycleStateEnum = "TERMINATED"
	ListManagementAgentInstallKeysLifecycleStateDeleting   ListManagementAgentInstallKeysLifecycleStateEnum = "DELETING"
	ListManagementAgentInstallKeysLifecycleStateDeleted    ListManagementAgentInstallKeysLifecycleStateEnum = "DELETED"
	ListManagementAgentInstallKeysLifecycleStateFailed     ListManagementAgentInstallKeysLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagementAgentInstallKeysLifecycleStateEnum

func GetListManagementAgentInstallKeysLifecycleStateEnumValues

func GetListManagementAgentInstallKeysLifecycleStateEnumValues() []ListManagementAgentInstallKeysLifecycleStateEnum

GetListManagementAgentInstallKeysLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentInstallKeysLifecycleStateEnum

func GetMappingListManagementAgentInstallKeysLifecycleStateEnum

func GetMappingListManagementAgentInstallKeysLifecycleStateEnum(val string) (ListManagementAgentInstallKeysLifecycleStateEnum, bool)

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

type ListManagementAgentInstallKeysRequest

type ListManagementAgentInstallKeysRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// Value of this is always "ACCESSIBLE" and any other value is not supported.
	AccessLevel *string `mandatory:"false" contributesTo:"query" name:"accessLevel"`

	// Filter to return only Management Agents in the particular lifecycle state.
	LifecycleState ListManagementAgentInstallKeysLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The display name for which the Key needs to be listed.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagementAgentInstallKeysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListManagementAgentInstallKeysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

ListManagementAgentInstallKeysRequest wrapper for the ListManagementAgentInstallKeys operation

See also

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

func (ListManagementAgentInstallKeysRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagementAgentInstallKeysRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentInstallKeysRequest) RetryPolicy

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

func (ListManagementAgentInstallKeysRequest) String

func (ListManagementAgentInstallKeysRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListManagementAgentInstallKeysResponse

type ListManagementAgentInstallKeysResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagementAgentInstallKeySummary instances
	Items []ManagementAgentInstallKeySummary `presentIn:"body"`

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

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

ListManagementAgentInstallKeysResponse wrapper for the ListManagementAgentInstallKeys operation

func (ListManagementAgentInstallKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentInstallKeysResponse) String

type ListManagementAgentInstallKeysSortByEnum

type ListManagementAgentInstallKeysSortByEnum string

ListManagementAgentInstallKeysSortByEnum Enum with underlying type: string

const (
	ListManagementAgentInstallKeysSortByTimecreated ListManagementAgentInstallKeysSortByEnum = "timeCreated"
	ListManagementAgentInstallKeysSortByDisplayname ListManagementAgentInstallKeysSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagementAgentInstallKeysSortByEnum

func GetListManagementAgentInstallKeysSortByEnumValues

func GetListManagementAgentInstallKeysSortByEnumValues() []ListManagementAgentInstallKeysSortByEnum

GetListManagementAgentInstallKeysSortByEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortByEnum

func GetMappingListManagementAgentInstallKeysSortByEnum

func GetMappingListManagementAgentInstallKeysSortByEnum(val string) (ListManagementAgentInstallKeysSortByEnum, bool)

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

type ListManagementAgentInstallKeysSortOrderEnum

type ListManagementAgentInstallKeysSortOrderEnum string

ListManagementAgentInstallKeysSortOrderEnum Enum with underlying type: string

const (
	ListManagementAgentInstallKeysSortOrderAsc  ListManagementAgentInstallKeysSortOrderEnum = "ASC"
	ListManagementAgentInstallKeysSortOrderDesc ListManagementAgentInstallKeysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagementAgentInstallKeysSortOrderEnum

func GetListManagementAgentInstallKeysSortOrderEnumValues

func GetListManagementAgentInstallKeysSortOrderEnumValues() []ListManagementAgentInstallKeysSortOrderEnum

GetListManagementAgentInstallKeysSortOrderEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortOrderEnum

func GetMappingListManagementAgentInstallKeysSortOrderEnum

func GetMappingListManagementAgentInstallKeysSortOrderEnum(val string) (ListManagementAgentInstallKeysSortOrderEnum, bool)

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

type ListManagementAgentPluginsLifecycleStateEnum

type ListManagementAgentPluginsLifecycleStateEnum string

ListManagementAgentPluginsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagementAgentPluginsLifecycleStateCreating   ListManagementAgentPluginsLifecycleStateEnum = "CREATING"
	ListManagementAgentPluginsLifecycleStateUpdating   ListManagementAgentPluginsLifecycleStateEnum = "UPDATING"
	ListManagementAgentPluginsLifecycleStateActive     ListManagementAgentPluginsLifecycleStateEnum = "ACTIVE"
	ListManagementAgentPluginsLifecycleStateInactive   ListManagementAgentPluginsLifecycleStateEnum = "INACTIVE"
	ListManagementAgentPluginsLifecycleStateTerminated ListManagementAgentPluginsLifecycleStateEnum = "TERMINATED"
	ListManagementAgentPluginsLifecycleStateDeleting   ListManagementAgentPluginsLifecycleStateEnum = "DELETING"
	ListManagementAgentPluginsLifecycleStateDeleted    ListManagementAgentPluginsLifecycleStateEnum = "DELETED"
	ListManagementAgentPluginsLifecycleStateFailed     ListManagementAgentPluginsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagementAgentPluginsLifecycleStateEnum

func GetListManagementAgentPluginsLifecycleStateEnumValues

func GetListManagementAgentPluginsLifecycleStateEnumValues() []ListManagementAgentPluginsLifecycleStateEnum

GetListManagementAgentPluginsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentPluginsLifecycleStateEnum

func GetMappingListManagementAgentPluginsLifecycleStateEnum

func GetMappingListManagementAgentPluginsLifecycleStateEnum(val string) (ListManagementAgentPluginsLifecycleStateEnum, bool)

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

type ListManagementAgentPluginsRequest

type ListManagementAgentPluginsRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Filter to return only Management Agent Plugins having the particular display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagementAgentPluginsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Default order for displayName is ascending. If no value is specified displayName is default.
	SortBy ListManagementAgentPluginsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// Filter to return only Management Agents in the particular lifecycle state.
	LifecycleState ListManagementAgentPluginsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter to return only results having the particular platform type.
	PlatformType []PlatformTypesEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`

	// The ManagementAgentID of the agent from which the Management Agents to be filtered.
	AgentId *string `mandatory:"false" contributesTo:"query" name:"agentId"`

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

ListManagementAgentPluginsRequest wrapper for the ListManagementAgentPlugins operation

See also

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

func (ListManagementAgentPluginsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagementAgentPluginsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentPluginsRequest) RetryPolicy

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

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

func (ListManagementAgentPluginsRequest) String

func (request ListManagementAgentPluginsRequest) String() string

func (ListManagementAgentPluginsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListManagementAgentPluginsResponse

type ListManagementAgentPluginsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagementAgentPluginSummary instances
	Items []ManagementAgentPluginSummary `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"`
}

ListManagementAgentPluginsResponse wrapper for the ListManagementAgentPlugins operation

func (ListManagementAgentPluginsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentPluginsResponse) String

func (response ListManagementAgentPluginsResponse) String() string

type ListManagementAgentPluginsSortByEnum

type ListManagementAgentPluginsSortByEnum string

ListManagementAgentPluginsSortByEnum Enum with underlying type: string

const (
	ListManagementAgentPluginsSortByDisplayname ListManagementAgentPluginsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListManagementAgentPluginsSortByEnum

func GetListManagementAgentPluginsSortByEnumValues

func GetListManagementAgentPluginsSortByEnumValues() []ListManagementAgentPluginsSortByEnum

GetListManagementAgentPluginsSortByEnumValues Enumerates the set of values for ListManagementAgentPluginsSortByEnum

func GetMappingListManagementAgentPluginsSortByEnum

func GetMappingListManagementAgentPluginsSortByEnum(val string) (ListManagementAgentPluginsSortByEnum, bool)

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

type ListManagementAgentPluginsSortOrderEnum

type ListManagementAgentPluginsSortOrderEnum string

ListManagementAgentPluginsSortOrderEnum Enum with underlying type: string

const (
	ListManagementAgentPluginsSortOrderAsc  ListManagementAgentPluginsSortOrderEnum = "ASC"
	ListManagementAgentPluginsSortOrderDesc ListManagementAgentPluginsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagementAgentPluginsSortOrderEnum

func GetListManagementAgentPluginsSortOrderEnumValues

func GetListManagementAgentPluginsSortOrderEnumValues() []ListManagementAgentPluginsSortOrderEnum

GetListManagementAgentPluginsSortOrderEnumValues Enumerates the set of values for ListManagementAgentPluginsSortOrderEnum

func GetMappingListManagementAgentPluginsSortOrderEnum

func GetMappingListManagementAgentPluginsSortOrderEnum(val string) (ListManagementAgentPluginsSortOrderEnum, bool)

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

type ListManagementAgentsAvailabilityStatusEnum

type ListManagementAgentsAvailabilityStatusEnum string

ListManagementAgentsAvailabilityStatusEnum Enum with underlying type: string

const (
	ListManagementAgentsAvailabilityStatusActive       ListManagementAgentsAvailabilityStatusEnum = "ACTIVE"
	ListManagementAgentsAvailabilityStatusSilent       ListManagementAgentsAvailabilityStatusEnum = "SILENT"
	ListManagementAgentsAvailabilityStatusNotAvailable ListManagementAgentsAvailabilityStatusEnum = "NOT_AVAILABLE"
)

Set of constants representing the allowable values for ListManagementAgentsAvailabilityStatusEnum

func GetListManagementAgentsAvailabilityStatusEnumValues

func GetListManagementAgentsAvailabilityStatusEnumValues() []ListManagementAgentsAvailabilityStatusEnum

GetListManagementAgentsAvailabilityStatusEnumValues Enumerates the set of values for ListManagementAgentsAvailabilityStatusEnum

func GetMappingListManagementAgentsAvailabilityStatusEnum

func GetMappingListManagementAgentsAvailabilityStatusEnum(val string) (ListManagementAgentsAvailabilityStatusEnum, bool)

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

type ListManagementAgentsDataSourceTypeEnum added in v65.58.0

type ListManagementAgentsDataSourceTypeEnum string

ListManagementAgentsDataSourceTypeEnum Enum with underlying type: string

const (
	ListManagementAgentsDataSourceTypeKubernetesCluster ListManagementAgentsDataSourceTypeEnum = "KUBERNETES_CLUSTER"
	ListManagementAgentsDataSourceTypePrometheusEmitter ListManagementAgentsDataSourceTypeEnum = "PROMETHEUS_EMITTER"
)

Set of constants representing the allowable values for ListManagementAgentsDataSourceTypeEnum

func GetListManagementAgentsDataSourceTypeEnumValues added in v65.58.0

func GetListManagementAgentsDataSourceTypeEnumValues() []ListManagementAgentsDataSourceTypeEnum

GetListManagementAgentsDataSourceTypeEnumValues Enumerates the set of values for ListManagementAgentsDataSourceTypeEnum

func GetMappingListManagementAgentsDataSourceTypeEnum added in v65.58.0

func GetMappingListManagementAgentsDataSourceTypeEnum(val string) (ListManagementAgentsDataSourceTypeEnum, bool)

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

type ListManagementAgentsInstallTypeEnum

type ListManagementAgentsInstallTypeEnum string

ListManagementAgentsInstallTypeEnum Enum with underlying type: string

const (
	ListManagementAgentsInstallTypeAgent   ListManagementAgentsInstallTypeEnum = "AGENT"
	ListManagementAgentsInstallTypeGateway ListManagementAgentsInstallTypeEnum = "GATEWAY"
)

Set of constants representing the allowable values for ListManagementAgentsInstallTypeEnum

func GetListManagementAgentsInstallTypeEnumValues

func GetListManagementAgentsInstallTypeEnumValues() []ListManagementAgentsInstallTypeEnum

GetListManagementAgentsInstallTypeEnumValues Enumerates the set of values for ListManagementAgentsInstallTypeEnum

func GetMappingListManagementAgentsInstallTypeEnum

func GetMappingListManagementAgentsInstallTypeEnum(val string) (ListManagementAgentsInstallTypeEnum, bool)

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

type ListManagementAgentsLifecycleStateEnum

type ListManagementAgentsLifecycleStateEnum string

ListManagementAgentsLifecycleStateEnum Enum with underlying type: string

const (
	ListManagementAgentsLifecycleStateCreating   ListManagementAgentsLifecycleStateEnum = "CREATING"
	ListManagementAgentsLifecycleStateUpdating   ListManagementAgentsLifecycleStateEnum = "UPDATING"
	ListManagementAgentsLifecycleStateActive     ListManagementAgentsLifecycleStateEnum = "ACTIVE"
	ListManagementAgentsLifecycleStateInactive   ListManagementAgentsLifecycleStateEnum = "INACTIVE"
	ListManagementAgentsLifecycleStateTerminated ListManagementAgentsLifecycleStateEnum = "TERMINATED"
	ListManagementAgentsLifecycleStateDeleting   ListManagementAgentsLifecycleStateEnum = "DELETING"
	ListManagementAgentsLifecycleStateDeleted    ListManagementAgentsLifecycleStateEnum = "DELETED"
	ListManagementAgentsLifecycleStateFailed     ListManagementAgentsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListManagementAgentsLifecycleStateEnum

func GetListManagementAgentsLifecycleStateEnumValues

func GetListManagementAgentsLifecycleStateEnumValues() []ListManagementAgentsLifecycleStateEnum

GetListManagementAgentsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentsLifecycleStateEnum

func GetMappingListManagementAgentsLifecycleStateEnum

func GetMappingListManagementAgentsLifecycleStateEnum(val string) (ListManagementAgentsLifecycleStateEnum, bool)

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

type ListManagementAgentsRequest

type ListManagementAgentsRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Filter to return only Management Agents having the particular Plugin installed. A special pluginName of 'None' can be provided and this will return only Management Agents having no plugin installed.
	PluginName []string `contributesTo:"query" name:"pluginName" collectionFormat:"multi"`

	// Filter to return only Management Agents having the particular agent version.
	Version []string `contributesTo:"query" name:"version" collectionFormat:"multi"`

	// Filter to return only Management Agents having the particular display name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Filter to return only Management Agents in the particular lifecycle state.
	LifecycleState ListManagementAgentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// Filter to return only Management Agents in the particular availability status.
	AvailabilityStatus ListManagementAgentsAvailabilityStatusEnum `mandatory:"false" contributesTo:"query" name:"availabilityStatus" omitEmpty:"true"`

	// Filter to return only Management Agents having the particular agent host id.
	HostId *string `mandatory:"false" contributesTo:"query" name:"hostId"`

	// Filter to return only results having the particular platform type.
	PlatformType []PlatformTypesEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`

	// true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.
	IsCustomerDeployed *bool `mandatory:"false" contributesTo:"query" name:"isCustomerDeployed"`

	// A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
	InstallType ListManagementAgentsInstallTypeEnum `mandatory:"false" contributesTo:"query" name:"installType" omitEmpty:"true"`

	// Filter to return only results having the particular gatewayId.
	GatewayId []string `contributesTo:"query" name:"gatewayId" collectionFormat:"multi"`

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

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListManagementAgentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListManagementAgentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// When the value is "ACCESSIBLE", insufficient permissions for a compartment will filter out resources in that compartment without rejecting the request.
	AccessLevel *string `mandatory:"false" contributesTo:"query" name:"accessLevel"`

	// The type of the dataSource.
	DataSourceType ListManagementAgentsDataSourceTypeEnum `mandatory:"false" contributesTo:"query" name:"dataSourceType" omitEmpty:"true"`

	// Unique name of the dataSource.
	DataSourceName []string `contributesTo:"query" name:"dataSourceName" collectionFormat:"multi"`

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

ListManagementAgentsRequest wrapper for the ListManagementAgents operation

See also

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

func (ListManagementAgentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListManagementAgentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentsRequest) RetryPolicy

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

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

func (ListManagementAgentsRequest) String

func (request ListManagementAgentsRequest) String() string

func (ListManagementAgentsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListManagementAgentsResponse

type ListManagementAgentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []ManagementAgentSummary instances
	Items []ManagementAgentSummary `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"`
}

ListManagementAgentsResponse wrapper for the ListManagementAgents operation

func (ListManagementAgentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentsResponse) String

func (response ListManagementAgentsResponse) String() string

type ListManagementAgentsSortByEnum

type ListManagementAgentsSortByEnum string

ListManagementAgentsSortByEnum Enum with underlying type: string

const (
	ListManagementAgentsSortByTimecreated        ListManagementAgentsSortByEnum = "timeCreated"
	ListManagementAgentsSortByDisplayname        ListManagementAgentsSortByEnum = "displayName"
	ListManagementAgentsSortByHost               ListManagementAgentsSortByEnum = "host"
	ListManagementAgentsSortByAvailabilitystatus ListManagementAgentsSortByEnum = "availabilityStatus"
	ListManagementAgentsSortByPlatformtype       ListManagementAgentsSortByEnum = "platformType"
	ListManagementAgentsSortByPlugindisplaynames ListManagementAgentsSortByEnum = "pluginDisplayNames"
	ListManagementAgentsSortByVersion            ListManagementAgentsSortByEnum = "version"
)

Set of constants representing the allowable values for ListManagementAgentsSortByEnum

func GetListManagementAgentsSortByEnumValues

func GetListManagementAgentsSortByEnumValues() []ListManagementAgentsSortByEnum

GetListManagementAgentsSortByEnumValues Enumerates the set of values for ListManagementAgentsSortByEnum

func GetMappingListManagementAgentsSortByEnum

func GetMappingListManagementAgentsSortByEnum(val string) (ListManagementAgentsSortByEnum, bool)

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

type ListManagementAgentsSortOrderEnum

type ListManagementAgentsSortOrderEnum string

ListManagementAgentsSortOrderEnum Enum with underlying type: string

const (
	ListManagementAgentsSortOrderAsc  ListManagementAgentsSortOrderEnum = "ASC"
	ListManagementAgentsSortOrderDesc ListManagementAgentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListManagementAgentsSortOrderEnum

func GetListManagementAgentsSortOrderEnumValues

func GetListManagementAgentsSortOrderEnumValues() []ListManagementAgentsSortOrderEnum

GetListManagementAgentsSortOrderEnumValues Enumerates the set of values for ListManagementAgentsSortOrderEnum

func GetMappingListManagementAgentsSortOrderEnum

func GetMappingListManagementAgentsSortOrderEnum(val string) (ListManagementAgentsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may
	SortBy ListWorkRequestErrorsSortByEnum `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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestError instances
	Items []WorkRequestError `presentIn:"body"`

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may
	SortBy ListWorkRequestLogsSortByEnum `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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestLogEntry instances
	Items []WorkRequestLogEntry `presentIn:"body"`

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The ManagementAgentID of the agent from which the Management Agents to be filtered.
	AgentId *string `mandatory:"false" contributesTo:"query" name:"agentId"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The OperationStatus of the workRequest
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The OperationType of the workRequest
	Type []OperationTypesEnum `contributesTo:"query" name:"type" omitEmpty:"true" collectionFormat:"multi"`

	// Filter for items with timeCreated greater or equal to provided value.
	// given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a
	// Z offset, as defined by RFC 3339.
	TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

	// The sort order to use, either 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. If no value is specified timeAccepted is default.
	SortBy ListWorkRequestsSortByEnum `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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestSummary instances
	Items []WorkRequestSummary `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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusCreated    ListWorkRequestsStatusEnum = "CREATED"
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type ManagementAgent

type ManagementAgent struct {

	// agent identifier
	Id *string `mandatory:"true" json:"id"`

	// Management Agent Version
	Version *string `mandatory:"true" json:"version"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// agent install key identifier
	InstallKeyId *string `mandatory:"false" json:"installKeyId"`

	// Management Agent Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Platform Type
	PlatformType PlatformTypesEnum `mandatory:"false" json:"platformType,omitempty"`

	// Platform Name
	PlatformName *string `mandatory:"false" json:"platformName"`

	// Platform Version
	PlatformVersion *string `mandatory:"false" json:"platformVersion"`

	// Version of the deployment artifact instantiated by this Management Agent.
	// The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes
	// (whose artifacts are based upon Standalone but can advance independently)
	// is YYMMDD.HHMM.VVVVVVVVVVVV.
	// VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999
	ResourceArtifactVersion *string `mandatory:"false" json:"resourceArtifactVersion"`

	// Management Agent host machine name
	Host *string `mandatory:"false" json:"host"`

	// Host resource ocid
	HostId *string `mandatory:"false" json:"hostId"`

	// Path where Management Agent is installed
	InstallPath *string `mandatory:"false" json:"installPath"`

	// list of managementAgentPlugins associated with the agent
	PluginList []ManagementAgentPluginDetails `mandatory:"false" json:"pluginList"`

	// true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.
	IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"`

	// The time the Management Agent was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Management Agent was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The time the Management Agent has last recorded its health status in telemetry. This value will be null if the agent has not recorded its health status in last 7 days. An RFC3339 formatted datetime string
	TimeLastHeartbeat *common.SDKTime `mandatory:"false" json:"timeLastHeartbeat"`

	// The current availability status of managementAgent
	AvailabilityStatus AvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"`

	// The current state of managementAgent
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.
	IsCustomerDeployed *bool `mandatory:"false" json:"isCustomerDeployed"`

	// The install type, either AGENT or GATEWAY
	InstallType InstallTypesEnum `mandatory:"false" json:"installType,omitempty"`

	// Additional properties for this Management Agent
	ManagementAgentProperties []ManagementAgentProperty `mandatory:"false" json:"managementAgentProperties"`

	// list of dataSources associated with the agent
	DataSourceList []DataSource `mandatory:"false" json:"dataSourceList"`

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

ManagementAgent The details of the Management Agent inventory including the associated plugins.

func (ManagementAgent) String

func (m ManagementAgent) String() string

func (*ManagementAgent) UnmarshalJSON added in v65.58.0

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

UnmarshalJSON unmarshals from json

func (ManagementAgent) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentAggregation

type ManagementAgentAggregation struct {
	Dimensions *ManagementAgentAggregationDimensions `mandatory:"false" json:"dimensions"`

	// The number of Management Agents in this group
	Count *int `mandatory:"false" json:"count"`
}

ManagementAgentAggregation A count of Management Agents sharing the values for specified dimensions.

func (ManagementAgentAggregation) String

func (ManagementAgentAggregation) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentAggregationCollection

type ManagementAgentAggregationCollection struct {

	// List in which each item describes an aggregation of Managment Agents
	Items []ManagementAgentAggregation `mandatory:"true" json:"items"`
}

ManagementAgentAggregationCollection The summary of Management Agent count items

func (ManagementAgentAggregationCollection) String

func (ManagementAgentAggregationCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentAggregationDimensions

type ManagementAgentAggregationDimensions struct {

	// The availability status of managementAgent
	AvailabilityStatus AvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"`

	// Platform Type
	PlatformType PlatformTypesEnum `mandatory:"false" json:"platformType,omitempty"`

	// Agent image version
	Version *string `mandatory:"false" json:"version"`

	// Whether or not a managementAgent has at least one plugin
	HasPlugins *bool `mandatory:"false" json:"hasPlugins"`

	// The install type, either AGENT or GATEWAY
	InstallType InstallTypesEnum `mandatory:"false" json:"installType,omitempty"`
}

ManagementAgentAggregationDimensions The Aggregation of Management Agent Dimensions

func (ManagementAgentAggregationDimensions) String

func (ManagementAgentAggregationDimensions) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentClient

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

ManagementAgentClient a client for ManagementAgent

func NewManagementAgentClientWithConfigurationProvider

func NewManagementAgentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagementAgentClient, err error)

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

func NewManagementAgentClientWithOboToken

func NewManagementAgentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagementAgentClient, err error)

NewManagementAgentClientWithOboToken Creates a new default ManagementAgent 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 (*ManagementAgentClient) ConfigurationProvider

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

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

func (ManagementAgentClient) CreateDataSource added in v65.58.0

func (client ManagementAgentClient) CreateDataSource(ctx context.Context, request CreateDataSourceRequest) (response CreateDataSourceResponse, err error)

CreateDataSource Datasource creation request to given Management Agent.

See also

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

func (ManagementAgentClient) CreateManagementAgentInstallKey

func (client ManagementAgentClient) CreateManagementAgentInstallKey(ctx context.Context, request CreateManagementAgentInstallKeyRequest) (response CreateManagementAgentInstallKeyResponse, err error)

CreateManagementAgentInstallKey User creates a new install key as part of this API.

See also

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

func (ManagementAgentClient) DeleteDataSource added in v65.58.0

func (client ManagementAgentClient) DeleteDataSource(ctx context.Context, request DeleteDataSourceRequest) (response DeleteDataSourceResponse, err error)

DeleteDataSource Datasource delete request to given Management Agent.

See also

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

func (ManagementAgentClient) DeleteManagementAgent

func (client ManagementAgentClient) DeleteManagementAgent(ctx context.Context, request DeleteManagementAgentRequest) (response DeleteManagementAgentResponse, err error)

DeleteManagementAgent Deletes a Management Agent resource by identifier

See also

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

func (ManagementAgentClient) DeleteManagementAgentInstallKey

func (client ManagementAgentClient) DeleteManagementAgentInstallKey(ctx context.Context, request DeleteManagementAgentInstallKeyRequest) (response DeleteManagementAgentInstallKeyResponse, err error)

DeleteManagementAgentInstallKey Deletes a Management Agent install Key resource by identifier

See also

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

func (ManagementAgentClient) DeleteWorkRequest

func (client ManagementAgentClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)

DeleteWorkRequest Cancel the work request with the given ID.

See also

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

func (ManagementAgentClient) DeployPlugins

func (client ManagementAgentClient) DeployPlugins(ctx context.Context, request DeployPluginsRequest) (response DeployPluginsResponse, err error)

DeployPlugins Deploys Plugins to a given list of agentIds.

See also

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

func (ManagementAgentClient) GetAutoUpgradableConfig

func (client ManagementAgentClient) GetAutoUpgradableConfig(ctx context.Context, request GetAutoUpgradableConfigRequest) (response GetAutoUpgradableConfigResponse, err error)

GetAutoUpgradableConfig Get the AutoUpgradable configuration for all agents in a tenancy. The supplied compartmentId must be a tenancy root.

See also

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

func (ManagementAgentClient) GetDataSource added in v65.58.0

func (client ManagementAgentClient) GetDataSource(ctx context.Context, request GetDataSourceRequest) (response GetDataSourceResponse, err error)

GetDataSource Get Datasource details for given Id and given Management Agent.

See also

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

func (ManagementAgentClient) GetManagementAgent

func (client ManagementAgentClient) GetManagementAgent(ctx context.Context, request GetManagementAgentRequest) (response GetManagementAgentResponse, err error)

GetManagementAgent Gets complete details of the inventory of a given agent id

See also

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

func (ManagementAgentClient) GetManagementAgentInstallKey

func (client ManagementAgentClient) GetManagementAgentInstallKey(ctx context.Context, request GetManagementAgentInstallKeyRequest) (response GetManagementAgentInstallKeyResponse, err error)

GetManagementAgentInstallKey Gets complete details of the Agent install Key for a given key id

See also

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

func (ManagementAgentClient) GetManagementAgentInstallKeyContent

func (client ManagementAgentClient) GetManagementAgentInstallKeyContent(ctx context.Context, request GetManagementAgentInstallKeyContentRequest) (response GetManagementAgentInstallKeyContentResponse, err error)

GetManagementAgentInstallKeyContent Returns a file with Management Agent install Key in it

See also

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

func (ManagementAgentClient) GetWorkRequest

func (client ManagementAgentClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request with the given ID.

See also

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

func (ManagementAgentClient) ListAvailabilityHistories

func (client ManagementAgentClient) ListAvailabilityHistories(ctx context.Context, request ListAvailabilityHistoriesRequest) (response ListAvailabilityHistoriesResponse, err error)

ListAvailabilityHistories Lists the availability history records of Management Agent

See also

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

func (ManagementAgentClient) ListDataSources added in v65.58.0

func (client ManagementAgentClient) ListDataSources(ctx context.Context, request ListDataSourcesRequest) (response ListDataSourcesResponse, err error)

ListDataSources A list of Management Agent Data Sources for the given Management Agent Id.

See also

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

func (ManagementAgentClient) ListManagementAgentImages

func (client ManagementAgentClient) ListManagementAgentImages(ctx context.Context, request ListManagementAgentImagesRequest) (response ListManagementAgentImagesResponse, err error)

ListManagementAgentImages Get supported agent image information

See also

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

func (ManagementAgentClient) ListManagementAgentInstallKeys

func (client ManagementAgentClient) ListManagementAgentInstallKeys(ctx context.Context, request ListManagementAgentInstallKeysRequest) (response ListManagementAgentInstallKeysResponse, err error)

ListManagementAgentInstallKeys Returns a list of Management Agent installed Keys.

See also

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

func (ManagementAgentClient) ListManagementAgentPlugins

func (client ManagementAgentClient) ListManagementAgentPlugins(ctx context.Context, request ListManagementAgentPluginsRequest) (response ListManagementAgentPluginsResponse, err error)

ListManagementAgentPlugins Returns a list of managementAgentPlugins.

See also

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

func (ManagementAgentClient) ListManagementAgents

func (client ManagementAgentClient) ListManagementAgents(ctx context.Context, request ListManagementAgentsRequest) (response ListManagementAgentsResponse, err error)

ListManagementAgents Returns a list of Management Agents. If no explicit page size limit is specified, it will default to 1000 when compartmentIdInSubtree is true and 5000 otherwise. The response is limited to maximum 1000 records when compartmentIdInSubtree is true.

See also

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

func (ManagementAgentClient) ListWorkRequestErrors

func (client ManagementAgentClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

See also

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

func (ManagementAgentClient) ListWorkRequestLogs

func (client ManagementAgentClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

See also

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

func (ManagementAgentClient) ListWorkRequests

func (client ManagementAgentClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (ManagementAgentClient) SetAutoUpgradableConfig

func (client ManagementAgentClient) SetAutoUpgradableConfig(ctx context.Context, request SetAutoUpgradableConfigRequest) (response SetAutoUpgradableConfigResponse, err error)

SetAutoUpgradableConfig Sets the AutoUpgradable configuration for all agents in a tenancy. The supplied compartmentId must be a tenancy root.

See also

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

func (*ManagementAgentClient) SetRegion

func (client *ManagementAgentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ManagementAgentClient) SummarizeManagementAgentCounts

func (client ManagementAgentClient) SummarizeManagementAgentCounts(ctx context.Context, request SummarizeManagementAgentCountsRequest) (response SummarizeManagementAgentCountsResponse, err error)

SummarizeManagementAgentCounts Gets count of the inventory of agents for a given compartment id, group by, and isPluginDeployed parameters. Supported groupBy parameters: availabilityStatus, platformType, version

See also

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

func (ManagementAgentClient) SummarizeManagementAgentPluginCounts

func (client ManagementAgentClient) SummarizeManagementAgentPluginCounts(ctx context.Context, request SummarizeManagementAgentPluginCountsRequest) (response SummarizeManagementAgentPluginCountsResponse, err error)

SummarizeManagementAgentPluginCounts Gets count of the inventory of management agent plugins for a given compartment id and group by parameter. Supported groupBy parameter: pluginName

See also

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

func (ManagementAgentClient) UpdateDataSource added in v65.58.0

func (client ManagementAgentClient) UpdateDataSource(ctx context.Context, request UpdateDataSourceRequest) (response UpdateDataSourceResponse, err error)

UpdateDataSource Datasource update request to given Management Agent.

See also

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

func (ManagementAgentClient) UpdateManagementAgent

func (client ManagementAgentClient) UpdateManagementAgent(ctx context.Context, request UpdateManagementAgentRequest) (response UpdateManagementAgentResponse, err error)

UpdateManagementAgent API to update the console managed properties of the Management Agent.

See also

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

func (ManagementAgentClient) UpdateManagementAgentInstallKey

func (client ManagementAgentClient) UpdateManagementAgentInstallKey(ctx context.Context, request UpdateManagementAgentInstallKeyRequest) (response UpdateManagementAgentInstallKeyResponse, err error)

UpdateManagementAgentInstallKey API to update the modifiable properties of the Management Agent install key.

See also

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

type ManagementAgentError

type ManagementAgentError struct {

	// A short error code that defines the error, meant for programmatic parsing.
	Code *string `mandatory:"true" json:"code"`

	// A human-readable error string.
	Message *string `mandatory:"true" json:"message"`
}

ManagementAgentError Error Information.

func (ManagementAgentError) String

func (m ManagementAgentError) String() string

func (ManagementAgentError) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentGroupByEnum

type ManagementAgentGroupByEnum string

ManagementAgentGroupByEnum Enum with underlying type: string

const (
	ManagementAgentGroupByAvailabilityStatus ManagementAgentGroupByEnum = "availabilityStatus"
	ManagementAgentGroupByPlatformType       ManagementAgentGroupByEnum = "platformType"
	ManagementAgentGroupByVersion            ManagementAgentGroupByEnum = "version"
)

Set of constants representing the allowable values for ManagementAgentGroupByEnum

func GetManagementAgentGroupByEnumValues

func GetManagementAgentGroupByEnumValues() []ManagementAgentGroupByEnum

GetManagementAgentGroupByEnumValues Enumerates the set of values for ManagementAgentGroupByEnum

func GetMappingManagementAgentGroupByEnum

func GetMappingManagementAgentGroupByEnum(val string) (ManagementAgentGroupByEnum, bool)

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

type ManagementAgentImage

type ManagementAgentImage struct {

	// Agent image resource id
	Id *string `mandatory:"true" json:"id"`

	// Agent image platform type
	PlatformType PlatformTypesEnum `mandatory:"true" json:"platformType"`

	// Agent image version
	Version *string `mandatory:"true" json:"version"`

	// Agent image platform display name
	PlatformName *string `mandatory:"false" json:"platformName"`

	// The installation package type
	PackageType PackageTypesEnum `mandatory:"false" json:"packageType,omitempty"`

	// The installation package target architecture type
	PackageArchitectureType ArchitectureTypesEnum `mandatory:"false" json:"packageArchitectureType,omitempty"`

	// Agent image size in bytes
	Size *float32 `mandatory:"false" json:"size"`

	// Agent image content SHA256 Hash
	Checksum *string `mandatory:"false" json:"checksum"`

	// Object storage URL for download
	ObjectUrl *string `mandatory:"false" json:"objectUrl"`

	ImageObjectStorageDetails *ObjectDetails `mandatory:"false" json:"imageObjectStorageDetails"`

	// The current state of Management Agent Image
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManagementAgentImage Supported Agent downloads

func (ManagementAgentImage) String

func (m ManagementAgentImage) String() string

func (ManagementAgentImage) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentImageSummary

type ManagementAgentImageSummary struct {

	// Agent image resource id
	Id *string `mandatory:"true" json:"id"`

	// Agent image platform type
	PlatformType PlatformTypesEnum `mandatory:"true" json:"platformType"`

	// Agent image version
	Version *string `mandatory:"true" json:"version"`

	// Agent image platform display name
	PlatformName *string `mandatory:"false" json:"platformName"`

	// The installation package type
	PackageType PackageTypesEnum `mandatory:"false" json:"packageType,omitempty"`

	// The installation package target architecture type
	PackageArchitectureType ArchitectureTypesEnum `mandatory:"false" json:"packageArchitectureType,omitempty"`

	// Agent image size in bytes
	Size *float32 `mandatory:"false" json:"size"`

	// Agent image content SHA256 Hash
	Checksum *string `mandatory:"false" json:"checksum"`

	// Object storage URL for download
	ObjectUrl *string `mandatory:"false" json:"objectUrl"`

	ImageObjectStorageDetails *ObjectDetails `mandatory:"false" json:"imageObjectStorageDetails"`

	// The current state of Management Agent Image
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManagementAgentImageSummary Supported Agent downloads

func (ManagementAgentImageSummary) String

func (ManagementAgentImageSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentInstallKey

type ManagementAgentInstallKey struct {

	// Agent install Key identifier
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Management Agent Install Key Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Management Agent Install Key
	Key *string `mandatory:"false" json:"key"`

	// Principal id of user who created the Agent Install key
	CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"`

	// Total number of install for this keys
	AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"`

	// Total number of install for this keys
	CurrentKeyInstallCount *int `mandatory:"false" json:"currentKeyInstallCount"`

	// Status of Key
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// date after which key would expire after creation
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// The time when Management Agent install Key was created. An RFC3339 formatted date time string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time when Management Agent install Key was updated. An RFC3339 formatted date time string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// If set to true, the install key has no expiration date or usage limit. Defaults to false
	IsUnlimited *bool `mandatory:"false" json:"isUnlimited"`
}

ManagementAgentInstallKey The details of the Agent install Key

func (ManagementAgentInstallKey) String

func (m ManagementAgentInstallKey) String() string

func (ManagementAgentInstallKey) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentInstallKeySummary

type ManagementAgentInstallKeySummary struct {

	// Agent Install Key identifier
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Management Agent Install Key Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Principal id of user who created the Agent Install key
	CreatedByPrincipalId *string `mandatory:"false" json:"createdByPrincipalId"`

	// Total number of install for this keys
	AllowedKeyInstallCount *int `mandatory:"false" json:"allowedKeyInstallCount"`

	// Total number of install for this keys
	CurrentKeyInstallCount *int `mandatory:"false" json:"currentKeyInstallCount"`

	// Status of Key
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// The time when Management Agent install Key was created. An RFC3339 formatted date time string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// date after which key would expire after creation
	TimeExpires *common.SDKTime `mandatory:"false" json:"timeExpires"`

	// If set to true, the install key has no expiration date or usage limit. Properties allowedKeyInstallCount and timeExpires are ignored if set to true. Defaults to false.
	IsUnlimited *bool `mandatory:"false" json:"isUnlimited"`
}

ManagementAgentInstallKeySummary The summary of the Agent Install Key details.

func (ManagementAgentInstallKeySummary) String

func (ManagementAgentInstallKeySummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPlugin

type ManagementAgentPlugin struct {

	// Management Agent Plugin Id
	Id *string `mandatory:"true" json:"id"`

	// Management Agent Plugin Name
	Name *string `mandatory:"true" json:"name"`

	// The current state of Management Agent Plugin
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// Management Agent Plugin Version
	Version *int `mandatory:"false" json:"version"`

	// Supported Platform Types
	SupportedPlatformTypes []PlatformTypesEnum `mandatory:"false" json:"supportedPlatformTypes,omitempty"`

	// Management Agent Plugin Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Management Agent Plugin description
	Description *string `mandatory:"false" json:"description"`

	// A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
	IsConsoleDeployable *bool `mandatory:"false" json:"isConsoleDeployable"`
}

ManagementAgentPlugin Summary of the ManagementAgentPlugin.

func (ManagementAgentPlugin) String

func (m ManagementAgentPlugin) String() string

func (ManagementAgentPlugin) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPluginAggregation

type ManagementAgentPluginAggregation struct {
	Dimensions *ManagementAgentPluginAggregationDimensions `mandatory:"false" json:"dimensions"`

	// The number of Management Agent Plugins in this group
	Count *int `mandatory:"false" json:"count"`
}

ManagementAgentPluginAggregation A count of Management Agents Plugins sharing the values for specified dimensions.

func (ManagementAgentPluginAggregation) String

func (ManagementAgentPluginAggregation) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPluginAggregationCollection

type ManagementAgentPluginAggregationCollection struct {

	// List in which each item describes an aggregation of Managment Agent Plugins
	Items []ManagementAgentPluginAggregation `mandatory:"true" json:"items"`
}

ManagementAgentPluginAggregationCollection The summary of Management Agent Plugin count items

func (ManagementAgentPluginAggregationCollection) String

func (ManagementAgentPluginAggregationCollection) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPluginAggregationDimensions

type ManagementAgentPluginAggregationDimensions struct {

	// Management Agent Plugin Name
	PluginName *string `mandatory:"false" json:"pluginName"`

	// Management Agent Plugin Display Name
	PluginDisplayName *string `mandatory:"false" json:"pluginDisplayName"`
}

ManagementAgentPluginAggregationDimensions The Aggregation of Management Agent Plugin Dimensions

func (ManagementAgentPluginAggregationDimensions) String

func (ManagementAgentPluginAggregationDimensions) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPluginDetails

type ManagementAgentPluginDetails struct {

	// Management Agent Plugin Name
	PluginName *string `mandatory:"true" json:"pluginName"`

	// Plugin Id
	PluginId *string `mandatory:"false" json:"pluginId"`

	// Management Agent Plugin Identifier, can be renamed
	PluginDisplayName *string `mandatory:"false" json:"pluginDisplayName"`

	// Plugin Version
	PluginVersion *string `mandatory:"false" json:"pluginVersion"`

	// Plugin Status
	PluginStatus PluginStatusEnum `mandatory:"false" json:"pluginStatus,omitempty"`

	// Status message of the Plugin
	PluginStatusMessage *string `mandatory:"false" json:"pluginStatusMessage"`

	// flag indicating whether the plugin is in enabled mode or disabled mode.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

ManagementAgentPluginDetails The information about the current management agent plugins that agent is having.

func (ManagementAgentPluginDetails) String

func (ManagementAgentPluginDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentPluginGroupByEnum

type ManagementAgentPluginGroupByEnum string

ManagementAgentPluginGroupByEnum Enum with underlying type: string

const (
	ManagementAgentPluginGroupByPluginName ManagementAgentPluginGroupByEnum = "pluginName"
)

Set of constants representing the allowable values for ManagementAgentPluginGroupByEnum

func GetManagementAgentPluginGroupByEnumValues

func GetManagementAgentPluginGroupByEnumValues() []ManagementAgentPluginGroupByEnum

GetManagementAgentPluginGroupByEnumValues Enumerates the set of values for ManagementAgentPluginGroupByEnum

func GetMappingManagementAgentPluginGroupByEnum

func GetMappingManagementAgentPluginGroupByEnum(val string) (ManagementAgentPluginGroupByEnum, bool)

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

type ManagementAgentPluginSummary

type ManagementAgentPluginSummary struct {

	// Management Agent Plugin Id
	Id *string `mandatory:"true" json:"id"`

	// Management Agent Plugin Name
	Name *string `mandatory:"true" json:"name"`

	// The current state of Management Agent Plugin
	LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`

	// Management Agent Plugin Version
	Version *int `mandatory:"false" json:"version"`

	// Supported Platform Types
	SupportedPlatformTypes []PlatformTypesEnum `mandatory:"false" json:"supportedPlatformTypes,omitempty"`

	// Management Agent Plugin Display Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Management Agent Plugin description
	Description *string `mandatory:"false" json:"description"`

	// A flag to indicate whether a given plugin can be deployed from Agent Console UI or not.
	IsConsoleDeployable *bool `mandatory:"false" json:"isConsoleDeployable"`
}

ManagementAgentPluginSummary Summary of the ManagementAgentPlugin.

func (ManagementAgentPluginSummary) String

func (ManagementAgentPluginSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 ManagementAgentProperty added in v65.32.0

type ManagementAgentProperty struct {

	// Name of the property
	Name *string `mandatory:"true" json:"name"`

	// Values of the property
	Values []string `mandatory:"true" json:"values"`

	// Unit for the property
	Units PropertyUnitsEnum `mandatory:"false" json:"units,omitempty"`
}

ManagementAgentProperty Property item in name/value pair, with optional unit type.

func (ManagementAgentProperty) String added in v65.32.0

func (m ManagementAgentProperty) String() string

func (ManagementAgentProperty) ValidateEnumValue added in v65.32.0

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

ValidateEnumValue returns an 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 ManagementAgentSummary

type ManagementAgentSummary struct {

	// agent identifier
	Id *string `mandatory:"true" json:"id"`

	// Management Agent Version
	Version *string `mandatory:"true" json:"version"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// agent install key identifier
	InstallKeyId *string `mandatory:"false" json:"installKeyId"`

	// Management Agent Name
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Platform Type
	PlatformType PlatformTypesEnum `mandatory:"false" json:"platformType,omitempty"`

	// Platform Name
	PlatformName *string `mandatory:"false" json:"platformName"`

	// Platform Version
	PlatformVersion *string `mandatory:"false" json:"platformVersion"`

	// Version of the deployment artifact instantiated by this Management Agent.
	// The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes
	// (whose artifacts are based upon Standalone but can advance independently)
	// is YYMMDD.HHMM.VVVVVVVVVVVV.
	// VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999
	ResourceArtifactVersion *string `mandatory:"false" json:"resourceArtifactVersion"`

	// true if the agent can be upgraded automatically; false if it must be upgraded manually. This flag is derived from the tenancy level auto upgrade preference.
	IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"`

	// The time the Management Agent was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Management Agent was last updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// Management Agent host machine name
	Host *string `mandatory:"false" json:"host"`

	// Host resource ocid
	HostId *string `mandatory:"false" json:"hostId"`

	// list of managementAgentPlugins associated with the agent
	PluginList []ManagementAgentPluginDetails `mandatory:"false" json:"pluginList"`

	// The time the Management Agent has last recorded its heartbeat. An RFC3339 formatted datetime string
	TimeLastHeartbeat *common.SDKTime `mandatory:"false" json:"timeLastHeartbeat"`

	// The current availability status of managementAgent
	AvailabilityStatus AvailabilityStatusEnum `mandatory:"false" json:"availabilityStatus,omitempty"`

	// The current state of managementAgent
	LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// true, if the agent image is manually downloaded and installed. false, if the agent is deployed as a plugin in Oracle Cloud Agent.
	IsCustomerDeployed *bool `mandatory:"false" json:"isCustomerDeployed"`

	// The install type, either AGENT or GATEWAY
	InstallType InstallTypesEnum `mandatory:"false" json:"installType,omitempty"`

	// list of dataSources summaries associated with the agent
	DataSourceSummaryList []DataSourceSummaryItem `mandatory:"false" json:"dataSourceSummaryList"`

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

ManagementAgentSummary The summary of the Management Agent inventory including the associated plugins.

func (ManagementAgentSummary) String

func (m ManagementAgentSummary) String() string

func (*ManagementAgentSummary) UnmarshalJSON added in v65.58.0

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

UnmarshalJSON unmarshals from json

func (ManagementAgentSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 MetricDimension added in v65.58.0

type MetricDimension struct {

	// Name of the metric dimension
	Name *string `mandatory:"true" json:"name"`

	// Value of the metric dimension
	Value *string `mandatory:"true" json:"value"`
}

MetricDimension Metric Dimension item in name/value pair

func (MetricDimension) String added in v65.58.0

func (m MetricDimension) String() string

func (MetricDimension) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 ObjectDetails added in v65.32.0

type ObjectDetails struct {

	// Objectstorage namespace reference providing the original location of this object
	ObjectNamespace *string `mandatory:"true" json:"objectNamespace"`

	// Objectstorage bucket reference providing the original location of this object
	ObjectBucket *string `mandatory:"true" json:"objectBucket"`

	// Objectstorage object name reference providing the original location of this object
	ObjectName *string `mandatory:"true" json:"objectName"`

	// Object storage URL for download
	ObjectUrl *string `mandatory:"false" json:"objectUrl"`

	// Object content SHA256 Hash
	Checksum *string `mandatory:"false" json:"checksum"`
}

ObjectDetails Details of the Objectstorage object

func (ObjectDetails) String added in v65.32.0

func (m ObjectDetails) String() string

func (ObjectDetails) ValidateEnumValue added in v65.32.0

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

ValidateEnumValue returns an 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 OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusCreated    OperationStatusEnum = "CREATED"
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesDeployPlugin         OperationTypesEnum = "DEPLOY_PLUGIN"
	OperationTypesUpgradePlugin        OperationTypesEnum = "UPGRADE_PLUGIN"
	OperationTypesCreateUpgradePlugins OperationTypesEnum = "CREATE_UPGRADE_PLUGINS"
	OperationTypesAgentimageUpgrade    OperationTypesEnum = "AGENTIMAGE_UPGRADE"
	OperationTypesCreateDataSource     OperationTypesEnum = "CREATE_DATA_SOURCE"
	OperationTypesUpdateDataSource     OperationTypesEnum = "UPDATE_DATA_SOURCE"
	OperationTypesDeleteDataSource     OperationTypesEnum = "DELETE_DATA_SOURCE"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

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

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type PackageTypesEnum

type PackageTypesEnum string

PackageTypesEnum Enum with underlying type: string

const (
	PackageTypesRpm PackageTypesEnum = "RPM"
	PackageTypesZip PackageTypesEnum = "ZIP"
)

Set of constants representing the allowable values for PackageTypesEnum

func GetMappingPackageTypesEnum

func GetMappingPackageTypesEnum(val string) (PackageTypesEnum, bool)

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

func GetPackageTypesEnumValues

func GetPackageTypesEnumValues() []PackageTypesEnum

GetPackageTypesEnumValues Enumerates the set of values for PackageTypesEnum

type PlatformTypesEnum

type PlatformTypesEnum string

PlatformTypesEnum Enum with underlying type: string

const (
	PlatformTypesLinux   PlatformTypesEnum = "LINUX"
	PlatformTypesWindows PlatformTypesEnum = "WINDOWS"
	PlatformTypesSolaris PlatformTypesEnum = "SOLARIS"
	PlatformTypesMacosx  PlatformTypesEnum = "MACOSX"
)

Set of constants representing the allowable values for PlatformTypesEnum

func GetMappingPlatformTypesEnum

func GetMappingPlatformTypesEnum(val string) (PlatformTypesEnum, bool)

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

func GetPlatformTypesEnumValues

func GetPlatformTypesEnumValues() []PlatformTypesEnum

GetPlatformTypesEnumValues Enumerates the set of values for PlatformTypesEnum

type PluginStatusEnum added in v65.14.0

type PluginStatusEnum string

PluginStatusEnum Enum with underlying type: string

const (
	PluginStatusRunning PluginStatusEnum = "RUNNING"
	PluginStatusStopped PluginStatusEnum = "STOPPED"
	PluginStatusInvalid PluginStatusEnum = "INVALID"
	PluginStatusFailed  PluginStatusEnum = "FAILED"
)

Set of constants representing the allowable values for PluginStatusEnum

func GetMappingPluginStatusEnum added in v65.14.0

func GetMappingPluginStatusEnum(val string) (PluginStatusEnum, bool)

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

func GetPluginStatusEnumValues added in v65.14.0

func GetPluginStatusEnumValues() []PluginStatusEnum

GetPluginStatusEnumValues Enumerates the set of values for PluginStatusEnum

type PrometheusEmitterDataSource added in v65.58.0

type PrometheusEmitterDataSource struct {

	// Identifier for DataSource. This represents the type and name for the data source associated with the Management Agent.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the DataSource.
	Name *string `mandatory:"true" json:"name"`

	// Compartment owning this DataSource.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the DataSource was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the DataSource data was last received. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The url through which the Prometheus Exporter publishes its metrics. (http only)
	Url *string `mandatory:"true" json:"url"`

	// The OCI monitoring namespace to which scraped metrics should be uploaded.
	Namespace *string `mandatory:"true" json:"namespace"`

	// Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
	AllowMetrics *string `mandatory:"false" json:"allowMetrics"`

	// The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
	ProxyUrl *string `mandatory:"false" json:"proxyUrl"`

	// Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
	ConnectionTimeout *int `mandatory:"false" json:"connectionTimeout"`

	// Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
	ReadTimeout *int `mandatory:"false" json:"readTimeout"`

	// Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
	ReadDataLimit *int `mandatory:"false" json:"readDataLimit"`

	// Number in minutes. The scraping occurs at the specified interval.
	ScheduleMins *int `mandatory:"false" json:"scheduleMins"`

	// OCI monitoring resource group to assign the metric to.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`

	// The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
	MetricDimensions []MetricDimension `mandatory:"false" json:"metricDimensions"`

	// State of the DataSource.
	State LifecycleStatesEnum `mandatory:"true" json:"state"`
}

PrometheusEmitterDataSource A Prometheus data source.

func (PrometheusEmitterDataSource) GetCompartmentId added in v65.58.0

func (m PrometheusEmitterDataSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (PrometheusEmitterDataSource) GetKey added in v65.58.0

func (m PrometheusEmitterDataSource) GetKey() *string

GetKey returns Key

func (PrometheusEmitterDataSource) GetName added in v65.58.0

func (m PrometheusEmitterDataSource) GetName() *string

GetName returns Name

func (PrometheusEmitterDataSource) GetState added in v65.58.0

GetState returns State

func (PrometheusEmitterDataSource) GetTimeCreated added in v65.58.0

func (m PrometheusEmitterDataSource) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (PrometheusEmitterDataSource) GetTimeUpdated added in v65.58.0

func (m PrometheusEmitterDataSource) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (PrometheusEmitterDataSource) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (PrometheusEmitterDataSource) String added in v65.58.0

func (PrometheusEmitterDataSource) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 PrometheusEmitterDataSourceSummary added in v65.58.0

type PrometheusEmitterDataSourceSummary struct {

	// Data source type and name identifier.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the dataSource.
	Name *string `mandatory:"true" json:"name"`
}

PrometheusEmitterDataSourceSummary A Prometheus emitter data source summary.

func (PrometheusEmitterDataSourceSummary) GetKey added in v65.58.0

GetKey returns Key

func (PrometheusEmitterDataSourceSummary) GetName added in v65.58.0

GetName returns Name

func (PrometheusEmitterDataSourceSummary) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (PrometheusEmitterDataSourceSummary) String added in v65.58.0

func (PrometheusEmitterDataSourceSummary) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 PrometheusEmitterDataSourceSummaryItem added in v65.58.0

type PrometheusEmitterDataSourceSummaryItem struct {

	// Data source type and name identifier.
	Key *string `mandatory:"true" json:"key"`

	// Unique name of the dataSource.
	Name *string `mandatory:"true" json:"name"`
}

PrometheusEmitterDataSourceSummaryItem A Prometheus emitter data source summary.

func (PrometheusEmitterDataSourceSummaryItem) GetKey added in v65.58.0

GetKey returns Key

func (PrometheusEmitterDataSourceSummaryItem) GetName added in v65.58.0

GetName returns Name

func (PrometheusEmitterDataSourceSummaryItem) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (PrometheusEmitterDataSourceSummaryItem) String added in v65.58.0

func (PrometheusEmitterDataSourceSummaryItem) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 PropertyUnitsEnum added in v65.32.0

type PropertyUnitsEnum string

PropertyUnitsEnum Enum with underlying type: string

const (
	PropertyUnitsPercentage PropertyUnitsEnum = "PERCENTAGE"
	PropertyUnitsMb         PropertyUnitsEnum = "MB"
)

Set of constants representing the allowable values for PropertyUnitsEnum

func GetMappingPropertyUnitsEnum added in v65.32.0

func GetMappingPropertyUnitsEnum(val string) (PropertyUnitsEnum, bool)

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

func GetPropertyUnitsEnumValues added in v65.32.0

func GetPropertyUnitsEnumValues() []PropertyUnitsEnum

GetPropertyUnitsEnumValues Enumerates the set of values for PropertyUnitsEnum

type SetAutoUpgradableConfigDetails

type SetAutoUpgradableConfigDetails struct {

	// Tenancy identifier i.e, Root compartment identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// true if the agents can be upgraded automatically; false if they must be upgraded manually.
	IsAgentAutoUpgradable *bool `mandatory:"true" json:"isAgentAutoUpgradable"`
}

SetAutoUpgradableConfigDetails Details for configuring tenancy-level agent AutoUpgradable configuration.

func (SetAutoUpgradableConfigDetails) String

func (SetAutoUpgradableConfigDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 SetAutoUpgradableConfigRequest

type SetAutoUpgradableConfigRequest struct {

	// Details of the AutoUpgradable configuration for agents of the tenancy.
	SetAutoUpgradableConfigDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

SetAutoUpgradableConfigRequest wrapper for the SetAutoUpgradableConfig operation

See also

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

func (SetAutoUpgradableConfigRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SetAutoUpgradableConfigRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SetAutoUpgradableConfigRequest) RetryPolicy

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

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

func (SetAutoUpgradableConfigRequest) String

func (request SetAutoUpgradableConfigRequest) String() string

func (SetAutoUpgradableConfigRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 SetAutoUpgradableConfigResponse

type SetAutoUpgradableConfigResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

SetAutoUpgradableConfigResponse wrapper for the SetAutoUpgradableConfig operation

func (SetAutoUpgradableConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SetAutoUpgradableConfigResponse) String

func (response SetAutoUpgradableConfigResponse) String() string

type SummarizeManagementAgentCountsInstallTypeEnum

type SummarizeManagementAgentCountsInstallTypeEnum string

SummarizeManagementAgentCountsInstallTypeEnum Enum with underlying type: string

const (
	SummarizeManagementAgentCountsInstallTypeAgent   SummarizeManagementAgentCountsInstallTypeEnum = "AGENT"
	SummarizeManagementAgentCountsInstallTypeGateway SummarizeManagementAgentCountsInstallTypeEnum = "GATEWAY"
)

Set of constants representing the allowable values for SummarizeManagementAgentCountsInstallTypeEnum

func GetMappingSummarizeManagementAgentCountsInstallTypeEnum

func GetMappingSummarizeManagementAgentCountsInstallTypeEnum(val string) (SummarizeManagementAgentCountsInstallTypeEnum, bool)

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

func GetSummarizeManagementAgentCountsInstallTypeEnumValues

func GetSummarizeManagementAgentCountsInstallTypeEnumValues() []SummarizeManagementAgentCountsInstallTypeEnum

GetSummarizeManagementAgentCountsInstallTypeEnumValues Enumerates the set of values for SummarizeManagementAgentCountsInstallTypeEnum

type SummarizeManagementAgentCountsRequest

type SummarizeManagementAgentCountsRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field by which to group Management Agents. Currently, only one groupBy dimension is supported at a time.
	GroupBy []ManagementAgentGroupByEnum `contributesTo:"query" name:"groupBy" omitEmpty:"true" collectionFormat:"multi"`

	// When set to true then agents that have at least one plugin deployed will be returned. When set to false only agents that have no plugins deployed will be returned.
	HasPlugins *bool `mandatory:"false" contributesTo:"query" name:"hasPlugins"`

	// A filter to return either agents or gateway types depending upon install type selected by user. By default both install type will be returned.
	InstallType SummarizeManagementAgentCountsInstallTypeEnum `mandatory:"false" contributesTo:"query" name:"installType" omitEmpty:"true"`

	// if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

SummarizeManagementAgentCountsRequest wrapper for the SummarizeManagementAgentCounts operation

See also

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

func (SummarizeManagementAgentCountsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SummarizeManagementAgentCountsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SummarizeManagementAgentCountsRequest) RetryPolicy

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

func (SummarizeManagementAgentCountsRequest) String

func (SummarizeManagementAgentCountsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 SummarizeManagementAgentCountsResponse

type SummarizeManagementAgentCountsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

SummarizeManagementAgentCountsResponse wrapper for the SummarizeManagementAgentCounts operation

func (SummarizeManagementAgentCountsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeManagementAgentCountsResponse) String

type SummarizeManagementAgentPluginCountsGroupByEnum

type SummarizeManagementAgentPluginCountsGroupByEnum string

SummarizeManagementAgentPluginCountsGroupByEnum Enum with underlying type: string

const (
	SummarizeManagementAgentPluginCountsGroupByPluginname SummarizeManagementAgentPluginCountsGroupByEnum = "pluginName"
)

Set of constants representing the allowable values for SummarizeManagementAgentPluginCountsGroupByEnum

func GetMappingSummarizeManagementAgentPluginCountsGroupByEnum

func GetMappingSummarizeManagementAgentPluginCountsGroupByEnum(val string) (SummarizeManagementAgentPluginCountsGroupByEnum, bool)

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

func GetSummarizeManagementAgentPluginCountsGroupByEnumValues

func GetSummarizeManagementAgentPluginCountsGroupByEnumValues() []SummarizeManagementAgentPluginCountsGroupByEnum

GetSummarizeManagementAgentPluginCountsGroupByEnumValues Enumerates the set of values for SummarizeManagementAgentPluginCountsGroupByEnum

type SummarizeManagementAgentPluginCountsRequest

type SummarizeManagementAgentPluginCountsRequest struct {

	// The OCID of the compartment to which a request will be scoped.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The field by which to group Management Agent Plugins
	GroupBy SummarizeManagementAgentPluginCountsGroupByEnum `mandatory:"true" contributesTo:"query" name:"groupBy" omitEmpty:"true"`

	// if set to true then it fetches resources for all compartments where user has access to else only on the compartment specified.
	CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`

	// The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

SummarizeManagementAgentPluginCountsRequest wrapper for the SummarizeManagementAgentPluginCounts operation

See also

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

func (SummarizeManagementAgentPluginCountsRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (SummarizeManagementAgentPluginCountsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SummarizeManagementAgentPluginCountsRequest) RetryPolicy

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

func (SummarizeManagementAgentPluginCountsRequest) String

func (SummarizeManagementAgentPluginCountsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 SummarizeManagementAgentPluginCountsResponse

type SummarizeManagementAgentPluginCountsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

SummarizeManagementAgentPluginCountsResponse wrapper for the SummarizeManagementAgentPluginCounts operation

func (SummarizeManagementAgentPluginCountsResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (SummarizeManagementAgentPluginCountsResponse) String

type UpdateDataSourceDetails added in v65.58.0

type UpdateDataSourceDetails interface {
}

UpdateDataSourceDetails A request to change the data source.

type UpdateDataSourceRequest added in v65.58.0

type UpdateDataSourceRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// Data source type and name identifier.
	DataSourceKey *string `mandatory:"true" contributesTo:"path" name:"dataSourceKey"`

	// Details of DataSource to be update for the given Management Agent.
	UpdateDataSourceDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

UpdateDataSourceRequest wrapper for the UpdateDataSource operation

See also

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

func (UpdateDataSourceRequest) BinaryRequestBody added in v65.58.0

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateDataSourceRequest) HTTPRequest added in v65.58.0

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

HTTPRequest implements the OCIRequest interface

func (UpdateDataSourceRequest) RetryPolicy added in v65.58.0

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

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

func (UpdateDataSourceRequest) String added in v65.58.0

func (request UpdateDataSourceRequest) String() string

func (UpdateDataSourceRequest) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 UpdateDataSourceResponse added in v65.58.0

type UpdateDataSourceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

UpdateDataSourceResponse wrapper for the UpdateDataSource operation

func (UpdateDataSourceResponse) HTTPResponse added in v65.58.0

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

HTTPResponse implements the OCIResponse interface

func (UpdateDataSourceResponse) String added in v65.58.0

func (response UpdateDataSourceResponse) String() string

type UpdateManagementAgentDetails

type UpdateManagementAgentDetails struct {

	// New displayName of Agent.
	DisplayName *string `mandatory:"false" json:"displayName"`

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

UpdateManagementAgentDetails Details required to update console-managed properties of the Management Agent.

func (UpdateManagementAgentDetails) String

func (UpdateManagementAgentDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateManagementAgentInstallKeyDetails

type UpdateManagementAgentInstallKeyDetails struct {

	// if set to true the install key state would be set to Active and if false to Inactive
	IsKeyActive *bool `mandatory:"false" json:"isKeyActive"`

	// New displayName of Agent install key.
	DisplayName *string `mandatory:"false" json:"displayName"`
}

UpdateManagementAgentInstallKeyDetails Details required to change Management Agent install key.

func (UpdateManagementAgentInstallKeyDetails) String

func (UpdateManagementAgentInstallKeyDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateManagementAgentInstallKeyRequest

type UpdateManagementAgentInstallKeyRequest struct {

	// Unique Management Agent Install Key identifier
	ManagementAgentInstallKeyId *string `mandatory:"true" contributesTo:"path" name:"managementAgentInstallKeyId"`

	// Details required for changing the modifiable properties of the Management Agent install key.
	UpdateManagementAgentInstallKeyDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

UpdateManagementAgentInstallKeyRequest wrapper for the UpdateManagementAgentInstallKey operation

See also

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

func (UpdateManagementAgentInstallKeyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagementAgentInstallKeyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateManagementAgentInstallKeyRequest) RetryPolicy

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

func (UpdateManagementAgentInstallKeyRequest) String

func (UpdateManagementAgentInstallKeyRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateManagementAgentInstallKeyResponse

type UpdateManagementAgentInstallKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

UpdateManagementAgentInstallKeyResponse wrapper for the UpdateManagementAgentInstallKey operation

func (UpdateManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagementAgentInstallKeyResponse) String

type UpdateManagementAgentRequest

type UpdateManagementAgentRequest struct {

	// Unique Management Agent identifier
	ManagementAgentId *string `mandatory:"true" contributesTo:"path" name:"managementAgentId"`

	// Details required for changing the console managed properties of the Management Agent.
	UpdateManagementAgentDetails `contributesTo:"body"`

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

	// The client request ID for tracing.
	OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

UpdateManagementAgentRequest wrapper for the UpdateManagementAgent operation

See also

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

func (UpdateManagementAgentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateManagementAgentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateManagementAgentRequest) RetryPolicy

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

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

func (UpdateManagementAgentRequest) String

func (request UpdateManagementAgentRequest) String() string

func (UpdateManagementAgentRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateManagementAgentResponse

type UpdateManagementAgentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

UpdateManagementAgentResponse wrapper for the UpdateManagementAgent operation

func (UpdateManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagementAgentResponse) String

func (response UpdateManagementAgentResponse) String() string

type UpdatePrometheusEmitterDataSourceDetails added in v65.58.0

type UpdatePrometheusEmitterDataSourceDetails struct {

	// The url through which the Prometheus Exporter publishes its metrics. (http only)
	Url *string `mandatory:"true" json:"url"`

	// Comma separated metric name list. The complete set of desired scraped metrics. Use this property to limit the set of metrics uploaded if required.
	AllowMetrics *string `mandatory:"false" json:"allowMetrics"`

	// The url of the network proxy that provides access to the Prometheus Exporter's endpoint (url required property).
	ProxyUrl *string `mandatory:"false" json:"proxyUrl"`

	// Number in milliseconds. The timeout for connecting to the Prometheus Exporter's endpoint.
	ConnectionTimeout *int `mandatory:"false" json:"connectionTimeout"`

	// Number in milliseconds. The timeout for reading the response from the Prometheus Exporter's endpoint.
	ReadTimeout *int `mandatory:"false" json:"readTimeout"`

	// Number in kilobytes. The limit on the data being sent, not to exceed the agent's fixed limit of 400 (KB).
	ReadDataLimitInKilobytes *int `mandatory:"false" json:"readDataLimitInKilobytes"`

	// Number in minutes. The scraping occurs at the specified interval.
	ScheduleMins *int `mandatory:"false" json:"scheduleMins"`

	// OCI monitoring resource group to assign the metric to.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`

	// The names of other user-supplied properties expressed as fixed values to be used as dimensions for every uploaded datapoint.
	MetricDimensions []MetricDimension `mandatory:"false" json:"metricDimensions"`
}

UpdatePrometheusEmitterDataSourceDetails A Prometheus data source.

func (UpdatePrometheusEmitterDataSourceDetails) MarshalJSON added in v65.58.0

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

MarshalJSON marshals to json representation

func (UpdatePrometheusEmitterDataSourceDetails) String added in v65.58.0

func (UpdatePrometheusEmitterDataSourceDetails) ValidateEnumValue added in v65.58.0

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

ValidateEnumValue returns an 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 WorkDeliveryStatusEnum

type WorkDeliveryStatusEnum string

WorkDeliveryStatusEnum Enum with underlying type: string

const (
	WorkDeliveryStatusAccepted   WorkDeliveryStatusEnum = "ACCEPTED"
	WorkDeliveryStatusInProgress WorkDeliveryStatusEnum = "IN_PROGRESS"
	WorkDeliveryStatusFailed     WorkDeliveryStatusEnum = "FAILED"
	WorkDeliveryStatusSucceeded  WorkDeliveryStatusEnum = "SUCCEEDED"
	WorkDeliveryStatusCanceling  WorkDeliveryStatusEnum = "CANCELING"
	WorkDeliveryStatusCanceled   WorkDeliveryStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkDeliveryStatusEnum

func GetMappingWorkDeliveryStatusEnum

func GetMappingWorkDeliveryStatusEnum(val string) (WorkDeliveryStatusEnum, bool)

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

func GetWorkDeliveryStatusEnumValues

func GetWorkDeliveryStatusEnumValues() []WorkDeliveryStatusEnum

GetWorkDeliveryStatusEnumValues Enumerates the set of values for WorkDeliveryStatusEnum

type WorkRequest

type WorkRequest struct {

	// Type of the work request
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 5.6.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 5.6.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
	Code *string `mandatory:"true" json:"code"`

	// A human readable description of the issue encountered.
	Message *string `mandatory:"true" json:"message"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypesEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource the work request affects.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The identifier of the source the work request is requesting.
	SourceId *string `mandatory:"false" json:"sourceId"`

	// The name of the source the work request is requesting.
	SourceName *string `mandatory:"false" json:"sourceName"`

	// The version of the source the work request is requesting.
	SourceVersion *string `mandatory:"false" json:"sourceVersion"`

	// The URI path that the user can do a GET on to access the resource metadata
	EntityUri *string `mandatory:"false" json:"entityUri"`

	// The date and time the request was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 5.6.
	TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 5.6.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the request was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 5.6.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// Additional metadata about the resource that has been operated upon by
	// this work request. For WorkRequests operationType WORK_DELIVERY the metadata will contain: workDeliveryStatus
	// indicating the status of the work delivery item as a WorkDeliveryStatus value, workSubmissionKey the WorkSubmission request id,
	//  and workSubmissionDetails containing any details of result
	Metadata *interface{} `mandatory:"false" json:"metadata"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkRequestSummary

type WorkRequestSummary struct {

	// Type of the work request
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 5.6.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"false" json:"resources"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 5.6.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A description of workrequest status

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkSubmissionKey

type WorkSubmissionKey struct {

	// Work Submission Identifier
	WorkSubmissionKey *string `mandatory:"true" json:"workSubmissionKey"`
}

WorkSubmissionKey Work Submission Identifier

func (WorkSubmissionKey) String

func (m WorkSubmissionKey) String() string

func (WorkSubmissionKey) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

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