Documentation ¶
Index ¶
- type ActionTypeEnum
- type ApplicationSortByEnum
- type ApplicationUsage
- type ApplicationUsageCollection
- type ChangeFleetCompartmentDetails
- type ChangeFleetCompartmentRequest
- func (request ChangeFleetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeFleetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ChangeFleetCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeFleetCompartmentRequest) String() string
- type ChangeFleetCompartmentResponse
- type CreateFleetDetails
- type CreateFleetRequest
- func (request CreateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request CreateFleetRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateFleetRequest) String() string
- type CreateFleetResponse
- type DeleteFleetRequest
- func (request DeleteFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeleteFleetRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteFleetRequest) String() string
- type DeleteFleetResponse
- type Fleet
- type FleetAgentConfiguration
- type FleetAgentOsConfiguration
- type FleetCollection
- type FleetSummary
- type GetFleetAgentConfigurationRequest
- func (request GetFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request GetFleetAgentConfigurationRequest) String() string
- type GetFleetAgentConfigurationResponse
- type GetFleetRequest
- func (request GetFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetFleetRequest) RetryPolicy() *common.RetryPolicy
- func (request GetFleetRequest) String() string
- type GetFleetResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- type GetWorkRequestResponse
- type InstallationSortByEnum
- type InstallationUsage
- type InstallationUsageCollection
- type JavaManagementServiceClient
- func NewJavaManagementServiceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client JavaManagementServiceClient, err error)
- func NewJavaManagementServiceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client JavaManagementServiceClient, err error)
- func (client JavaManagementServiceClient) ChangeFleetCompartment(ctx context.Context, request ChangeFleetCompartmentRequest) (response ChangeFleetCompartmentResponse, err error)
- func (client *JavaManagementServiceClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client JavaManagementServiceClient) CreateFleet(ctx context.Context, request CreateFleetRequest) (response CreateFleetResponse, err error)
- func (client JavaManagementServiceClient) DeleteFleet(ctx context.Context, request DeleteFleetRequest) (response DeleteFleetResponse, err error)
- func (client JavaManagementServiceClient) GetFleet(ctx context.Context, request GetFleetRequest) (response GetFleetResponse, err error)
- func (client JavaManagementServiceClient) GetFleetAgentConfiguration(ctx context.Context, request GetFleetAgentConfigurationRequest) (response GetFleetAgentConfigurationResponse, err error)
- func (client JavaManagementServiceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client JavaManagementServiceClient) ListFleets(ctx context.Context, request ListFleetsRequest) (response ListFleetsResponse, err error)
- func (client JavaManagementServiceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client JavaManagementServiceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client JavaManagementServiceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client JavaManagementServiceClient) RequestSummarizedApplicationUsage(ctx context.Context, request RequestSummarizedApplicationUsageRequest) (response RequestSummarizedApplicationUsageResponse, err error)
- func (client JavaManagementServiceClient) RequestSummarizedInstallationUsage(ctx context.Context, request RequestSummarizedInstallationUsageRequest) (response RequestSummarizedInstallationUsageResponse, err error)
- func (client JavaManagementServiceClient) RequestSummarizedJreUsage(ctx context.Context, request RequestSummarizedJreUsageRequest) (response RequestSummarizedJreUsageResponse, err error)
- func (client JavaManagementServiceClient) RequestSummarizedManagedInstanceUsage(ctx context.Context, request RequestSummarizedManagedInstanceUsageRequest) (response RequestSummarizedManagedInstanceUsageResponse, err error)
- func (client *JavaManagementServiceClient) SetRegion(region string)
- func (client JavaManagementServiceClient) SummarizeApplicationUsage(ctx context.Context, request SummarizeApplicationUsageRequest) (response SummarizeApplicationUsageResponse, err error)
- func (client JavaManagementServiceClient) SummarizeInstallationUsage(ctx context.Context, request SummarizeInstallationUsageRequest) (response SummarizeInstallationUsageResponse, err error)
- func (client JavaManagementServiceClient) SummarizeJreUsage(ctx context.Context, request SummarizeJreUsageRequest) (response SummarizeJreUsageResponse, err error)
- func (client JavaManagementServiceClient) SummarizeManagedInstanceUsage(ctx context.Context, request SummarizeManagedInstanceUsageRequest) (response SummarizeManagedInstanceUsageResponse, err error)
- func (client JavaManagementServiceClient) UpdateFleet(ctx context.Context, request UpdateFleetRequest) (response UpdateFleetResponse, err error)
- func (client JavaManagementServiceClient) UpdateFleetAgentConfiguration(ctx context.Context, request UpdateFleetAgentConfigurationRequest) (response UpdateFleetAgentConfigurationResponse, err error)
- type JreSortByEnum
- type JreUsage
- type JreUsageCollection
- type LifecycleStateEnum
- type ListFleetsLifecycleStateEnum
- type ListFleetsRequest
- func (request ListFleetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListFleetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListFleetsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListFleetsRequest) String() string
- type ListFleetsResponse
- type ListFleetsSortByEnum
- type ListFleetsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- type ListWorkRequestLogsResponse
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- type ListWorkRequestsResponse
- type ManagedInstanceSortByEnum
- type ManagedInstanceTypeEnum
- type ManagedInstanceUsage
- type ManagedInstanceUsageCollection
- type OperationStatusEnum
- type OperationTypeEnum
- type RequestSummarizedApplicationUsageDetails
- type RequestSummarizedApplicationUsageRequest
- func (request RequestSummarizedApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RequestSummarizedApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request RequestSummarizedApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request RequestSummarizedApplicationUsageRequest) String() string
- type RequestSummarizedApplicationUsageResponse
- type RequestSummarizedInstallationUsageDetails
- type RequestSummarizedInstallationUsageRequest
- func (request RequestSummarizedInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RequestSummarizedInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request RequestSummarizedInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request RequestSummarizedInstallationUsageRequest) String() string
- type RequestSummarizedInstallationUsageResponse
- type RequestSummarizedJreUsageDetails
- type RequestSummarizedJreUsageRequest
- func (request RequestSummarizedJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RequestSummarizedJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request RequestSummarizedJreUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request RequestSummarizedJreUsageRequest) String() string
- type RequestSummarizedJreUsageResponse
- type RequestSummarizedManagedInstanceUsageDetails
- type RequestSummarizedManagedInstanceUsageRequest
- func (request RequestSummarizedManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RequestSummarizedManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request RequestSummarizedManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request RequestSummarizedManagedInstanceUsageRequest) String() string
- type RequestSummarizedManagedInstanceUsageResponse
- type SortByEnum
- type SortOrderEnum
- type SummarizeApplicationUsageFieldsEnum
- type SummarizeApplicationUsageRequest
- func (request SummarizeApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request SummarizeApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeApplicationUsageRequest) String() string
- type SummarizeApplicationUsageResponse
- type SummarizeApplicationUsageSortByEnum
- type SummarizeApplicationUsageSortOrderEnum
- type SummarizeInstallationUsageFieldsEnum
- type SummarizeInstallationUsageRequest
- func (request SummarizeInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request SummarizeInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeInstallationUsageRequest) String() string
- type SummarizeInstallationUsageResponse
- type SummarizeInstallationUsageSortByEnum
- type SummarizeInstallationUsageSortOrderEnum
- type SummarizeJreUsageFieldsEnum
- type SummarizeJreUsageRequest
- func (request SummarizeJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request SummarizeJreUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeJreUsageRequest) String() string
- type SummarizeJreUsageResponse
- type SummarizeJreUsageSortByEnum
- type SummarizeJreUsageSortOrderEnum
- type SummarizeManagedInstanceUsageFieldsEnum
- type SummarizeManagedInstanceUsageManagedInstanceTypeEnum
- type SummarizeManagedInstanceUsageRequest
- func (request SummarizeManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request SummarizeManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request SummarizeManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
- func (request SummarizeManagedInstanceUsageRequest) String() string
- type SummarizeManagedInstanceUsageResponse
- type SummarizeManagedInstanceUsageSortByEnum
- type SummarizeManagedInstanceUsageSortOrderEnum
- type UpdateFleetAgentConfigurationDetails
- type UpdateFleetAgentConfigurationRequest
- func (request UpdateFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request UpdateFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateFleetAgentConfigurationRequest) String() string
- type UpdateFleetAgentConfigurationResponse
- type UpdateFleetDetails
- type UpdateFleetRequest
- func (request UpdateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request UpdateFleetRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateFleetRequest) String() string
- type UpdateFleetResponse
- type WorkRequest
- type WorkRequestCollection
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
type ApplicationSortByEnum ¶
type ApplicationSortByEnum string
ApplicationSortByEnum Enum with underlying type: string
const ( ApplicationSortByTimeFirstSeen ApplicationSortByEnum = "timeFirstSeen" ApplicationSortByTimeLastSeen ApplicationSortByEnum = "timeLastSeen" ApplicationSortByDisplayName ApplicationSortByEnum = "displayName" ApplicationSortByApproximateJreCount ApplicationSortByEnum = "approximateJreCount" ApplicationSortByApproximateInstallationCount ApplicationSortByEnum = "approximateInstallationCount" ApplicationSortByApproximateManagedInstanceCount ApplicationSortByEnum = "approximateManagedInstanceCount" )
Set of constants representing the allowable values for ApplicationSortByEnum
func GetApplicationSortByEnumValues ¶
func GetApplicationSortByEnumValues() []ApplicationSortByEnum
GetApplicationSortByEnumValues Enumerates the set of values for ApplicationSortByEnum
type ApplicationUsage ¶
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"` }
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.
func (ApplicationUsage) String ¶
func (m ApplicationUsage) String() string
type ApplicationUsageCollection ¶
type ApplicationUsageCollection struct { // A list of applications. Items []ApplicationUsage `mandatory:"true" json:"items"` }
ApplicationUsageCollection Results of an application search. Contains ApplicationUsage items.
func (ApplicationUsageCollection) String ¶
func (m ApplicationUsageCollection) String() string
type ChangeFleetCompartmentDetails ¶
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"` }
ChangeFleetCompartmentDetails Attributes to change the compartment of a Fleet.
func (ChangeFleetCompartmentDetails) String ¶
func (m ChangeFleetCompartmentDetails) String() string
type 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 }
ChangeFleetCompartmentRequest wrapper for the ChangeFleetCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartmentRequest.
func (ChangeFleetCompartmentRequest) BinaryRequestBody ¶
func (request ChangeFleetCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeFleetCompartmentRequest) HTTPRequest ¶
func (request ChangeFleetCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeFleetCompartmentRequest) RetryPolicy ¶
func (request ChangeFleetCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeFleetCompartmentRequest) String ¶
func (request ChangeFleetCompartmentRequest) String() string
type ChangeFleetCompartmentResponse ¶
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"` }
ChangeFleetCompartmentResponse wrapper for the ChangeFleetCompartment operation
func (ChangeFleetCompartmentResponse) HTTPResponse ¶
func (response ChangeFleetCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeFleetCompartmentResponse) String ¶
func (response ChangeFleetCompartmentResponse) String() string
type CreateFleetDetails ¶
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"` }
CreateFleetDetails Attributes to create a Fleet.
func (CreateFleetDetails) String ¶
func (m CreateFleetDetails) String() string
type 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 }
CreateFleetRequest wrapper for the CreateFleet operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/CreateFleet.go.html to see an example of how to use CreateFleetRequest.
func (CreateFleetRequest) BinaryRequestBody ¶
func (request CreateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateFleetRequest) HTTPRequest ¶
func (request CreateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateFleetRequest) RetryPolicy ¶
func (request CreateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateFleetRequest) String ¶
func (request CreateFleetRequest) String() string
type CreateFleetResponse ¶
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"` }
CreateFleetResponse wrapper for the CreateFleet operation
func (CreateFleetResponse) HTTPResponse ¶
func (response CreateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateFleetResponse) String ¶
func (response CreateFleetResponse) String() string
type 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 }
DeleteFleetRequest wrapper for the DeleteFleet operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/DeleteFleet.go.html to see an example of how to use DeleteFleetRequest.
func (DeleteFleetRequest) BinaryRequestBody ¶
func (request DeleteFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteFleetRequest) HTTPRequest ¶
func (request DeleteFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteFleetRequest) RetryPolicy ¶
func (request DeleteFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteFleetRequest) String ¶
func (request DeleteFleetRequest) String() string
type DeleteFleetResponse ¶
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"` }
DeleteFleetResponse wrapper for the DeleteFleet operation
func (DeleteFleetResponse) HTTPResponse ¶
func (response DeleteFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteFleetResponse) String ¶
func (response DeleteFleetResponse) String() string
type Fleet ¶
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"` }
Fleet A Fleet is the primary collection with which users interact when using Java Management Service.
type FleetAgentConfiguration ¶
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"` }
FleetAgentConfiguration Management Agent Configuration for a Fleet. Includes JRE scanning frequency and list of include/exclude file system paths.
func (FleetAgentConfiguration) String ¶
func (m FleetAgentConfiguration) String() string
type FleetAgentOsConfiguration ¶
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"` }
FleetAgentOsConfiguration Management Agent Configuration for list of include/exclude file system paths (specific to operating system).
func (FleetAgentOsConfiguration) String ¶
func (m FleetAgentOsConfiguration) String() string
type FleetCollection ¶
type FleetCollection struct { // A list of Fleets. Items []FleetSummary `mandatory:"true" json:"items"` }
FleetCollection Results of a Fleet search. Contains FleetSummary items.
func (FleetCollection) String ¶
func (m FleetCollection) String() string
type FleetSummary ¶
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"` }
FleetSummary The summary of the Fleet. A Fleet is the primary collection with which users interact when using Java Management Service.
func (FleetSummary) String ¶
func (m FleetSummary) String() string
type 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 }
GetFleetAgentConfigurationRequest wrapper for the GetFleetAgentConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfigurationRequest.
func (GetFleetAgentConfigurationRequest) BinaryRequestBody ¶
func (request GetFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetFleetAgentConfigurationRequest) HTTPRequest ¶
func (request GetFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetFleetAgentConfigurationRequest) RetryPolicy ¶
func (request GetFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetFleetAgentConfigurationRequest) String ¶
func (request GetFleetAgentConfigurationRequest) String() string
type GetFleetAgentConfigurationResponse ¶
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"` }
GetFleetAgentConfigurationResponse wrapper for the GetFleetAgentConfiguration operation
func (GetFleetAgentConfigurationResponse) HTTPResponse ¶
func (response GetFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetFleetAgentConfigurationResponse) String ¶
func (response GetFleetAgentConfigurationResponse) String() string
type 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 }
GetFleetRequest wrapper for the GetFleet operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetFleet.go.html to see an example of how to use GetFleetRequest.
func (GetFleetRequest) BinaryRequestBody ¶
func (request GetFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetFleetRequest) HTTPRequest ¶
func (request GetFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetFleetRequest) RetryPolicy ¶
func (request GetFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetFleetRequest) String ¶
func (request GetFleetRequest) String() string
type GetFleetResponse ¶
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"` }
GetFleetResponse wrapper for the GetFleet operation
func (GetFleetResponse) HTTPResponse ¶
func (response GetFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetFleetResponse) String ¶
func (response GetFleetResponse) String() string
type 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type InstallationSortByEnum ¶
type InstallationSortByEnum string
InstallationSortByEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for InstallationSortByEnum
func GetInstallationSortByEnumValues ¶
func GetInstallationSortByEnumValues() []InstallationSortByEnum
GetInstallationSortByEnumValues Enumerates the set of values for InstallationSortByEnum
type InstallationUsage ¶
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"` }
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.
func (InstallationUsage) String ¶
func (m InstallationUsage) String() string
type InstallationUsageCollection ¶
type InstallationUsageCollection struct { // A list of installations. Items []InstallationUsage `mandatory:"true" json:"items"` }
InstallationUsageCollection Results of an installation search. Contains InstallationUsage items.
func (InstallationUsageCollection) String ¶
func (m InstallationUsageCollection) String() string
type JavaManagementServiceClient ¶
type JavaManagementServiceClient struct { common.BaseClient // contains filtered or unexported fields }
JavaManagementServiceClient a client for JavaManagementService
func NewJavaManagementServiceClientWithConfigurationProvider ¶
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 ¶
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 (JavaManagementServiceClient) ChangeFleetCompartment ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ChangeFleetCompartment.go.html to see an example of how to use ChangeFleetCompartment API.
func (*JavaManagementServiceClient) ConfigurationProvider ¶
func (client *JavaManagementServiceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (JavaManagementServiceClient) CreateFleet ¶
func (client JavaManagementServiceClient) CreateFleet(ctx context.Context, request CreateFleetRequest) (response CreateFleetResponse, err error)
CreateFleet Create a new Fleet using the information provided.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/CreateFleet.go.html to see an example of how to use CreateFleet API.
func (JavaManagementServiceClient) DeleteFleet ¶
func (client JavaManagementServiceClient) DeleteFleet(ctx context.Context, request DeleteFleetRequest) (response DeleteFleetResponse, err error)
DeleteFleet Deletes the Fleet specified by an identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/DeleteFleet.go.html to see an example of how to use DeleteFleet API.
func (JavaManagementServiceClient) GetFleet ¶
func (client JavaManagementServiceClient) GetFleet(ctx context.Context, request GetFleetRequest) (response GetFleetResponse, err error)
GetFleet Retrieve a Fleet with the specified identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetFleet.go.html to see an example of how to use GetFleet API.
func (JavaManagementServiceClient) GetFleetAgentConfiguration ¶
func (client JavaManagementServiceClient) GetFleetAgentConfiguration(ctx context.Context, request GetFleetAgentConfigurationRequest) (response GetFleetAgentConfigurationResponse, err error)
GetFleetAgentConfiguration Retrieve a Fleet Agent Configuration for the specified Fleet.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetFleetAgentConfiguration.go.html to see an example of how to use GetFleetAgentConfiguration API.
func (JavaManagementServiceClient) GetWorkRequest ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (JavaManagementServiceClient) ListFleets ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListFleets.go.html to see an example of how to use ListFleets API.
func (JavaManagementServiceClient) ListWorkRequestErrors ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (JavaManagementServiceClient) ListWorkRequestLogs ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (JavaManagementServiceClient) ListWorkRequests ¶
func (client JavaManagementServiceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests List the work requests in a compartment.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (JavaManagementServiceClient) RequestSummarizedApplicationUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedApplicationUsage.go.html to see an example of how to use RequestSummarizedApplicationUsage API.
func (JavaManagementServiceClient) RequestSummarizedInstallationUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedInstallationUsage.go.html to see an example of how to use RequestSummarizedInstallationUsage API.
func (JavaManagementServiceClient) RequestSummarizedJreUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedJreUsage.go.html to see an example of how to use RequestSummarizedJreUsage API.
func (JavaManagementServiceClient) RequestSummarizedManagedInstanceUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedManagedInstanceUsage.go.html to see an example of how to use RequestSummarizedManagedInstanceUsage API.
func (*JavaManagementServiceClient) SetRegion ¶
func (client *JavaManagementServiceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (JavaManagementServiceClient) SummarizeApplicationUsage ¶
func (client JavaManagementServiceClient) SummarizeApplicationUsage(ctx context.Context, request SummarizeApplicationUsageRequest) (response SummarizeApplicationUsageResponse, err error)
SummarizeApplicationUsage List application usage in a Fleet filtered by query parameters.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsage API.
func (JavaManagementServiceClient) SummarizeInstallationUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsage API.
func (JavaManagementServiceClient) SummarizeJreUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsage API.
func (JavaManagementServiceClient) SummarizeManagedInstanceUsage ¶
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.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsage API.
func (JavaManagementServiceClient) UpdateFleet ¶
func (client JavaManagementServiceClient) UpdateFleet(ctx context.Context, request UpdateFleetRequest) (response UpdateFleetResponse, err error)
UpdateFleet Update the Fleet specified by an identifier.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/UpdateFleet.go.html to see an example of how to use UpdateFleet API.
func (JavaManagementServiceClient) UpdateFleetAgentConfiguration ¶
func (client JavaManagementServiceClient) UpdateFleetAgentConfiguration(ctx context.Context, request UpdateFleetAgentConfigurationRequest) (response UpdateFleetAgentConfigurationResponse, err error)
UpdateFleetAgentConfiguration Update the Fleet Agent Configuration for the specified Fleet.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfiguration API.
type JreSortByEnum ¶
type JreSortByEnum string
JreSortByEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for JreSortByEnum
func GetJreSortByEnumValues ¶
func GetJreSortByEnumValues() []JreSortByEnum
GetJreSortByEnumValues Enumerates the set of values for JreSortByEnum
type JreUsage ¶
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"` }
JreUsage Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version.
type JreUsageCollection ¶
type JreUsageCollection struct { // A list of Java Runtimes. Items []JreUsage `mandatory:"true" json:"items"` }
JreUsageCollection Results of a Java Runtime search. Contains JreUsage items
func (JreUsageCollection) String ¶
func (m JreUsageCollection) String() string
type LifecycleStateEnum ¶
type LifecycleStateEnum string
LifecycleStateEnum Enum with underlying type: string
const ( LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateFailed LifecycleStateEnum = "FAILED" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for LifecycleStateEnum
func GetLifecycleStateEnumValues ¶
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
type ListFleetsLifecycleStateEnum ¶
type ListFleetsLifecycleStateEnum string
ListFleetsLifecycleStateEnum Enum with underlying type: string
const ( ListFleetsLifecycleStateActive ListFleetsLifecycleStateEnum = "ACTIVE" ListFleetsLifecycleStateCreating ListFleetsLifecycleStateEnum = "CREATING" ListFleetsLifecycleStateDeleted ListFleetsLifecycleStateEnum = "DELETED" ListFleetsLifecycleStateDeleting ListFleetsLifecycleStateEnum = "DELETING" ListFleetsLifecycleStateFailed ListFleetsLifecycleStateEnum = "FAILED" ListFleetsLifecycleStateUpdating ListFleetsLifecycleStateEnum = "UPDATING" )
Set of constants representing the allowable values for ListFleetsLifecycleStateEnum
func GetListFleetsLifecycleStateEnumValues ¶
func GetListFleetsLifecycleStateEnumValues() []ListFleetsLifecycleStateEnum
GetListFleetsLifecycleStateEnumValues Enumerates the set of values for ListFleetsLifecycleStateEnum
type 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 }
ListFleetsRequest wrapper for the ListFleets operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListFleets.go.html to see an example of how to use ListFleetsRequest.
func (ListFleetsRequest) BinaryRequestBody ¶
func (request ListFleetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListFleetsRequest) HTTPRequest ¶
func (request ListFleetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListFleetsRequest) RetryPolicy ¶
func (request ListFleetsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListFleetsRequest) String ¶
func (request ListFleetsRequest) String() string
type ListFleetsResponse ¶
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"` }
ListFleetsResponse wrapper for the ListFleets operation
func (ListFleetsResponse) HTTPResponse ¶
func (response ListFleetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListFleetsResponse) String ¶
func (response ListFleetsResponse) String() string
type ListFleetsSortByEnum ¶
type ListFleetsSortByEnum string
ListFleetsSortByEnum Enum with underlying type: string
const ( ListFleetsSortByDisplayname ListFleetsSortByEnum = "displayName" ListFleetsSortByTimecreated ListFleetsSortByEnum = "timeCreated" )
Set of constants representing the allowable values for ListFleetsSortByEnum
func GetListFleetsSortByEnumValues ¶
func GetListFleetsSortByEnumValues() []ListFleetsSortByEnum
GetListFleetsSortByEnumValues Enumerates the set of values for ListFleetsSortByEnum
type ListFleetsSortOrderEnum ¶
type ListFleetsSortOrderEnum string
ListFleetsSortOrderEnum Enum with underlying type: string
const ( ListFleetsSortOrderAsc ListFleetsSortOrderEnum = "ASC" ListFleetsSortOrderDesc ListFleetsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListFleetsSortOrderEnum
func GetListFleetsSortOrderEnumValues ¶
func GetListFleetsSortOrderEnumValues() []ListFleetsSortOrderEnum
GetListFleetsSortOrderEnumValues Enumerates the set of values for ListFleetsSortOrderEnum
type 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 }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type 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 }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type 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 }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ManagedInstanceSortByEnum ¶
type ManagedInstanceSortByEnum string
ManagedInstanceSortByEnum Enum with underlying type: string
const ( ManagedInstanceSortByTimeFirstSeen ManagedInstanceSortByEnum = "timeFirstSeen" ManagedInstanceSortByTimeLastSeen ManagedInstanceSortByEnum = "timeLastSeen" ManagedInstanceSortByApproximateJreCount ManagedInstanceSortByEnum = "approximateJreCount" ManagedInstanceSortByApproximateInstallationCount ManagedInstanceSortByEnum = "approximateInstallationCount" ManagedInstanceSortByApproximateApplicationCount ManagedInstanceSortByEnum = "approximateApplicationCount" )
Set of constants representing the allowable values for ManagedInstanceSortByEnum
func GetManagedInstanceSortByEnumValues ¶
func GetManagedInstanceSortByEnumValues() []ManagedInstanceSortByEnum
GetManagedInstanceSortByEnumValues Enumerates the set of values for ManagedInstanceSortByEnum
type ManagedInstanceTypeEnum ¶
type ManagedInstanceTypeEnum string
ManagedInstanceTypeEnum Enum with underlying type: string
const (
ManagedInstanceTypeOracleManagementAgent ManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT"
)
Set of constants representing the allowable values for ManagedInstanceTypeEnum
func GetManagedInstanceTypeEnumValues ¶
func GetManagedInstanceTypeEnumValues() []ManagedInstanceTypeEnum
GetManagedInstanceTypeEnumValues Enumerates the set of values for ManagedInstanceTypeEnum
type ManagedInstanceUsage ¶
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"` }
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.
func (ManagedInstanceUsage) String ¶
func (m ManagedInstanceUsage) String() string
type ManagedInstanceUsageCollection ¶
type ManagedInstanceUsageCollection struct { // A list of managed instances. Items []ManagedInstanceUsage `mandatory:"true" json:"items"` }
ManagedInstanceUsageCollection Results of a managed instance search. Contains ManagedInstanceUsage items.
func (ManagedInstanceUsageCollection) String ¶
func (m ManagedInstanceUsageCollection) String() string
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusCanceled OperationStatusEnum = "CANCELED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateFleet OperationTypeEnum = "CREATE_FLEET" OperationTypeDeleteFleet OperationTypeEnum = "DELETE_FLEET" OperationTypeMoveFleet OperationTypeEnum = "MOVE_FLEET" OperationTypeUpdateFleet OperationTypeEnum = "UPDATE_FLEET" )
Set of constants representing the allowable values for OperationTypeEnum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type RequestSummarizedApplicationUsageDetails ¶
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"` }
RequestSummarizedApplicationUsageDetails Parameters for filtering applications.
func (RequestSummarizedApplicationUsageDetails) String ¶
func (m RequestSummarizedApplicationUsageDetails) String() string
type 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 }
RequestSummarizedApplicationUsageRequest wrapper for the RequestSummarizedApplicationUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedApplicationUsage.go.html to see an example of how to use RequestSummarizedApplicationUsageRequest.
func (RequestSummarizedApplicationUsageRequest) BinaryRequestBody ¶
func (request RequestSummarizedApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RequestSummarizedApplicationUsageRequest) HTTPRequest ¶
func (request RequestSummarizedApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RequestSummarizedApplicationUsageRequest) RetryPolicy ¶
func (request RequestSummarizedApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RequestSummarizedApplicationUsageRequest) String ¶
func (request RequestSummarizedApplicationUsageRequest) String() string
type RequestSummarizedApplicationUsageResponse ¶
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"` }
RequestSummarizedApplicationUsageResponse wrapper for the RequestSummarizedApplicationUsage operation
func (RequestSummarizedApplicationUsageResponse) HTTPResponse ¶
func (response RequestSummarizedApplicationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RequestSummarizedApplicationUsageResponse) String ¶
func (response RequestSummarizedApplicationUsageResponse) String() string
type RequestSummarizedInstallationUsageDetails ¶
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"` }
RequestSummarizedInstallationUsageDetails Parameters for filtering installations.
func (RequestSummarizedInstallationUsageDetails) String ¶
func (m RequestSummarizedInstallationUsageDetails) String() string
type 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 }
RequestSummarizedInstallationUsageRequest wrapper for the RequestSummarizedInstallationUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedInstallationUsage.go.html to see an example of how to use RequestSummarizedInstallationUsageRequest.
func (RequestSummarizedInstallationUsageRequest) BinaryRequestBody ¶
func (request RequestSummarizedInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RequestSummarizedInstallationUsageRequest) HTTPRequest ¶
func (request RequestSummarizedInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RequestSummarizedInstallationUsageRequest) RetryPolicy ¶
func (request RequestSummarizedInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RequestSummarizedInstallationUsageRequest) String ¶
func (request RequestSummarizedInstallationUsageRequest) String() string
type RequestSummarizedInstallationUsageResponse ¶
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"` }
RequestSummarizedInstallationUsageResponse wrapper for the RequestSummarizedInstallationUsage operation
func (RequestSummarizedInstallationUsageResponse) HTTPResponse ¶
func (response RequestSummarizedInstallationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RequestSummarizedInstallationUsageResponse) String ¶
func (response RequestSummarizedInstallationUsageResponse) String() string
type RequestSummarizedJreUsageDetails ¶
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"` }
RequestSummarizedJreUsageDetails Parameters for filtering Java Runtime Usages.
func (RequestSummarizedJreUsageDetails) String ¶
func (m RequestSummarizedJreUsageDetails) String() string
type 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 }
RequestSummarizedJreUsageRequest wrapper for the RequestSummarizedJreUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedJreUsage.go.html to see an example of how to use RequestSummarizedJreUsageRequest.
func (RequestSummarizedJreUsageRequest) BinaryRequestBody ¶
func (request RequestSummarizedJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RequestSummarizedJreUsageRequest) HTTPRequest ¶
func (request RequestSummarizedJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RequestSummarizedJreUsageRequest) RetryPolicy ¶
func (request RequestSummarizedJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RequestSummarizedJreUsageRequest) String ¶
func (request RequestSummarizedJreUsageRequest) String() string
type RequestSummarizedJreUsageResponse ¶
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"` }
RequestSummarizedJreUsageResponse wrapper for the RequestSummarizedJreUsage operation
func (RequestSummarizedJreUsageResponse) HTTPResponse ¶
func (response RequestSummarizedJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RequestSummarizedJreUsageResponse) String ¶
func (response RequestSummarizedJreUsageResponse) String() string
type RequestSummarizedManagedInstanceUsageDetails ¶
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"` }
RequestSummarizedManagedInstanceUsageDetails Parameters for filtering managed instances.
func (RequestSummarizedManagedInstanceUsageDetails) String ¶
func (m RequestSummarizedManagedInstanceUsageDetails) String() string
type 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 }
RequestSummarizedManagedInstanceUsageRequest wrapper for the RequestSummarizedManagedInstanceUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/RequestSummarizedManagedInstanceUsage.go.html to see an example of how to use RequestSummarizedManagedInstanceUsageRequest.
func (RequestSummarizedManagedInstanceUsageRequest) BinaryRequestBody ¶
func (request RequestSummarizedManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RequestSummarizedManagedInstanceUsageRequest) HTTPRequest ¶
func (request RequestSummarizedManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RequestSummarizedManagedInstanceUsageRequest) RetryPolicy ¶
func (request RequestSummarizedManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RequestSummarizedManagedInstanceUsageRequest) String ¶
func (request RequestSummarizedManagedInstanceUsageRequest) String() string
type RequestSummarizedManagedInstanceUsageResponse ¶
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"` }
RequestSummarizedManagedInstanceUsageResponse wrapper for the RequestSummarizedManagedInstanceUsage operation
func (RequestSummarizedManagedInstanceUsageResponse) HTTPResponse ¶
func (response RequestSummarizedManagedInstanceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RequestSummarizedManagedInstanceUsageResponse) String ¶
func (response RequestSummarizedManagedInstanceUsageResponse) String() string
type SortByEnum ¶
type SortByEnum string
SortByEnum Enum with underlying type: string
const ( SortByDisplayName SortByEnum = "displayName" SortByTimeCreated SortByEnum = "timeCreated" )
Set of constants representing the allowable values for SortByEnum
func GetSortByEnumValues ¶
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
func GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type SummarizeApplicationUsageFieldsEnum ¶
type SummarizeApplicationUsageFieldsEnum string
SummarizeApplicationUsageFieldsEnum Enum with underlying type: string
const ( SummarizeApplicationUsageFieldsApproximateJreCount SummarizeApplicationUsageFieldsEnum = "approximateJreCount" SummarizeApplicationUsageFieldsApproximateInstallationCount SummarizeApplicationUsageFieldsEnum = "approximateInstallationCount" SummarizeApplicationUsageFieldsApproximateManagedInstanceCount SummarizeApplicationUsageFieldsEnum = "approximateManagedInstanceCount" )
Set of constants representing the allowable values for SummarizeApplicationUsageFieldsEnum
func GetSummarizeApplicationUsageFieldsEnumValues ¶
func GetSummarizeApplicationUsageFieldsEnumValues() []SummarizeApplicationUsageFieldsEnum
GetSummarizeApplicationUsageFieldsEnumValues Enumerates the set of values for SummarizeApplicationUsageFieldsEnum
type 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 }
SummarizeApplicationUsageRequest wrapper for the SummarizeApplicationUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeApplicationUsage.go.html to see an example of how to use SummarizeApplicationUsageRequest.
func (SummarizeApplicationUsageRequest) BinaryRequestBody ¶
func (request SummarizeApplicationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeApplicationUsageRequest) HTTPRequest ¶
func (request SummarizeApplicationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeApplicationUsageRequest) RetryPolicy ¶
func (request SummarizeApplicationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeApplicationUsageRequest) String ¶
func (request SummarizeApplicationUsageRequest) String() string
type SummarizeApplicationUsageResponse ¶
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"` }
SummarizeApplicationUsageResponse wrapper for the SummarizeApplicationUsage operation
func (SummarizeApplicationUsageResponse) HTTPResponse ¶
func (response SummarizeApplicationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeApplicationUsageResponse) String ¶
func (response SummarizeApplicationUsageResponse) String() string
type SummarizeApplicationUsageSortByEnum ¶
type SummarizeApplicationUsageSortByEnum string
SummarizeApplicationUsageSortByEnum Enum with underlying type: string
const ( SummarizeApplicationUsageSortByTimefirstseen SummarizeApplicationUsageSortByEnum = "timeFirstSeen" SummarizeApplicationUsageSortByTimelastseen SummarizeApplicationUsageSortByEnum = "timeLastSeen" SummarizeApplicationUsageSortByDisplayname SummarizeApplicationUsageSortByEnum = "displayName" SummarizeApplicationUsageSortByApproximatejrecount SummarizeApplicationUsageSortByEnum = "approximateJreCount" SummarizeApplicationUsageSortByApproximateinstallationcount SummarizeApplicationUsageSortByEnum = "approximateInstallationCount" SummarizeApplicationUsageSortByApproximatemanagedinstancecount SummarizeApplicationUsageSortByEnum = "approximateManagedInstanceCount" )
Set of constants representing the allowable values for SummarizeApplicationUsageSortByEnum
func GetSummarizeApplicationUsageSortByEnumValues ¶
func GetSummarizeApplicationUsageSortByEnumValues() []SummarizeApplicationUsageSortByEnum
GetSummarizeApplicationUsageSortByEnumValues Enumerates the set of values for SummarizeApplicationUsageSortByEnum
type SummarizeApplicationUsageSortOrderEnum ¶
type SummarizeApplicationUsageSortOrderEnum string
SummarizeApplicationUsageSortOrderEnum Enum with underlying type: string
const ( SummarizeApplicationUsageSortOrderAsc SummarizeApplicationUsageSortOrderEnum = "ASC" SummarizeApplicationUsageSortOrderDesc SummarizeApplicationUsageSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeApplicationUsageSortOrderEnum
func GetSummarizeApplicationUsageSortOrderEnumValues ¶
func GetSummarizeApplicationUsageSortOrderEnumValues() []SummarizeApplicationUsageSortOrderEnum
GetSummarizeApplicationUsageSortOrderEnumValues Enumerates the set of values for SummarizeApplicationUsageSortOrderEnum
type SummarizeInstallationUsageFieldsEnum ¶
type SummarizeInstallationUsageFieldsEnum string
SummarizeInstallationUsageFieldsEnum Enum with underlying type: string
const ( SummarizeInstallationUsageFieldsApproximateApplicationCount SummarizeInstallationUsageFieldsEnum = "approximateApplicationCount" SummarizeInstallationUsageFieldsApproximateManagedInstanceCount SummarizeInstallationUsageFieldsEnum = "approximateManagedInstanceCount" )
Set of constants representing the allowable values for SummarizeInstallationUsageFieldsEnum
func GetSummarizeInstallationUsageFieldsEnumValues ¶
func GetSummarizeInstallationUsageFieldsEnumValues() []SummarizeInstallationUsageFieldsEnum
GetSummarizeInstallationUsageFieldsEnumValues Enumerates the set of values for SummarizeInstallationUsageFieldsEnum
type 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 }
SummarizeInstallationUsageRequest wrapper for the SummarizeInstallationUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeInstallationUsage.go.html to see an example of how to use SummarizeInstallationUsageRequest.
func (SummarizeInstallationUsageRequest) BinaryRequestBody ¶
func (request SummarizeInstallationUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeInstallationUsageRequest) HTTPRequest ¶
func (request SummarizeInstallationUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeInstallationUsageRequest) RetryPolicy ¶
func (request SummarizeInstallationUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeInstallationUsageRequest) String ¶
func (request SummarizeInstallationUsageRequest) String() string
type SummarizeInstallationUsageResponse ¶
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"` }
SummarizeInstallationUsageResponse wrapper for the SummarizeInstallationUsage operation
func (SummarizeInstallationUsageResponse) HTTPResponse ¶
func (response SummarizeInstallationUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeInstallationUsageResponse) String ¶
func (response SummarizeInstallationUsageResponse) String() string
type SummarizeInstallationUsageSortByEnum ¶
type SummarizeInstallationUsageSortByEnum string
SummarizeInstallationUsageSortByEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeInstallationUsageSortByEnum
func GetSummarizeInstallationUsageSortByEnumValues ¶
func GetSummarizeInstallationUsageSortByEnumValues() []SummarizeInstallationUsageSortByEnum
GetSummarizeInstallationUsageSortByEnumValues Enumerates the set of values for SummarizeInstallationUsageSortByEnum
type SummarizeInstallationUsageSortOrderEnum ¶
type SummarizeInstallationUsageSortOrderEnum string
SummarizeInstallationUsageSortOrderEnum Enum with underlying type: string
const ( SummarizeInstallationUsageSortOrderAsc SummarizeInstallationUsageSortOrderEnum = "ASC" SummarizeInstallationUsageSortOrderDesc SummarizeInstallationUsageSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeInstallationUsageSortOrderEnum
func GetSummarizeInstallationUsageSortOrderEnumValues ¶
func GetSummarizeInstallationUsageSortOrderEnumValues() []SummarizeInstallationUsageSortOrderEnum
GetSummarizeInstallationUsageSortOrderEnumValues Enumerates the set of values for SummarizeInstallationUsageSortOrderEnum
type SummarizeJreUsageFieldsEnum ¶
type SummarizeJreUsageFieldsEnum string
SummarizeJreUsageFieldsEnum Enum with underlying type: string
const ( SummarizeJreUsageFieldsApproximateInstallationCount SummarizeJreUsageFieldsEnum = "approximateInstallationCount" SummarizeJreUsageFieldsApproximateApplicationCount SummarizeJreUsageFieldsEnum = "approximateApplicationCount" SummarizeJreUsageFieldsApproximateManagedInstanceCount SummarizeJreUsageFieldsEnum = "approximateManagedInstanceCount" )
Set of constants representing the allowable values for SummarizeJreUsageFieldsEnum
func GetSummarizeJreUsageFieldsEnumValues ¶
func GetSummarizeJreUsageFieldsEnumValues() []SummarizeJreUsageFieldsEnum
GetSummarizeJreUsageFieldsEnumValues Enumerates the set of values for SummarizeJreUsageFieldsEnum
type 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 }
SummarizeJreUsageRequest wrapper for the SummarizeJreUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeJreUsage.go.html to see an example of how to use SummarizeJreUsageRequest.
func (SummarizeJreUsageRequest) BinaryRequestBody ¶
func (request SummarizeJreUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeJreUsageRequest) HTTPRequest ¶
func (request SummarizeJreUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeJreUsageRequest) RetryPolicy ¶
func (request SummarizeJreUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeJreUsageRequest) String ¶
func (request SummarizeJreUsageRequest) String() string
type SummarizeJreUsageResponse ¶
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"` }
SummarizeJreUsageResponse wrapper for the SummarizeJreUsage operation
func (SummarizeJreUsageResponse) HTTPResponse ¶
func (response SummarizeJreUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeJreUsageResponse) String ¶
func (response SummarizeJreUsageResponse) String() string
type SummarizeJreUsageSortByEnum ¶
type SummarizeJreUsageSortByEnum string
SummarizeJreUsageSortByEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for SummarizeJreUsageSortByEnum
func GetSummarizeJreUsageSortByEnumValues ¶
func GetSummarizeJreUsageSortByEnumValues() []SummarizeJreUsageSortByEnum
GetSummarizeJreUsageSortByEnumValues Enumerates the set of values for SummarizeJreUsageSortByEnum
type SummarizeJreUsageSortOrderEnum ¶
type SummarizeJreUsageSortOrderEnum string
SummarizeJreUsageSortOrderEnum Enum with underlying type: string
const ( SummarizeJreUsageSortOrderAsc SummarizeJreUsageSortOrderEnum = "ASC" SummarizeJreUsageSortOrderDesc SummarizeJreUsageSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeJreUsageSortOrderEnum
func GetSummarizeJreUsageSortOrderEnumValues ¶
func GetSummarizeJreUsageSortOrderEnumValues() []SummarizeJreUsageSortOrderEnum
GetSummarizeJreUsageSortOrderEnumValues Enumerates the set of values for SummarizeJreUsageSortOrderEnum
type SummarizeManagedInstanceUsageFieldsEnum ¶
type SummarizeManagedInstanceUsageFieldsEnum string
SummarizeManagedInstanceUsageFieldsEnum Enum with underlying type: string
const ( SummarizeManagedInstanceUsageFieldsApproximateJreCount SummarizeManagedInstanceUsageFieldsEnum = "approximateJreCount" SummarizeManagedInstanceUsageFieldsApproximateInstallationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageFieldsApproximateApplicationCount SummarizeManagedInstanceUsageFieldsEnum = "approximateApplicationCount" )
Set of constants representing the allowable values for SummarizeManagedInstanceUsageFieldsEnum
func GetSummarizeManagedInstanceUsageFieldsEnumValues ¶
func GetSummarizeManagedInstanceUsageFieldsEnumValues() []SummarizeManagedInstanceUsageFieldsEnum
GetSummarizeManagedInstanceUsageFieldsEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageFieldsEnum
type SummarizeManagedInstanceUsageManagedInstanceTypeEnum ¶
type SummarizeManagedInstanceUsageManagedInstanceTypeEnum string
SummarizeManagedInstanceUsageManagedInstanceTypeEnum Enum with underlying type: string
const (
SummarizeManagedInstanceUsageManagedInstanceTypeOracleManagementAgent SummarizeManagedInstanceUsageManagedInstanceTypeEnum = "ORACLE_MANAGEMENT_AGENT"
)
Set of constants representing the allowable values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
func GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues ¶
func GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues() []SummarizeManagedInstanceUsageManagedInstanceTypeEnum
GetSummarizeManagedInstanceUsageManagedInstanceTypeEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageManagedInstanceTypeEnum
type 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 }
SummarizeManagedInstanceUsageRequest wrapper for the SummarizeManagedInstanceUsage operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/SummarizeManagedInstanceUsage.go.html to see an example of how to use SummarizeManagedInstanceUsageRequest.
func (SummarizeManagedInstanceUsageRequest) BinaryRequestBody ¶
func (request SummarizeManagedInstanceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (SummarizeManagedInstanceUsageRequest) HTTPRequest ¶
func (request SummarizeManagedInstanceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (SummarizeManagedInstanceUsageRequest) RetryPolicy ¶
func (request SummarizeManagedInstanceUsageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (SummarizeManagedInstanceUsageRequest) String ¶
func (request SummarizeManagedInstanceUsageRequest) String() string
type SummarizeManagedInstanceUsageResponse ¶
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"` }
SummarizeManagedInstanceUsageResponse wrapper for the SummarizeManagedInstanceUsage operation
func (SummarizeManagedInstanceUsageResponse) HTTPResponse ¶
func (response SummarizeManagedInstanceUsageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (SummarizeManagedInstanceUsageResponse) String ¶
func (response SummarizeManagedInstanceUsageResponse) String() string
type SummarizeManagedInstanceUsageSortByEnum ¶
type SummarizeManagedInstanceUsageSortByEnum string
SummarizeManagedInstanceUsageSortByEnum Enum with underlying type: string
const ( SummarizeManagedInstanceUsageSortByTimefirstseen SummarizeManagedInstanceUsageSortByEnum = "timeFirstSeen" SummarizeManagedInstanceUsageSortByTimelastseen SummarizeManagedInstanceUsageSortByEnum = "timeLastSeen" SummarizeManagedInstanceUsageSortByApproximatejrecount SummarizeManagedInstanceUsageSortByEnum = "approximateJreCount" SummarizeManagedInstanceUsageSortByApproximateinstallationcount SummarizeManagedInstanceUsageSortByEnum = "approximateInstallationCount" SummarizeManagedInstanceUsageSortByApproximateapplicationcount SummarizeManagedInstanceUsageSortByEnum = "approximateApplicationCount" )
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortByEnum
func GetSummarizeManagedInstanceUsageSortByEnumValues ¶
func GetSummarizeManagedInstanceUsageSortByEnumValues() []SummarizeManagedInstanceUsageSortByEnum
GetSummarizeManagedInstanceUsageSortByEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortByEnum
type SummarizeManagedInstanceUsageSortOrderEnum ¶
type SummarizeManagedInstanceUsageSortOrderEnum string
SummarizeManagedInstanceUsageSortOrderEnum Enum with underlying type: string
const ( SummarizeManagedInstanceUsageSortOrderAsc SummarizeManagedInstanceUsageSortOrderEnum = "ASC" SummarizeManagedInstanceUsageSortOrderDesc SummarizeManagedInstanceUsageSortOrderEnum = "DESC" )
Set of constants representing the allowable values for SummarizeManagedInstanceUsageSortOrderEnum
func GetSummarizeManagedInstanceUsageSortOrderEnumValues ¶
func GetSummarizeManagedInstanceUsageSortOrderEnumValues() []SummarizeManagedInstanceUsageSortOrderEnum
GetSummarizeManagedInstanceUsageSortOrderEnumValues Enumerates the set of values for SummarizeManagedInstanceUsageSortOrderEnum
type UpdateFleetAgentConfigurationDetails ¶
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"` }
UpdateFleetAgentConfigurationDetails Attributes to update a Fleet Agent Configuration.
func (UpdateFleetAgentConfigurationDetails) String ¶
func (m UpdateFleetAgentConfigurationDetails) String() string
type 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 }
UpdateFleetAgentConfigurationRequest wrapper for the UpdateFleetAgentConfiguration operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/UpdateFleetAgentConfiguration.go.html to see an example of how to use UpdateFleetAgentConfigurationRequest.
func (UpdateFleetAgentConfigurationRequest) BinaryRequestBody ¶
func (request UpdateFleetAgentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateFleetAgentConfigurationRequest) HTTPRequest ¶
func (request UpdateFleetAgentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateFleetAgentConfigurationRequest) RetryPolicy ¶
func (request UpdateFleetAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateFleetAgentConfigurationRequest) String ¶
func (request UpdateFleetAgentConfigurationRequest) String() string
type UpdateFleetAgentConfigurationResponse ¶
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"` }
UpdateFleetAgentConfigurationResponse wrapper for the UpdateFleetAgentConfiguration operation
func (UpdateFleetAgentConfigurationResponse) HTTPResponse ¶
func (response UpdateFleetAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateFleetAgentConfigurationResponse) String ¶
func (response UpdateFleetAgentConfigurationResponse) String() string
type UpdateFleetDetails ¶
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"` }
UpdateFleetDetails Attributes to update a Fleet.
func (UpdateFleetDetails) String ¶
func (m UpdateFleetDetails) String() string
type 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 }
UpdateFleetRequest wrapper for the UpdateFleet operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jms/UpdateFleet.go.html to see an example of how to use UpdateFleetRequest.
func (UpdateFleetRequest) BinaryRequestBody ¶
func (request UpdateFleetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateFleetRequest) HTTPRequest ¶
func (request UpdateFleetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateFleetRequest) RetryPolicy ¶
func (request UpdateFleetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateFleetRequest) String ¶
func (request UpdateFleetRequest) String() string
type UpdateFleetResponse ¶
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"` }
UpdateFleetResponse wrapper for the UpdateFleet operation
func (UpdateFleetResponse) HTTPResponse ¶
func (response UpdateFleetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateFleetResponse) String ¶
func (response UpdateFleetResponse) String() string
type WorkRequest ¶
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"` }
WorkRequest An asynchronous work request. See Work Requests (https://docs.cloud.oracle.com/Content/General/Concepts/workrequestoverview.htm).
func (WorkRequest) String ¶
func (m WorkRequest) String() string
type WorkRequestCollection ¶
type WorkRequestCollection struct { // A list of work requests. Items []WorkRequest `mandatory:"true" json:"items"` }
WorkRequestCollection Results of a work request search. Contains WorkRequest items
func (WorkRequestCollection) String ¶
func (m WorkRequestCollection) String() string
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The date and time the error occured (formatted according to RFC3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing an operation that is tracked by a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Results of a work request error search. Contains WorkRequestError items
func (WorkRequestErrorCollection) String ¶
func (m WorkRequestErrorCollection) String() string
type WorkRequestLogEntry ¶
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"` }
WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Results of a work request log entry search. Contains WorkRequestLogEntry items
func (WorkRequestLogEntryCollection) String ¶
func (m WorkRequestLogEntryCollection) String() string
type WorkRequestResource ¶
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"` }
WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
Source Files ¶
- action_type.go
- application_sort_by.go
- application_usage.go
- application_usage_collection.go
- change_fleet_compartment_details.go
- change_fleet_compartment_request_response.go
- create_fleet_details.go
- create_fleet_request_response.go
- delete_fleet_request_response.go
- fleet.go
- fleet_agent_configuration.go
- fleet_agent_os_configuration.go
- fleet_collection.go
- fleet_summary.go
- get_fleet_agent_configuration_request_response.go
- get_fleet_request_response.go
- get_work_request_request_response.go
- installation_sort_by.go
- installation_usage.go
- installation_usage_collection.go
- jms_javamanagementservice_client.go
- jre_sort_by.go
- jre_usage.go
- jre_usage_collection.go
- lifecycle_state.go
- list_fleets_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- managed_instance_sort_by.go
- managed_instance_type.go
- managed_instance_usage.go
- managed_instance_usage_collection.go
- operation_status.go
- operation_type.go
- request_summarized_application_usage_details.go
- request_summarized_application_usage_request_response.go
- request_summarized_installation_usage_details.go
- request_summarized_installation_usage_request_response.go
- request_summarized_jre_usage_details.go
- request_summarized_jre_usage_request_response.go
- request_summarized_managed_instance_usage_details.go
- request_summarized_managed_instance_usage_request_response.go
- sort_by.go
- sort_order.go
- summarize_application_usage_fields.go
- summarize_application_usage_request_response.go
- summarize_installation_usage_fields.go
- summarize_installation_usage_request_response.go
- summarize_jre_usage_fields.go
- summarize_jre_usage_request_response.go
- summarize_managed_instance_usage_fields.go
- summarize_managed_instance_usage_request_response.go
- update_fleet_agent_configuration_details.go
- update_fleet_agent_configuration_request_response.go
- update_fleet_details.go
- update_fleet_request_response.go
- work_request.go
- work_request_collection.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go