ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
ApplicationSortByEnum Enum with underlying type: string
type ApplicationSortByEnum string
Set of constants representing the allowable values for ApplicationSortByEnum
const ( ApplicationSortByTimeFirstSeen ApplicationSortByEnum = "timeFirstSeen" ApplicationSortByTimeLastSeen ApplicationSortByEnum = "timeLastSeen" ApplicationSortByDisplayName ApplicationSortByEnum = "displayName" ApplicationSortByApproximateJreCount ApplicationSortByEnum = "approximateJreCount" ApplicationSortByApproximateInstallationCount ApplicationSortByEnum = "approximateInstallationCount" ApplicationSortByApproximateManagedInstanceCount ApplicationSortByEnum = "approximateManagedInstanceCount" )
func GetApplicationSortByEnumValues() []ApplicationSortByEnum
GetApplicationSortByEnumValues Enumerates the set of values for ApplicationSortByEnum
ApplicationUsage Application usage during a specified time period. An application is a Java application that can be executed by a Java Runtime installation. An application is independent of the Java Runtime or its installation.
type ApplicationUsage struct { // An internal identifier for the application that is unique to a Fleet. ApplicationId *string `mandatory:"true" json:"applicationId"` // The name of the application. DisplayName *string `mandatory:"true" json:"displayName"` // The type of the application, denoted by how the application was started. ApplicationType *string `mandatory:"true" json:"applicationType"` // The approximate count of installations running this application. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of Java Runtimes running this application. ApproximateJreCount *int `mandatory:"false" json:"approximateJreCount"` // The approximate count of managed instances reporting this application. ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // Lower bound of the specified time period filter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m ApplicationUsage) String() string
ApplicationUsageCollection Results of an application search. Contains ApplicationUsage items.
type ApplicationUsageCollection struct { // A list of applications. Items []ApplicationUsage `mandatory:"true" json:"items"` }
func (m ApplicationUsageCollection) String() string
ChangeFleetCompartmentDetails Attributes to change the compartment of a Fleet.
type ChangeFleetCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the Fleet should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeFleetCompartmentDetails) String() string
ChangeFleetCompartmentRequest wrapper for the ChangeFleetCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartmentRequest.
type ChangeFleetCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Compartment identifier. ChangeFleetCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
func (request ChangeFleetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeFleetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeFleetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeFleetCompartmentRequest) String() string
ChangeFleetCompartmentResponse wrapper for the ChangeFleetCompartment operation
type ChangeFleetCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the 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"` }
func (response ChangeFleetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeFleetCompartmentResponse) String() string
CreateFleetDetails Attributes to create a Fleet.
type CreateFleetDetails struct { // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The Fleet's description. If nothing is provided, the Fleet description will be null. Description *string `mandatory:"false" json:"description"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m CreateFleetDetails) String() string
CreateFleetRequest wrapper for the CreateFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/CreateFleet.go.html to see an example of how to use CreateFleetRequest.
type CreateFleetRequest struct { // Details for the new Fleet. CreateFleetDetails `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 }
func (request CreateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateFleetRequest) String() string
CreateFleetResponse wrapper for the CreateFleet operation
type CreateFleetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the 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"` }
func (response CreateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateFleetResponse) String() string
DeleteFleetRequest wrapper for the DeleteFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/DeleteFleet.go.html to see an example of how to use DeleteFleetRequest.
type DeleteFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // 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 }
func (request DeleteFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteFleetRequest) String() string
DeleteFleetResponse wrapper for the DeleteFleet operation
type DeleteFleetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the 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"` }
func (response DeleteFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteFleetResponse) String() string
Fleet A Fleet is the primary collection with which users interact when using Java Management Service.
type Fleet struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. Id *string `mandatory:"true" json:"id"` // The name of the Fleet. DisplayName *string `mandatory:"true" json:"displayName"` // The Fleet's description. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateJreCount *int `mandatory:"true" json:"approximateJreCount"` // The approximate count of all unique Java installations in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateInstallationCount *int `mandatory:"true" json:"approximateInstallationCount"` // The approximate count of all unique applications in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateApplicationCount *int `mandatory:"true" json:"approximateApplicationCount"` // The approximate count of all unique managed instances in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateManagedInstanceCount *int `mandatory:"true" json:"approximateManagedInstanceCount"` // The creation date and time of the Fleet (formatted according to RFC3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Fleet. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // System tags can be viewed by users, but can only be created by the system. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Fleet) String() string
FleetAgentConfiguration Management Agent Configuration for a Fleet. Includes JRE scanning frequency and list of include/exclude file system paths.
type FleetAgentConfiguration struct { // The frequency (in minutes) of JRE scanning. (That is, how often should JMS scan for JRE installations.) JreScanFrequencyInMinutes *int `mandatory:"true" json:"jreScanFrequencyInMinutes"` // The frequency (in minutes) of Java Usage Tracker processing. (That is, how often should JMS process data from the Java Usage Tracker.) JavaUsageTrackerProcessingFrequencyInMinutes *int `mandatory:"true" json:"javaUsageTrackerProcessingFrequencyInMinutes"` LinuxConfiguration *FleetAgentOsConfiguration `mandatory:"true" json:"linuxConfiguration"` WindowsConfiguration *FleetAgentOsConfiguration `mandatory:"true" json:"windowsConfiguration"` // The date and time of the last modification to the Fleet Agent Configuration (formatted according to RFC3339). TimeLastModified *common.SDKTime `mandatory:"true" json:"timeLastModified"` }
func (m FleetAgentConfiguration) String() string
FleetAgentOsConfiguration Management Agent Configuration for list of include/exclude file system paths (specific to operating system).
type FleetAgentOsConfiguration struct { // An array of file system paths (environment variables supported). IncludePaths []string `mandatory:"true" json:"includePaths"` // An array of file system paths (environment variables supported). ExcludePaths []string `mandatory:"true" json:"excludePaths"` }
func (m FleetAgentOsConfiguration) String() string
FleetCollection Results of a Fleet search. Contains FleetSummary items.
type FleetCollection struct { // A list of Fleets. Items []FleetSummary `mandatory:"true" json:"items"` }
func (m FleetCollection) String() string
FleetSummary The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service.
type FleetSummary struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. Id *string `mandatory:"true" json:"id"` // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"true" json:"displayName"` // The Fleet's description. Description *string `mandatory:"true" json:"description"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment of the Fleet. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The approximate count of all unique Java Runtimes in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateJreCount *int `mandatory:"true" json:"approximateJreCount"` // The approximate count of all unique Java Installations in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateInstallationCount *int `mandatory:"true" json:"approximateInstallationCount"` // The approximate count of all unique applications in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateApplicationCount *int `mandatory:"true" json:"approximateApplicationCount"` // The approximate count of all unique managed instances in the Fleet in the past seven days. // This metric is provided on a best-effort manner, and is not taken into account when computing the resource ETag. ApproximateManagedInstanceCount *int `mandatory:"true" json:"approximateManagedInstanceCount"` // The creation date and time of the Fleet (formatted according to RFC3339). TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The lifecycle state of the Fleet. LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // System tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // System tags can be viewed by users, but can only be created by the system. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m FleetSummary) String() string
GetFleetAgentConfigurationRequest wrapper for the GetFleetAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfigurationRequest.
type GetFleetAgentConfigurationRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // 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 }
func (request GetFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetFleetAgentConfigurationRequest) String() string
GetFleetAgentConfigurationResponse wrapper for the GetFleetAgentConfiguration operation
type GetFleetAgentConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The FleetAgentConfiguration instance FleetAgentConfiguration `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetFleetAgentConfigurationResponse) String() string
GetFleetRequest wrapper for the GetFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetFleet.go.html to see an example of how to use GetFleetRequest.
type GetFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // 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 }
func (request GetFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetFleetRequest) String() string
GetFleetResponse wrapper for the GetFleet operation
type GetFleetResponse struct { // The underlying http response RawResponse *http.Response // The Fleet instance Fleet `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetFleetResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
InstallationSortByEnum Enum with underlying type: string
type InstallationSortByEnum string
Set of constants representing the allowable values for InstallationSortByEnum
const ( InstallationSortByJreDistribution InstallationSortByEnum = "jreDistribution" InstallationSortByJreVendor InstallationSortByEnum = "jreVendor" InstallationSortByJreVersion InstallationSortByEnum = "jreVersion" InstallationSortByPath InstallationSortByEnum = "path" InstallationSortByTimeFirstSeen InstallationSortByEnum = "timeFirstSeen" InstallationSortByTimeLastSeen InstallationSortByEnum = "timeLastSeen" InstallationSortByApproximateApplicationCount InstallationSortByEnum = "approximateApplicationCount" InstallationSortByApproximateManagedInstanceCount InstallationSortByEnum = "approximateManagedInstanceCount" )
func GetInstallationSortByEnumValues() []InstallationSortByEnum
GetInstallationSortByEnumValues Enumerates the set of values for InstallationSortByEnum
InstallationUsage Installation usage during a specified time period. An installation is a collection of deployed instances of a specific Java Runtime that share the same install path.
type InstallationUsage struct { // The vendor of the Java Runtime that is deployed with the installation. JreVendor *string `mandatory:"true" json:"jreVendor"` // The distribution of the Java Runtime that is deployed with the installation. JreDistribution *string `mandatory:"true" json:"jreDistribution"` // The version of the Java Runtime that is deployed with the installation. JreVersion *string `mandatory:"true" json:"jreVersion"` // The file system path of the installation. Path *string `mandatory:"true" json:"path"` // The Operating System for the installation. Os *string `mandatory:"true" json:"os"` // The architecture of the operating system for the installation. Architecture *string `mandatory:"true" json:"architecture"` // The approximate count of applications running on this installation ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of managed instances reporting this installation ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // Lower bound of the specified time period filter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m InstallationUsage) String() string
InstallationUsageCollection Results of an installation search. Contains InstallationUsage items.
type InstallationUsageCollection struct { // A list of installations. Items []InstallationUsage `mandatory:"true" json:"items"` }
func (m InstallationUsageCollection) String() string
JavaManagementServiceClient a client for JavaManagementService
type JavaManagementServiceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewJavaManagementServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client JavaManagementServiceClient, err error)
NewJavaManagementServiceClientWithConfigurationProvider Creates a new default JavaManagementService client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewJavaManagementServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client JavaManagementServiceClient, err error)
NewJavaManagementServiceClientWithOboToken Creates a new default JavaManagementService client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client JavaManagementServiceClient) ChangeFleetCompartment(ctx context.Context, request ChangeFleetCompartmentRequest) (response ChangeFleetCompartmentResponse, err error)
ChangeFleetCompartment Move a specified Fleet into the compartment identified in the POST form. When provided, If-Match is checked against ETag values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartment API.
func (client *JavaManagementServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client JavaManagementServiceClient) CreateFleet(ctx context.Context, request CreateFleetRequest) (response CreateFleetResponse, err error)
CreateFleet Create a new Fleet using the information provided.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/CreateFleet.go.html to see an example of how to use CreateFleet API.
func (client JavaManagementServiceClient) DeleteFleet(ctx context.Context, request DeleteFleetRequest) (response DeleteFleetResponse, err error)
DeleteFleet Deletes the Fleet specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/DeleteFleet.go.html to see an example of how to use DeleteFleet API.
func (client JavaManagementServiceClient) GetFleet(ctx context.Context, request GetFleetRequest) (response GetFleetResponse, err error)
GetFleet Retrieve a Fleet with the specified identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetFleet.go.html to see an example of how to use GetFleet API.
func (client JavaManagementServiceClient) GetFleetAgentConfiguration(ctx context.Context, request GetFleetAgentConfigurationRequest) (response GetFleetAgentConfigurationResponse, err error)
GetFleetAgentConfiguration Retrieve a Fleet Agent Configuration for the specified Fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfiguration API.
func (client JavaManagementServiceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Retrieve the details of a work request with the specified ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client JavaManagementServiceClient) ListFleets(ctx context.Context, request ListFleetsRequest) (response ListFleetsResponse, err error)
ListFleets Returns a list of all the Fleets contained by a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListFleets.go.html to see an example of how to use ListFleets API.
func (client JavaManagementServiceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Retrieve a (paginated) list of errors for a specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client JavaManagementServiceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Retrieve a (paginated) list of logs for a specified work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client JavaManagementServiceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests List the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client JavaManagementServiceClient) RequestSummarizedApplicationUsage(ctx context.Context, request RequestSummarizedApplicationUsageRequest) (response RequestSummarizedApplicationUsageResponse, err error)
RequestSummarizedApplicationUsage List application usage in a specified Fleet filtered by form parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedApplicationUsage.go.html to see an example of how to use RequestSummarizedApplicationUsage API.
func (client JavaManagementServiceClient) RequestSummarizedInstallationUsage(ctx context.Context, request RequestSummarizedInstallationUsageRequest) (response RequestSummarizedInstallationUsageResponse, err error)
RequestSummarizedInstallationUsage List Java installation usage in a specified Fleet filtered by form parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedInstallationUsage.go.html to see an example of how to use RequestSummarizedInstallationUsage API.
func (client JavaManagementServiceClient) RequestSummarizedJreUsage(ctx context.Context, request RequestSummarizedJreUsageRequest) (response RequestSummarizedJreUsageResponse, err error)
RequestSummarizedJreUsage List Java Runtime usage in a specified Fleet filtered by form parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedJreUsage.go.html to see an example of how to use RequestSummarizedJreUsage API.
func (client JavaManagementServiceClient) RequestSummarizedManagedInstanceUsage(ctx context.Context, request RequestSummarizedManagedInstanceUsageRequest) (response RequestSummarizedManagedInstanceUsageResponse, err error)
RequestSummarizedManagedInstanceUsage List managed instance usage in a specified Fleet filtered by form parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedManagedInstanceUsage.go.html to see an example of how to use RequestSummarizedManagedInstanceUsage API.
func (client *JavaManagementServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client JavaManagementServiceClient) SummarizeApplicationUsage(ctx context.Context, request SummarizeApplicationUsageRequest) (response SummarizeApplicationUsageResponse, err error)
SummarizeApplicationUsage List application usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsage API.
func (client JavaManagementServiceClient) SummarizeInstallationUsage(ctx context.Context, request SummarizeInstallationUsageRequest) (response SummarizeInstallationUsageResponse, err error)
SummarizeInstallationUsage List Java installation usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsage API.
func (client JavaManagementServiceClient) SummarizeJreUsage(ctx context.Context, request SummarizeJreUsageRequest) (response SummarizeJreUsageResponse, err error)
SummarizeJreUsage List Java Runtime usage in a specified Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsage API.
func (client JavaManagementServiceClient) SummarizeManagedInstanceUsage(ctx context.Context, request SummarizeManagedInstanceUsageRequest) (response SummarizeManagedInstanceUsageResponse, err error)
SummarizeManagedInstanceUsage List managed instance usage in a Fleet filtered by query parameters.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsage API.
func (client JavaManagementServiceClient) UpdateFleet(ctx context.Context, request UpdateFleetRequest) (response UpdateFleetResponse, err error)
UpdateFleet Update the Fleet specified by an identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/UpdateFleet.go.html to see an example of how to use UpdateFleet API.
func (client JavaManagementServiceClient) UpdateFleetAgentConfiguration(ctx context.Context, request UpdateFleetAgentConfigurationRequest) (response UpdateFleetAgentConfigurationResponse, err error)
UpdateFleetAgentConfiguration Update the Fleet Agent Configuration for the specified Fleet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfiguration API.
JreSortByEnum Enum with underlying type: string
type JreSortByEnum string
Set of constants representing the allowable values for JreSortByEnum
const ( JreSortByDistribution JreSortByEnum = "distribution" JreSortByTimeFirstSeen JreSortByEnum = "timeFirstSeen" JreSortByTimeLastSeen JreSortByEnum = "timeLastSeen" JreSortByVendor JreSortByEnum = "vendor" JreSortByVersion JreSortByEnum = "version" JreSortByApproximateInstallationCount JreSortByEnum = "approximateInstallationCount" JreSortByApproximateApplicationCount JreSortByEnum = "approximateApplicationCount" JreSortByApproximateManagedInstanceCount JreSortByEnum = "approximateManagedInstanceCount" )
func GetJreSortByEnumValues() []JreSortByEnum
GetJreSortByEnumValues Enumerates the set of values for JreSortByEnum
JreUsage Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version.
type JreUsage struct { // The vendor of the Java Runtime. Vendor *string `mandatory:"true" json:"vendor"` // The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_. Distribution *string `mandatory:"true" json:"distribution"` // The version of the Java Runtime. Version *string `mandatory:"true" json:"version"` // The approximate count of installations that are installations of this Java Runtime. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of the applications running on this Java Runtime. ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of the managed instances that report this Java Runtime. ApproximateManagedInstanceCount *int `mandatory:"false" json:"approximateManagedInstanceCount"` // Lower bound of the specified time period filter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m JreUsage) String() string
JreUsageCollection Results of a Java Runtime search. Contains JreUsage items
type JreUsageCollection struct { // A list of Java Runtimes. Items []JreUsage `mandatory:"true" json:"items"` }
func (m JreUsageCollection) String() string
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
ListFleetsLifecycleStateEnum Enum with underlying type: string
type ListFleetsLifecycleStateEnum string
Set of constants representing the allowable values for ListFleetsLifecycleStateEnum
const ( ListFleetsLifecycleStateActive ListFleetsLifecycleStateEnum = "ACTIVE" ListFleetsLifecycleStateCreating ListFleetsLifecycleStateEnum = "CREATING" ListFleetsLifecycleStateDeleted ListFleetsLifecycleStateEnum = "DELETED" ListFleetsLifecycleStateDeleting ListFleetsLifecycleStateEnum = "DELETING" ListFleetsLifecycleStateFailed ListFleetsLifecycleStateEnum = "FAILED" ListFleetsLifecycleStateUpdating ListFleetsLifecycleStateEnum = "UPDATING" )
func GetListFleetsLifecycleStateEnumValues() []ListFleetsLifecycleStateEnum
GetListFleetsLifecycleStateEnumValues Enumerates the set of values for ListFleetsLifecycleStateEnum
ListFleetsRequest wrapper for the ListFleets operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListFleets.go.html to see an example of how to use ListFleetsRequest.
type ListFleetsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of the Fleet. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The state of the lifecycle. LifecycleState ListFleetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder ListFleetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort Fleets. Only one sort order may be provided. // Default order for _timeCreated_, _approximateJreCount_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _displayName_ is **ascending**. // If no value is specified _timeCreated_ is default. SortBy ListFleetsSortByEnum `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 }
func (request ListFleetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListFleetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListFleetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListFleetsRequest) String() string
ListFleetsResponse wrapper for the ListFleets operation
type ListFleetsResponse struct { // The underlying http response RawResponse *http.Response // A list of FleetCollection instances FleetCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListFleetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListFleetsResponse) String() string
ListFleetsSortByEnum Enum with underlying type: string
type ListFleetsSortByEnum string
Set of constants representing the allowable values for ListFleetsSortByEnum
const ( ListFleetsSortByDisplayname ListFleetsSortByEnum = "displayName" ListFleetsSortByTimecreated ListFleetsSortByEnum = "timeCreated" )
func GetListFleetsSortByEnumValues() []ListFleetsSortByEnum
GetListFleetsSortByEnumValues Enumerates the set of values for ListFleetsSortByEnum
ListFleetsSortOrderEnum Enum with underlying type: string
type ListFleetsSortOrderEnum string
Set of constants representing the allowable values for ListFleetsSortOrderEnum
const ( ListFleetsSortOrderAsc ListFleetsSortOrderEnum = "ASC" ListFleetsSortOrderDesc ListFleetsSortOrderEnum = "DESC" )
func GetListFleetsSortOrderEnumValues() []ListFleetsSortOrderEnum
GetListFleetsSortOrderEnumValues Enumerates the set of values for ListFleetsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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. The token 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work 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. The token 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). 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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The ID of an asynchronous work request. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // 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. The token 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ManagedInstanceSortByEnum Enum with underlying type: string
type ManagedInstanceSortByEnum string
Set of constants representing the allowable values for ManagedInstanceSortByEnum
const ( ManagedInstanceSortByTimeFirstSeen ManagedInstanceSortByEnum = "timeFirstSeen" ManagedInstanceSortByTimeLastSeen ManagedInstanceSortByEnum = "timeLastSeen" ManagedInstanceSortByApproximateJreCount ManagedInstanceSortByEnum = "approximateJreCount" ManagedInstanceSortByApproximateInstallationCount ManagedInstanceSortByEnum = "approximateInstallationCount" ManagedInstanceSortByApproximateApplicationCount ManagedInstanceSortByEnum = "approximateApplicationCount" )
func GetManagedInstanceSortByEnumValues() []ManagedInstanceSortByEnum
GetManagedInstanceSortByEnumValues Enumerates the set of values for ManagedInstanceSortByEnum
ManagedInstanceTypeEnum Enum with underlying type: string
type ManagedInstanceTypeEnum string
Set of constants representing the allowable values for ManagedInstanceTypeEnum
const ( ManagedInstanceTypeOracleManagementAgent ManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT" )
func GetManagedInstanceTypeEnumValues() []ManagedInstanceTypeEnum
GetManagedInstanceTypeEnumValues Enumerates the set of values for ManagedInstanceTypeEnum
ManagedInstanceUsage Managed instance usage during a specified time period. An entity that emits usage events to Java Management Service (JMS) is represented as a managed instance. A managed instance has a unique identity which is used by JMS to distinguish it from other managed instances. Currently, JMS supports only one kind of managed instance, a Management Agent.
type ManagedInstanceUsage struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"true" json:"managedInstanceId"` // The type of the source of events. ManagedInstanceType ManagedInstanceTypeEnum `mandatory:"true" json:"managedInstanceType"` // The hostname of the managed instance (if applicable). Hostname *string `mandatory:"false" json:"hostname"` // The approximate count of applications reported by this managed instance. ApproximateApplicationCount *int `mandatory:"false" json:"approximateApplicationCount"` // The approximate count of installations reported by this managed instance. ApproximateInstallationCount *int `mandatory:"false" json:"approximateInstallationCount"` // The approximate count of Java Runtimes reported by this managed instance. ApproximateJreCount *int `mandatory:"false" json:"approximateJreCount"` // Lower bound of the specified time period filter. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // Upper bound of the specified time period filter. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The date and time the resource was _first_ reported to JMS. // This is potentially _before_ the specified time period provided by the filters. // For example, a resource can be first reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeFirstSeen *common.SDKTime `mandatory:"false" json:"timeFirstSeen"` // The date and time the resource was _last_ reported to JMS. // This is potentially _after_ the specified time period provided by the filters. // For example, a resource can be last reported to JMS before the start of a specified time period, // if it is also reported during the time period. TimeLastSeen *common.SDKTime `mandatory:"false" json:"timeLastSeen"` }
func (m ManagedInstanceUsage) String() string
ManagedInstanceUsageCollection Results of a managed instance search. Contains ManagedInstanceUsage items.
type ManagedInstanceUsageCollection struct { // A list of managed instances. Items []ManagedInstanceUsage `mandatory:"true" json:"items"` }
func (m ManagedInstanceUsageCollection) String() string
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusCanceled OperationStatusEnum = "CANCELED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateFleet OperationTypeEnum = "CREATE_FLEET" OperationTypeDeleteFleet OperationTypeEnum = "DELETE_FLEET" OperationTypeMoveFleet OperationTypeEnum = "MOVE_FLEET" OperationTypeUpdateFleet OperationTypeEnum = "UPDATE_FLEET" )
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
RequestSummarizedApplicationUsageDetails Parameters for filtering applications.
type RequestSummarizedApplicationUsageDetails struct { // The start of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time minus seven days. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The display name of the application. DisplayName *string `mandatory:"false" json:"displayName"` // The installation path of the related installation. InstallationPath *string `mandatory:"false" json:"installationPath"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" json:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" json:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" json:"jreVersion"` // The ID of the application. ApplicationId *string `mandatory:"false" json:"applicationId"` // The way the application was started. ApplicationType *string `mandatory:"false" json:"applicationType"` // The ID of the related managed instance. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // The sort order to use, either 'asc' or 'desc'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort application views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, _approximateJreCount_, _approximateInstallationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _displayName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy ApplicationSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeApplicationUsageFieldsEnum `mandatory:"false" json:"fields"` }
func (m RequestSummarizedApplicationUsageDetails) String() string
RequestSummarizedApplicationUsageRequest wrapper for the RequestSummarizedApplicationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedApplicationUsage.go.html to see an example of how to use RequestSummarizedApplicationUsageRequest.
type RequestSummarizedApplicationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Parameters for filtering application usage. RequestSummarizedApplicationUsageDetails `contributesTo:"body"` // 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. The token 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 }
func (request RequestSummarizedApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedApplicationUsageRequest) String() string
RequestSummarizedApplicationUsageResponse wrapper for the RequestSummarizedApplicationUsage operation
type RequestSummarizedApplicationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationUsageCollection instances ApplicationUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedApplicationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedApplicationUsageResponse) String() string
RequestSummarizedInstallationUsageDetails Parameters for filtering installations.
type RequestSummarizedInstallationUsageDetails struct { // The start of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time minus seven days. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The path of the installation. InstallationPath *string `mandatory:"false" json:"installationPath"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" json:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" json:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" json:"jreVersion"` // The ID of the related application. ApplicationId *string `mandatory:"false" json:"applicationId"` // The ID of the related managed instance. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // The sort order to use, either 'asc' or 'desc'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort installation views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, _jreVersion_, _approximateApplicationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _jreDistribution_ and _jreVendor_ is **ascending**. If no value is specified _timeLastSeen_ is default. SortBy InstallationSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeInstallationUsageFieldsEnum `mandatory:"false" json:"fields"` }
func (m RequestSummarizedInstallationUsageDetails) String() string
RequestSummarizedInstallationUsageRequest wrapper for the RequestSummarizedInstallationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedInstallationUsage.go.html to see an example of how to use RequestSummarizedInstallationUsageRequest.
type RequestSummarizedInstallationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Parameters for filtering Java installation usage. RequestSummarizedInstallationUsageDetails `contributesTo:"body"` // 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. The token 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 }
func (request RequestSummarizedInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedInstallationUsageRequest) String() string
RequestSummarizedInstallationUsageResponse wrapper for the RequestSummarizedInstallationUsage operation
type RequestSummarizedInstallationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of InstallationUsageCollection instances InstallationUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedInstallationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedInstallationUsageResponse) String() string
RequestSummarizedJreUsageDetails Parameters for filtering Java Runtime Usages.
type RequestSummarizedJreUsageDetails struct { // The start of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time minus seven days. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The vendor of the Java Runtime. JreVendor *string `mandatory:"false" json:"jreVendor"` // The distribution of the Java Runtime. JreDistribution *string `mandatory:"false" json:"jreDistribution"` // The version of the Java Runtime. JreVersion *string `mandatory:"false" json:"jreVersion"` // The ID of the related application. ApplicationId *string `mandatory:"false" json:"applicationId"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the related managed instance. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // The sort order to use, either 'asc' or 'desc'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort Java Runtime views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, _version_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _distribution_ and _vendor_ is **ascending**. If no value is specified _timeLastSeen_ is default. SortBy JreSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeJreUsageFieldsEnum `mandatory:"false" json:"fields"` }
func (m RequestSummarizedJreUsageDetails) String() string
RequestSummarizedJreUsageRequest wrapper for the RequestSummarizedJreUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedJreUsage.go.html to see an example of how to use RequestSummarizedJreUsageRequest.
type RequestSummarizedJreUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Parameters for filtering Java Runtime usage. RequestSummarizedJreUsageDetails `contributesTo:"body"` // 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. The token 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 }
func (request RequestSummarizedJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedJreUsageRequest) String() string
RequestSummarizedJreUsageResponse wrapper for the RequestSummarizedJreUsage operation
type RequestSummarizedJreUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of JreUsageCollection instances JreUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedJreUsageResponse) String() string
RequestSummarizedManagedInstanceUsageDetails Parameters for filtering managed instances.
type RequestSummarizedManagedInstanceUsageDetails struct { // The start of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time minus seven days. TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). Defaults to current time. TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"` // The installation path of the related installation. InstallationPath *string `mandatory:"false" json:"installationPath"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" json:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" json:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" json:"jreVersion"` // The ID of the related application. ApplicationId *string `mandatory:"false" json:"applicationId"` // The ID of the managed instance. ManagedInstanceId *string `mandatory:"false" json:"managedInstanceId"` // type of the managed instance ManagedInstanceType ManagedInstanceTypeEnum `mandatory:"false" json:"managedInstanceType,omitempty"` // The sort order to use, either 'asc' or 'desc'. SortOrder SortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // The field to sort managed instance views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, approximateJreCount_, _approximateInstallationCount_ // and _approximateApplicationCount_ is **descending**. // If no value is specified _timeLastSeen_ is default. SortBy ManagedInstanceSortByEnum `mandatory:"false" json:"sortBy,omitempty"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateApplicationCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeManagedInstanceUsageFieldsEnum `mandatory:"false" json:"fields"` }
func (m RequestSummarizedManagedInstanceUsageDetails) String() string
RequestSummarizedManagedInstanceUsageRequest wrapper for the RequestSummarizedManagedInstanceUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/RequestSummarizedManagedInstanceUsage.go.html to see an example of how to use RequestSummarizedManagedInstanceUsageRequest.
type RequestSummarizedManagedInstanceUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // Parameters for filtering managed instance usage. RequestSummarizedManagedInstanceUsageDetails `contributesTo:"body"` // 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. The token 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 }
func (request RequestSummarizedManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestSummarizedManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestSummarizedManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestSummarizedManagedInstanceUsageRequest) String() string
RequestSummarizedManagedInstanceUsageResponse wrapper for the RequestSummarizedManagedInstanceUsage operation
type RequestSummarizedManagedInstanceUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceUsageCollection instances ManagedInstanceUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response RequestSummarizedManagedInstanceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestSummarizedManagedInstanceUsageResponse) String() string
SortByEnum Enum with underlying type: string
type SortByEnum string
Set of constants representing the allowable values for SortByEnum
const ( SortByDisplayName SortByEnum = "displayName" SortByTimeCreated SortByEnum = "timeCreated" )
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SummarizeApplicationUsageFieldsEnum Enum with underlying type: string
type SummarizeApplicationUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageFieldsEnum
const ( SummarizeApplicationUsageFieldsApproximateJreCount SummarizeApplicationUsageFieldsEnum = "approximateJreCount" SummarizeApplicationUsageFieldsApproximateInstallationCount SummarizeApplicationUsageFieldsEnum = "approximateInstallationCount" SummarizeApplicationUsageFieldsApproximateManagedInstanceCount SummarizeApplicationUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetSummarizeApplicationUsageFieldsEnumValues() []SummarizeApplicationUsageFieldsEnum
GetSummarizeApplicationUsageFieldsEnumValues Enumerates the set of values for SummarizeApplicationUsageFieldsEnum
SummarizeApplicationUsageRequest wrapper for the SummarizeApplicationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsageRequest.
type SummarizeApplicationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The Fleet-unique identifier of the application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The type of the application. ApplicationType *string `mandatory:"false" contributesTo:"query" name:"applicationType"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeApplicationUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"` // The start of the time period during which resources are searched (formatted according to RFC3339). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeApplicationUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort application views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, _approximateJreCount_, _approximateInstallationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _displayName_ is **ascending**. // If no value is specified _timeLastSeen_ is default. SortBy SummarizeApplicationUsageSortByEnum `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 }
func (request SummarizeApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeApplicationUsageRequest) String() string
SummarizeApplicationUsageResponse wrapper for the SummarizeApplicationUsage operation
type SummarizeApplicationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ApplicationUsageCollection instances ApplicationUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeApplicationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeApplicationUsageResponse) String() string
SummarizeApplicationUsageSortByEnum Enum with underlying type: string
type SummarizeApplicationUsageSortByEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageSortByEnum
const ( SummarizeApplicationUsageSortByTimefirstseen SummarizeApplicationUsageSortByEnum = "timeFirstSeen" SummarizeApplicationUsageSortByTimelastseen SummarizeApplicationUsageSortByEnum = "timeLastSeen" SummarizeApplicationUsageSortByDisplayname SummarizeApplicationUsageSortByEnum = "displayName" SummarizeApplicationUsageSortByApproximatejrecount SummarizeApplicationUsageSortByEnum = "approximateJreCount" SummarizeApplicationUsageSortByApproximateinstallationcount SummarizeApplicationUsageSortByEnum = "approximateInstallationCount" SummarizeApplicationUsageSortByApproximatemanagedinstancecount SummarizeApplicationUsageSortByEnum = "approximateManagedInstanceCount" )
func GetSummarizeApplicationUsageSortByEnumValues() []SummarizeApplicationUsageSortByEnum
GetSummarizeApplicationUsageSortByEnumValues Enumerates the set of values for SummarizeApplicationUsageSortByEnum
SummarizeApplicationUsageSortOrderEnum Enum with underlying type: string
type SummarizeApplicationUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeApplicationUsageSortOrderEnum
const ( SummarizeApplicationUsageSortOrderAsc SummarizeApplicationUsageSortOrderEnum = "ASC" SummarizeApplicationUsageSortOrderDesc SummarizeApplicationUsageSortOrderEnum = "DESC" )
func GetSummarizeApplicationUsageSortOrderEnumValues() []SummarizeApplicationUsageSortOrderEnum
GetSummarizeApplicationUsageSortOrderEnumValues Enumerates the set of values for SummarizeApplicationUsageSortOrderEnum
SummarizeInstallationUsageFieldsEnum Enum with underlying type: string
type SummarizeInstallationUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageFieldsEnum
const ( SummarizeInstallationUsageFieldsApproximateApplicationCount SummarizeInstallationUsageFieldsEnum = "approximateApplicationCount" SummarizeInstallationUsageFieldsApproximateManagedInstanceCount SummarizeInstallationUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetSummarizeInstallationUsageFieldsEnumValues() []SummarizeInstallationUsageFieldsEnum
GetSummarizeInstallationUsageFieldsEnumValues Enumerates the set of values for SummarizeInstallationUsageFieldsEnum
SummarizeInstallationUsageRequest wrapper for the SummarizeInstallationUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsageRequest.
type SummarizeInstallationUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeInstallationUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"` // The start of the time period during which resources are searched (formatted according to RFC3339). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeInstallationUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort installation views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, and _jreVersion_, _approximateApplicationCount_ // and _approximateManagedInstanceCount_ is **descending**. // Default order for _jreDistribution_ and _jreVendor_ is **ascending**. If no value is specified _timeLastSeen_ is default. SortBy SummarizeInstallationUsageSortByEnum `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 }
func (request SummarizeInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeInstallationUsageRequest) String() string
SummarizeInstallationUsageResponse wrapper for the SummarizeInstallationUsage operation
type SummarizeInstallationUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of InstallationUsageCollection instances InstallationUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeInstallationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeInstallationUsageResponse) String() string
SummarizeInstallationUsageSortByEnum Enum with underlying type: string
type SummarizeInstallationUsageSortByEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageSortByEnum
const ( SummarizeInstallationUsageSortByJredistribution SummarizeInstallationUsageSortByEnum = "jreDistribution" SummarizeInstallationUsageSortByJrevendor SummarizeInstallationUsageSortByEnum = "jreVendor" SummarizeInstallationUsageSortByJreversion SummarizeInstallationUsageSortByEnum = "jreVersion" SummarizeInstallationUsageSortByPath SummarizeInstallationUsageSortByEnum = "path" SummarizeInstallationUsageSortByTimefirstseen SummarizeInstallationUsageSortByEnum = "timeFirstSeen" SummarizeInstallationUsageSortByTimelastseen SummarizeInstallationUsageSortByEnum = "timeLastSeen" SummarizeInstallationUsageSortByApproximateapplicationcount SummarizeInstallationUsageSortByEnum = "approximateApplicationCount" SummarizeInstallationUsageSortByApproximatemanagedinstancecount SummarizeInstallationUsageSortByEnum = "approximateManagedInstanceCount" )
func GetSummarizeInstallationUsageSortByEnumValues() []SummarizeInstallationUsageSortByEnum
GetSummarizeInstallationUsageSortByEnumValues Enumerates the set of values for SummarizeInstallationUsageSortByEnum
SummarizeInstallationUsageSortOrderEnum Enum with underlying type: string
type SummarizeInstallationUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeInstallationUsageSortOrderEnum
const ( SummarizeInstallationUsageSortOrderAsc SummarizeInstallationUsageSortOrderEnum = "ASC" SummarizeInstallationUsageSortOrderDesc SummarizeInstallationUsageSortOrderEnum = "DESC" )
func GetSummarizeInstallationUsageSortOrderEnumValues() []SummarizeInstallationUsageSortOrderEnum
GetSummarizeInstallationUsageSortOrderEnumValues Enumerates the set of values for SummarizeInstallationUsageSortOrderEnum
SummarizeJreUsageFieldsEnum Enum with underlying type: string
type SummarizeJreUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeJreUsageFieldsEnum
const ( SummarizeJreUsageFieldsApproximateInstallationCount SummarizeJreUsageFieldsEnum = "approximateInstallationCount" SummarizeJreUsageFieldsApproximateApplicationCount SummarizeJreUsageFieldsEnum = "approximateApplicationCount" SummarizeJreUsageFieldsApproximateManagedInstanceCount SummarizeJreUsageFieldsEnum = "approximateManagedInstanceCount" )
func GetSummarizeJreUsageFieldsEnumValues() []SummarizeJreUsageFieldsEnum
GetSummarizeJreUsageFieldsEnumValues Enumerates the set of values for SummarizeJreUsageFieldsEnum
SummarizeJreUsageRequest wrapper for the SummarizeJreUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsageRequest.
type SummarizeJreUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The vendor of the Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // The Fleet-unique identifier of the related managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateApplicationCount', 'approximateInstallationCount' and 'approximateManagedInstanceCount'. // For example 'approximateApplicationCount,approximateManagedInstanceCount'. Fields []SummarizeJreUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"` // The start of the time period during which resources are searched (formatted according to RFC3339). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeJreUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort JRE usages. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, and _version_ is **descending**. // Default order for _timeFirstSeen_, _timeLastSeen_, _version_, _approximateInstallationCount_, // _approximateApplicationCount_ and _approximateManagedInstanceCount_ is **descending**. // Default order for _distribution_ and _vendor_ is **ascending**. If no value is specified _timeLastSeen_ is default. SortBy SummarizeJreUsageSortByEnum `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 }
func (request SummarizeJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeJreUsageRequest) String() string
SummarizeJreUsageResponse wrapper for the SummarizeJreUsage operation
type SummarizeJreUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of JreUsageCollection instances JreUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeJreUsageResponse) String() string
SummarizeJreUsageSortByEnum Enum with underlying type: string
type SummarizeJreUsageSortByEnum string
Set of constants representing the allowable values for SummarizeJreUsageSortByEnum
const ( SummarizeJreUsageSortByDistribution SummarizeJreUsageSortByEnum = "distribution" SummarizeJreUsageSortByTimefirstseen SummarizeJreUsageSortByEnum = "timeFirstSeen" SummarizeJreUsageSortByTimelastseen SummarizeJreUsageSortByEnum = "timeLastSeen" SummarizeJreUsageSortByVendor SummarizeJreUsageSortByEnum = "vendor" SummarizeJreUsageSortByVersion SummarizeJreUsageSortByEnum = "version" SummarizeJreUsageSortByApproximateinstallationcount SummarizeJreUsageSortByEnum = "approximateInstallationCount" SummarizeJreUsageSortByApproximateapplicationcount SummarizeJreUsageSortByEnum = "approximateApplicationCount" SummarizeJreUsageSortByApproximatemanagedinstancecount SummarizeJreUsageSortByEnum = "approximateManagedInstanceCount" )
func GetSummarizeJreUsageSortByEnumValues() []SummarizeJreUsageSortByEnum
GetSummarizeJreUsageSortByEnumValues Enumerates the set of values for SummarizeJreUsageSortByEnum
SummarizeJreUsageSortOrderEnum Enum with underlying type: string
type SummarizeJreUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeJreUsageSortOrderEnum
const ( SummarizeJreUsageSortOrderAsc SummarizeJreUsageSortOrderEnum = "ASC" SummarizeJreUsageSortOrderDesc SummarizeJreUsageSortOrderEnum = "DESC" )
func GetSummarizeJreUsageSortOrderEnumValues() []SummarizeJreUsageSortOrderEnum
GetSummarizeJreUsageSortOrderEnumValues Enumerates the set of values for SummarizeJreUsageSortOrderEnum
SummarizeManagedInstanceUsageFieldsEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageFieldsEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageFieldsEnum
const ( SummarizeManagedInstanceUsageFieldsApproximateJreCount SummarizeManagedInstanceUsageFieldsEnum = "approximateJreCount" SummarizeManagedInstanceUsageFieldsApproximateInstallationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageFieldsApproximateApplicationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateApplicationCount" )
func GetSummarizeManagedInstanceUsageFieldsEnumValues() []SummarizeManagedInstanceUsageFieldsEnum
GetSummarizeManagedInstanceUsageFieldsEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageFieldsEnum
SummarizeManagedInstanceUsageManagedInstanceTypeEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageManagedInstanceTypeEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
const ( SummarizeManagedInstanceUsageManagedInstanceTypeOracleManagementAgent SummarizeManagedInstanceUsageManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT" )
func GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues() []SummarizeManagedInstanceUsageManagedInstanceTypeEnum
GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
SummarizeManagedInstanceUsageRequest wrapper for the SummarizeManagedInstanceUsage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsageRequest.
type SummarizeManagedInstanceUsageRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The Fleet-unique identifier of the managed instance. ManagedInstanceId *string `mandatory:"false" contributesTo:"query" name:"managedInstanceId"` // The type of the managed instance. ManagedInstanceType SummarizeManagedInstanceUsageManagedInstanceTypeEnum `mandatory:"false" contributesTo:"query" name:"managedInstanceType" omitEmpty:"true"` // The vendor of the related Java Runtime. JreVendor *string `mandatory:"false" contributesTo:"query" name:"jreVendor"` // The distribution of the related Java Runtime. JreDistribution *string `mandatory:"false" contributesTo:"query" name:"jreDistribution"` // The version of the related Java Runtime. JreVersion *string `mandatory:"false" contributesTo:"query" name:"jreVersion"` // The file system path of the installation. InstallationPath *string `mandatory:"false" contributesTo:"query" name:"installationPath"` // The Fleet-unique identifier of the related application. ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"` // Additional fields to include into the returned model on top of the required ones. // This parameter can also include 'approximateJreCount', 'approximateInstallationCount' and 'approximateApplicationCount'. // For example 'approximateJreCount,approximateInstallationCount'. Fields []SummarizeManagedInstanceUsageFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"` // The start of the time period during which resources are searched (formatted according to RFC3339). TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // The end of the time period during which resources are searched (formatted according to RFC3339). TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order, either 'asc' or 'desc'. SortOrder SummarizeManagedInstanceUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort managed instance views. Only one sort order may be provided. // Default order for _timeFirstSeen_, _timeLastSeen_, approximateJreCount_, _approximateInstallationCount_ // and _approximateApplicationCount_ is **descending**. // If no value is specified _timeLastSeen_ is default. SortBy SummarizeManagedInstanceUsageSortByEnum `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 }
func (request SummarizeManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request SummarizeManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request SummarizeManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request SummarizeManagedInstanceUsageRequest) String() string
SummarizeManagedInstanceUsageResponse wrapper for the SummarizeManagedInstanceUsage operation
type SummarizeManagedInstanceUsageResponse struct { // The underlying http response RawResponse *http.Response // A list of ManagedInstanceUsageCollection instances ManagedInstanceUsageCollection `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 list pagination. When this header appears in the response, additional pages of results remain. // Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response SummarizeManagedInstanceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response SummarizeManagedInstanceUsageResponse) String() string
SummarizeManagedInstanceUsageSortByEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageSortByEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortByEnum
const ( SummarizeManagedInstanceUsageSortByTimefirstseen SummarizeManagedInstanceUsageSortByEnum = "timeFirstSeen" SummarizeManagedInstanceUsageSortByTimelastseen SummarizeManagedInstanceUsageSortByEnum = "timeLastSeen" SummarizeManagedInstanceUsageSortByApproximatejrecount SummarizeManagedInstanceUsageSortByEnum = "approximateJreCount" SummarizeManagedInstanceUsageSortByApproximateinstallationcount SummarizeManagedInstanceUsageSortByEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageSortByApproximateapplicationcount SummarizeManagedInstanceUsageSortByEnum = "approximateApplicationCount" )
func GetSummarizeManagedInstanceUsageSortByEnumValues() []SummarizeManagedInstanceUsageSortByEnum
GetSummarizeManagedInstanceUsageSortByEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortByEnum
SummarizeManagedInstanceUsageSortOrderEnum Enum with underlying type: string
type SummarizeManagedInstanceUsageSortOrderEnum string
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortOrderEnum
const ( SummarizeManagedInstanceUsageSortOrderAsc SummarizeManagedInstanceUsageSortOrderEnum = "ASC" SummarizeManagedInstanceUsageSortOrderDesc SummarizeManagedInstanceUsageSortOrderEnum = "DESC" )
func GetSummarizeManagedInstanceUsageSortOrderEnumValues() []SummarizeManagedInstanceUsageSortOrderEnum
GetSummarizeManagedInstanceUsageSortOrderEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortOrderEnum
UpdateFleetAgentConfigurationDetails Attributes to update a Fleet Agent Configuration.
type UpdateFleetAgentConfigurationDetails struct { // The frequency (in minutes) of JRE scanning. (That is, how often should JMS scan for JRE installations.) JreScanFrequencyInMinutes *int `mandatory:"false" json:"jreScanFrequencyInMinutes"` // The frequency (in minutes) of Java Usage Tracker processing. (That is, how often should JMS process data from the Java Usage Tracker.) JavaUsageTrackerProcessingFrequencyInMinutes *int `mandatory:"false" json:"javaUsageTrackerProcessingFrequencyInMinutes"` LinuxConfiguration *FleetAgentOsConfiguration `mandatory:"false" json:"linuxConfiguration"` WindowsConfiguration *FleetAgentOsConfiguration `mandatory:"false" json:"windowsConfiguration"` }
func (m UpdateFleetAgentConfigurationDetails) String() string
UpdateFleetAgentConfigurationRequest wrapper for the UpdateFleetAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfigurationRequest.
type UpdateFleetAgentConfigurationRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The new details for the Fleet Agent Configuration. UpdateFleetAgentConfigurationDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
func (request UpdateFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateFleetAgentConfigurationRequest) String() string
UpdateFleetAgentConfigurationResponse wrapper for the UpdateFleetAgentConfiguration operation
type UpdateFleetAgentConfigurationResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the 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"` }
func (response UpdateFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateFleetAgentConfigurationResponse) String() string
UpdateFleetDetails Attributes to update a Fleet.
type UpdateFleetDetails struct { // The name of the Fleet. The displayName must be unique for Fleets in the same compartment. DisplayName *string `mandatory:"false" json:"displayName"` // The Fleet's description. Description *string `mandatory:"false" json:"description"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // Example: `{"foo-namespace": {"bar-key": "value"}}`. (See Understanding Free-form Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm)). DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. // Example: `{"bar-key": "value"}`. (See Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Concepts/understandingfreeformtags.htm).) FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` }
func (m UpdateFleetDetails) String() string
UpdateFleetRequest wrapper for the UpdateFleet operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.0.0/jms/UpdateFleet.go.html to see an example of how to use UpdateFleetRequest.
type UpdateFleetRequest struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. FleetId *string `mandatory:"true" contributesTo:"path" name:"fleetId"` // The new details for the Fleet. UpdateFleetDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // ETag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the ETag you // provide matches the resource's current ETag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // 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 }
func (request UpdateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateFleetRequest) String() string
UpdateFleetResponse wrapper for the UpdateFleet operation
type UpdateFleetResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. // You can use this to query the 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"` }
func (response UpdateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateFleetResponse) String() string
WorkRequest An asynchronous work request. See Work Requests (https://docs.cloud.oracle.com/Content/General/Concepts/workrequestoverview.htm).
type WorkRequest struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) 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 that are affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // The percentage complete of the operation tracked by this work request. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created (formatted according to RFC3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request transitioned from _ACCEPTED_ to _IN_PROGRESS_ (formatted according to RFC3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request reached a terminal state, either _FAILED_ or _SUCCEEDED_ (formatted according to RFC3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestCollection Results of a work request search. Contains WorkRequest items
type WorkRequestCollection struct { // A list of work requests. Items []WorkRequest `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
WorkRequestError An error encountered while executing an operation that is tracked by a work request.
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 date and time the error occured (formatted according to RFC3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestErrorCollection Results of a work request error search. Contains WorkRequestError items
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written (formatted according to RFC3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestLogEntryCollection Results of a work request log entry search. Contains WorkRequestLogEntry items
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
type WorkRequestResource struct { // The resource type affected by the work request. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource was affected by the operation that spawned 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 ActionTypeEnum `mandatory:"true" json:"actionType"` // An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) or other unique identifier of the resource affected by the work request. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can perform a GET operation to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string