...

Package managementagent

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

Overview ▾

Index ▾

type ActionTypesEnum
    func GetActionTypesEnumValues() []ActionTypesEnum
type AvailabilityHistorySummary
    func (m AvailabilityHistorySummary) String() string
type AvailabilityStatusEnum
    func GetAvailabilityStatusEnumValues() []AvailabilityStatusEnum
type CreateManagementAgentInstallKeyDetails
    func (m CreateManagementAgentInstallKeyDetails) String() string
type CreateManagementAgentInstallKeyRequest
    func (request CreateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateManagementAgentInstallKeyRequest) String() string
type CreateManagementAgentInstallKeyResponse
    func (response CreateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
    func (response CreateManagementAgentInstallKeyResponse) String() string
type DatatypesEnum
    func GetDatatypesEnumValues() []DatatypesEnum
type DeleteManagementAgentInstallKeyRequest
    func (request DeleteManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteManagementAgentInstallKeyRequest) String() string
type DeleteManagementAgentInstallKeyResponse
    func (response DeleteManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
    func (response DeleteManagementAgentInstallKeyResponse) String() string
type DeleteManagementAgentRequest
    func (request DeleteManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteManagementAgentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteManagementAgentRequest) String() string
type DeleteManagementAgentResponse
    func (response DeleteManagementAgentResponse) HTTPResponse() *http.Response
    func (response DeleteManagementAgentResponse) String() string
type DeleteWorkRequestRequest
    func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWorkRequestRequest) String() string
type DeleteWorkRequestResponse
    func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
    func (response DeleteWorkRequestResponse) String() string
type DeployPluginsDetails
    func (m DeployPluginsDetails) String() string
type DeployPluginsRequest
    func (request DeployPluginsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeployPluginsRequest) RetryPolicy() *common.RetryPolicy
    func (request DeployPluginsRequest) String() string
type DeployPluginsResponse
    func (response DeployPluginsResponse) HTTPResponse() *http.Response
    func (response DeployPluginsResponse) String() string
type EditModesEnum
    func GetEditModesEnumValues() []EditModesEnum
type GetManagementAgentInstallKeyContentRequest
    func (request GetManagementAgentInstallKeyContentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetManagementAgentInstallKeyContentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetManagementAgentInstallKeyContentRequest) String() string
type GetManagementAgentInstallKeyContentResponse
    func (response GetManagementAgentInstallKeyContentResponse) HTTPResponse() *http.Response
    func (response GetManagementAgentInstallKeyContentResponse) String() string
type GetManagementAgentInstallKeyRequest
    func (request GetManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetManagementAgentInstallKeyRequest) String() string
type GetManagementAgentInstallKeyResponse
    func (response GetManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
    func (response GetManagementAgentInstallKeyResponse) String() string
type GetManagementAgentRequest
    func (request GetManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetManagementAgentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetManagementAgentRequest) String() string
type GetManagementAgentResponse
    func (response GetManagementAgentResponse) HTTPResponse() *http.Response
    func (response GetManagementAgentResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type LifecycleStatesEnum
    func GetLifecycleStatesEnumValues() []LifecycleStatesEnum
type ListAvailabilityHistoriesRequest
    func (request ListAvailabilityHistoriesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListAvailabilityHistoriesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAvailabilityHistoriesRequest) String() string
type ListAvailabilityHistoriesResponse
    func (response ListAvailabilityHistoriesResponse) HTTPResponse() *http.Response
    func (response ListAvailabilityHistoriesResponse) String() string
type ListAvailabilityHistoriesSortByEnum
    func GetListAvailabilityHistoriesSortByEnumValues() []ListAvailabilityHistoriesSortByEnum
type ListAvailabilityHistoriesSortOrderEnum
    func GetListAvailabilityHistoriesSortOrderEnumValues() []ListAvailabilityHistoriesSortOrderEnum
type ListManagementAgentImagesLifecycleStateEnum
    func GetListManagementAgentImagesLifecycleStateEnumValues() []ListManagementAgentImagesLifecycleStateEnum
type ListManagementAgentImagesRequest
    func (request ListManagementAgentImagesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListManagementAgentImagesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListManagementAgentImagesRequest) String() string
type ListManagementAgentImagesResponse
    func (response ListManagementAgentImagesResponse) HTTPResponse() *http.Response
    func (response ListManagementAgentImagesResponse) String() string
type ListManagementAgentImagesSortByEnum
    func GetListManagementAgentImagesSortByEnumValues() []ListManagementAgentImagesSortByEnum
type ListManagementAgentImagesSortOrderEnum
    func GetListManagementAgentImagesSortOrderEnumValues() []ListManagementAgentImagesSortOrderEnum
type ListManagementAgentInstallKeysLifecycleStateEnum
    func GetListManagementAgentInstallKeysLifecycleStateEnumValues() []ListManagementAgentInstallKeysLifecycleStateEnum
type ListManagementAgentInstallKeysRequest
    func (request ListManagementAgentInstallKeysRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListManagementAgentInstallKeysRequest) RetryPolicy() *common.RetryPolicy
    func (request ListManagementAgentInstallKeysRequest) String() string
type ListManagementAgentInstallKeysResponse
    func (response ListManagementAgentInstallKeysResponse) HTTPResponse() *http.Response
    func (response ListManagementAgentInstallKeysResponse) String() string
type ListManagementAgentInstallKeysSortByEnum
    func GetListManagementAgentInstallKeysSortByEnumValues() []ListManagementAgentInstallKeysSortByEnum
type ListManagementAgentInstallKeysSortOrderEnum
    func GetListManagementAgentInstallKeysSortOrderEnumValues() []ListManagementAgentInstallKeysSortOrderEnum
type ListManagementAgentPluginsLifecycleStateEnum
    func GetListManagementAgentPluginsLifecycleStateEnumValues() []ListManagementAgentPluginsLifecycleStateEnum
type ListManagementAgentPluginsRequest
    func (request ListManagementAgentPluginsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListManagementAgentPluginsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListManagementAgentPluginsRequest) String() string
type ListManagementAgentPluginsResponse
    func (response ListManagementAgentPluginsResponse) HTTPResponse() *http.Response
    func (response ListManagementAgentPluginsResponse) String() string
type ListManagementAgentPluginsSortByEnum
    func GetListManagementAgentPluginsSortByEnumValues() []ListManagementAgentPluginsSortByEnum
type ListManagementAgentPluginsSortOrderEnum
    func GetListManagementAgentPluginsSortOrderEnumValues() []ListManagementAgentPluginsSortOrderEnum
type ListManagementAgentsLifecycleStateEnum
    func GetListManagementAgentsLifecycleStateEnumValues() []ListManagementAgentsLifecycleStateEnum
type ListManagementAgentsPlatformTypeEnum
    func GetListManagementAgentsPlatformTypeEnumValues() []ListManagementAgentsPlatformTypeEnum
type ListManagementAgentsRequest
    func (request ListManagementAgentsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListManagementAgentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListManagementAgentsRequest) String() string
type ListManagementAgentsResponse
    func (response ListManagementAgentsResponse) HTTPResponse() *http.Response
    func (response ListManagementAgentsResponse) String() string
type ListManagementAgentsSortByEnum
    func GetListManagementAgentsSortByEnumValues() []ListManagementAgentsSortByEnum
type ListManagementAgentsSortOrderEnum
    func GetListManagementAgentsSortOrderEnumValues() []ListManagementAgentsSortOrderEnum
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
type ManagementAgent
    func (m ManagementAgent) String() string
type ManagementAgentClient
    func NewManagementAgentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ManagementAgentClient, err error)
    func NewManagementAgentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ManagementAgentClient, err error)
    func (client *ManagementAgentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ManagementAgentClient) CreateManagementAgentInstallKey(ctx context.Context, request CreateManagementAgentInstallKeyRequest) (response CreateManagementAgentInstallKeyResponse, err error)
    func (client ManagementAgentClient) DeleteManagementAgent(ctx context.Context, request DeleteManagementAgentRequest) (response DeleteManagementAgentResponse, err error)
    func (client ManagementAgentClient) DeleteManagementAgentInstallKey(ctx context.Context, request DeleteManagementAgentInstallKeyRequest) (response DeleteManagementAgentInstallKeyResponse, err error)
    func (client ManagementAgentClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
    func (client ManagementAgentClient) DeployPlugins(ctx context.Context, request DeployPluginsRequest) (response DeployPluginsResponse, err error)
    func (client ManagementAgentClient) GetManagementAgent(ctx context.Context, request GetManagementAgentRequest) (response GetManagementAgentResponse, err error)
    func (client ManagementAgentClient) GetManagementAgentInstallKey(ctx context.Context, request GetManagementAgentInstallKeyRequest) (response GetManagementAgentInstallKeyResponse, err error)
    func (client ManagementAgentClient) GetManagementAgentInstallKeyContent(ctx context.Context, request GetManagementAgentInstallKeyContentRequest) (response GetManagementAgentInstallKeyContentResponse, err error)
    func (client ManagementAgentClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client ManagementAgentClient) ListAvailabilityHistories(ctx context.Context, request ListAvailabilityHistoriesRequest) (response ListAvailabilityHistoriesResponse, err error)
    func (client ManagementAgentClient) ListManagementAgentImages(ctx context.Context, request ListManagementAgentImagesRequest) (response ListManagementAgentImagesResponse, err error)
    func (client ManagementAgentClient) ListManagementAgentInstallKeys(ctx context.Context, request ListManagementAgentInstallKeysRequest) (response ListManagementAgentInstallKeysResponse, err error)
    func (client ManagementAgentClient) ListManagementAgentPlugins(ctx context.Context, request ListManagementAgentPluginsRequest) (response ListManagementAgentPluginsResponse, err error)
    func (client ManagementAgentClient) ListManagementAgents(ctx context.Context, request ListManagementAgentsRequest) (response ListManagementAgentsResponse, err error)
    func (client ManagementAgentClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client ManagementAgentClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client ManagementAgentClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *ManagementAgentClient) SetRegion(region string)
    func (client ManagementAgentClient) UpdateManagementAgent(ctx context.Context, request UpdateManagementAgentRequest) (response UpdateManagementAgentResponse, err error)
    func (client ManagementAgentClient) UpdateManagementAgentInstallKey(ctx context.Context, request UpdateManagementAgentInstallKeyRequest) (response UpdateManagementAgentInstallKeyResponse, err error)
type ManagementAgentError
    func (m ManagementAgentError) String() string
type ManagementAgentImage
    func (m ManagementAgentImage) String() string
type ManagementAgentImageSummary
    func (m ManagementAgentImageSummary) String() string
type ManagementAgentInstallKey
    func (m ManagementAgentInstallKey) String() string
type ManagementAgentInstallKeySummary
    func (m ManagementAgentInstallKeySummary) String() string
type ManagementAgentPlugin
    func (m ManagementAgentPlugin) String() string
type ManagementAgentPluginDetails
    func (m ManagementAgentPluginDetails) String() string
type ManagementAgentPluginSummary
    func (m ManagementAgentPluginSummary) String() string
type ManagementAgentSummary
    func (m ManagementAgentSummary) String() string
type OperationStatusEnum
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypesEnum
    func GetOperationTypesEnumValues() []OperationTypesEnum
type PlatformTypesEnum
    func GetPlatformTypesEnumValues() []PlatformTypesEnum
type UpdateManagementAgentDetails
    func (m UpdateManagementAgentDetails) String() string
type UpdateManagementAgentInstallKeyDetails
    func (m UpdateManagementAgentInstallKeyDetails) String() string
type UpdateManagementAgentInstallKeyRequest
    func (request UpdateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateManagementAgentInstallKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateManagementAgentInstallKeyRequest) String() string
type UpdateManagementAgentInstallKeyResponse
    func (response UpdateManagementAgentInstallKeyResponse) HTTPResponse() *http.Response
    func (response UpdateManagementAgentInstallKeyResponse) String() string
type UpdateManagementAgentRequest
    func (request UpdateManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateManagementAgentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateManagementAgentRequest) String() string
type UpdateManagementAgentResponse
    func (response UpdateManagementAgentResponse) HTTPResponse() *http.Response
    func (response UpdateManagementAgentResponse) String() string
type WorkDeliveryStatusEnum
    func GetWorkDeliveryStatusEnumValues() []WorkDeliveryStatusEnum
type WorkRequest
    func (m WorkRequest) String() string
type WorkRequestError
    func (m WorkRequestError) String() string
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
type WorkRequestResource
    func (m WorkRequestResource) String() string
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
type WorkSubmissionKey
    func (m WorkSubmissionKey) String() string

Package files

action_types.go availability_history_summary.go availability_status.go create_management_agent_install_key_details.go create_management_agent_install_key_request_response.go datatypes.go delete_management_agent_install_key_request_response.go delete_management_agent_request_response.go delete_work_request_request_response.go deploy_plugins_details.go deploy_plugins_request_response.go edit_modes.go get_management_agent_install_key_content_request_response.go get_management_agent_install_key_request_response.go get_management_agent_request_response.go get_work_request_request_response.go lifecycle_states.go list_availability_histories_request_response.go list_management_agent_images_request_response.go list_management_agent_install_keys_request_response.go list_management_agent_plugins_request_response.go list_management_agents_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go management_agent.go management_agent_error.go management_agent_image.go management_agent_image_summary.go management_agent_install_key.go management_agent_install_key_summary.go management_agent_plugin.go management_agent_plugin_details.go management_agent_plugin_summary.go management_agent_summary.go managementagent_client.go operation_status.go operation_types.go platform_types.go update_management_agent_details.go update_management_agent_install_key_details.go update_management_agent_install_key_request_response.go update_management_agent_request_response.go work_delivery_status.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go work_request_summary.go work_submission_key.go

type ActionTypesEnum

ActionTypesEnum Enum with underlying type: string

type ActionTypesEnum string

Set of constants representing the allowable values for ActionTypesEnum

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

func GetActionTypesEnumValues

func GetActionTypesEnumValues() []ActionTypesEnum

GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum

type AvailabilityHistorySummary

AvailabilityHistorySummary Availability history of Management Agent.

type AvailabilityHistorySummary struct {

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

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

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

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

func (AvailabilityHistorySummary) String

func (m AvailabilityHistorySummary) String() string

type AvailabilityStatusEnum

AvailabilityStatusEnum Enum with underlying type: string

type AvailabilityStatusEnum string

Set of constants representing the allowable values for AvailabilityStatusEnum

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

func GetAvailabilityStatusEnumValues

func GetAvailabilityStatusEnumValues() []AvailabilityStatusEnum

GetAvailabilityStatusEnumValues Enumerates the set of values for AvailabilityStatusEnum

type CreateManagementAgentInstallKeyDetails

CreateManagementAgentInstallKeyDetails The information about new Management Agent install Key.

type CreateManagementAgentInstallKeyDetails struct {

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

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

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

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

func (CreateManagementAgentInstallKeyDetails) String

func (m CreateManagementAgentInstallKeyDetails) String() string

type CreateManagementAgentInstallKeyRequest

CreateManagementAgentInstallKeyRequest wrapper for the CreateManagementAgentInstallKey operation

See also

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

type CreateManagementAgentInstallKeyRequest struct {

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

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

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

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

func (CreateManagementAgentInstallKeyRequest) HTTPRequest

func (request CreateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateManagementAgentInstallKeyRequest) RetryPolicy

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

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

func (CreateManagementAgentInstallKeyRequest) String

func (request CreateManagementAgentInstallKeyRequest) String() string

type CreateManagementAgentInstallKeyResponse

CreateManagementAgentInstallKeyResponse wrapper for the CreateManagementAgentInstallKey operation

type CreateManagementAgentInstallKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateManagementAgentInstallKeyResponse) String

func (response CreateManagementAgentInstallKeyResponse) String() string

type DatatypesEnum

DatatypesEnum Enum with underlying type: string

type DatatypesEnum string

Set of constants representing the allowable values for DatatypesEnum

const (
    DatatypesLong    DatatypesEnum = "LONG"
    DatatypesDouble  DatatypesEnum = "DOUBLE"
    DatatypesInteger DatatypesEnum = "INTEGER"
    DatatypesString  DatatypesEnum = "STRING"
    DatatypesBoolean DatatypesEnum = "BOOLEAN"
)

func GetDatatypesEnumValues

func GetDatatypesEnumValues() []DatatypesEnum

GetDatatypesEnumValues Enumerates the set of values for DatatypesEnum

type DeleteManagementAgentInstallKeyRequest

DeleteManagementAgentInstallKeyRequest wrapper for the DeleteManagementAgentInstallKey operation

See also

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

type DeleteManagementAgentInstallKeyRequest struct {

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

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

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

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

func (DeleteManagementAgentInstallKeyRequest) HTTPRequest

func (request DeleteManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagementAgentInstallKeyRequest) RetryPolicy

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

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

func (DeleteManagementAgentInstallKeyRequest) String

func (request DeleteManagementAgentInstallKeyRequest) String() string

type DeleteManagementAgentInstallKeyResponse

DeleteManagementAgentInstallKeyResponse wrapper for the DeleteManagementAgentInstallKey operation

type DeleteManagementAgentInstallKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagementAgentInstallKeyResponse) String

func (response DeleteManagementAgentInstallKeyResponse) String() string

type DeleteManagementAgentRequest

DeleteManagementAgentRequest wrapper for the DeleteManagementAgent operation

See also

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

type DeleteManagementAgentRequest struct {

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

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

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

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

func (DeleteManagementAgentRequest) HTTPRequest

func (request DeleteManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteManagementAgentRequest) RetryPolicy

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

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

func (DeleteManagementAgentRequest) String

func (request DeleteManagementAgentRequest) String() string

type DeleteManagementAgentResponse

DeleteManagementAgentResponse wrapper for the DeleteManagementAgent operation

type DeleteManagementAgentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteManagementAgentResponse) String

func (response DeleteManagementAgentResponse) String() string

type DeleteWorkRequestRequest

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

See also

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

type DeleteWorkRequestRequest struct {

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

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

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

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

func (DeleteWorkRequestRequest) HTTPRequest

func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy

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

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

func (DeleteWorkRequestRequest) String

func (request DeleteWorkRequestRequest) String() string

type DeleteWorkRequestResponse

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

type DeleteWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type DeployPluginsDetails

DeployPluginsDetails The information required to deploy new Management Agent Plugins.

type DeployPluginsDetails struct {

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

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

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

func (DeployPluginsDetails) String

func (m DeployPluginsDetails) String() string

type DeployPluginsRequest

DeployPluginsRequest wrapper for the DeployPlugins operation

See also

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

type DeployPluginsRequest struct {

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

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

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

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

func (DeployPluginsRequest) HTTPRequest

func (request DeployPluginsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeployPluginsRequest) RetryPolicy

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

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

func (DeployPluginsRequest) String

func (request DeployPluginsRequest) String() string

type DeployPluginsResponse

DeployPluginsResponse wrapper for the DeployPlugins operation

type DeployPluginsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeployPluginsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeployPluginsResponse) String

func (response DeployPluginsResponse) String() string

type EditModesEnum

EditModesEnum Enum with underlying type: string

type EditModesEnum string

Set of constants representing the allowable values for EditModesEnum

const (
    EditModesReadOnly   EditModesEnum = "READ_ONLY"
    EditModesWritable   EditModesEnum = "WRITABLE"
    EditModesExtensible EditModesEnum = "EXTENSIBLE"
)

func GetEditModesEnumValues

func GetEditModesEnumValues() []EditModesEnum

GetEditModesEnumValues Enumerates the set of values for EditModesEnum

type GetManagementAgentInstallKeyContentRequest

GetManagementAgentInstallKeyContentRequest wrapper for the GetManagementAgentInstallKeyContent operation

See also

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

type GetManagementAgentInstallKeyContentRequest struct {

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

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

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

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

func (GetManagementAgentInstallKeyContentRequest) HTTPRequest

func (request GetManagementAgentInstallKeyContentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentInstallKeyContentRequest) RetryPolicy

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

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

func (GetManagementAgentInstallKeyContentRequest) String

func (request GetManagementAgentInstallKeyContentRequest) String() string

type GetManagementAgentInstallKeyContentResponse

GetManagementAgentInstallKeyContentResponse wrapper for the GetManagementAgentInstallKeyContent operation

type GetManagementAgentInstallKeyContentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (GetManagementAgentInstallKeyContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentInstallKeyContentResponse) String

func (response GetManagementAgentInstallKeyContentResponse) String() string

type GetManagementAgentInstallKeyRequest

GetManagementAgentInstallKeyRequest wrapper for the GetManagementAgentInstallKey operation

See also

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

type GetManagementAgentInstallKeyRequest struct {

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

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

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

func (GetManagementAgentInstallKeyRequest) HTTPRequest

func (request GetManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentInstallKeyRequest) RetryPolicy

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

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

func (GetManagementAgentInstallKeyRequest) String

func (request GetManagementAgentInstallKeyRequest) String() string

type GetManagementAgentInstallKeyResponse

GetManagementAgentInstallKeyResponse wrapper for the GetManagementAgentInstallKey operation

type GetManagementAgentInstallKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentInstallKeyResponse) String

func (response GetManagementAgentInstallKeyResponse) String() string

type GetManagementAgentRequest

GetManagementAgentRequest wrapper for the GetManagementAgent operation

See also

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

type GetManagementAgentRequest struct {

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

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

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

func (GetManagementAgentRequest) HTTPRequest

func (request GetManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetManagementAgentRequest) RetryPolicy

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

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

func (GetManagementAgentRequest) String

func (request GetManagementAgentRequest) String() string

type GetManagementAgentResponse

GetManagementAgentResponse wrapper for the GetManagementAgent operation

type GetManagementAgentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetManagementAgentResponse) String

func (response GetManagementAgentResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

type GetWorkRequestRequest struct {

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

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

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

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type LifecycleStatesEnum

LifecycleStatesEnum Enum with underlying type: string

type LifecycleStatesEnum string

Set of constants representing the allowable values for LifecycleStatesEnum

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

func GetLifecycleStatesEnumValues

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

type ListAvailabilityHistoriesRequest

ListAvailabilityHistoriesRequest wrapper for the ListAvailabilityHistories operation

See also

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

type ListAvailabilityHistoriesRequest struct {

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

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

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

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

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

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

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

    // The field to sort by. Default order for timeAvailabilityStatusStarted is descending.
    SortBy ListAvailabilityHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListAvailabilityHistoriesRequest) HTTPRequest

func (request ListAvailabilityHistoriesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAvailabilityHistoriesRequest) RetryPolicy

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

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

func (ListAvailabilityHistoriesRequest) String

func (request ListAvailabilityHistoriesRequest) String() string

type ListAvailabilityHistoriesResponse

ListAvailabilityHistoriesResponse wrapper for the ListAvailabilityHistories operation

type ListAvailabilityHistoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListAvailabilityHistoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAvailabilityHistoriesResponse) String

func (response ListAvailabilityHistoriesResponse) String() string

type ListAvailabilityHistoriesSortByEnum

ListAvailabilityHistoriesSortByEnum Enum with underlying type: string

type ListAvailabilityHistoriesSortByEnum string

Set of constants representing the allowable values for ListAvailabilityHistoriesSortByEnum

const (
    ListAvailabilityHistoriesSortByTimeavailabilitystatusstarted ListAvailabilityHistoriesSortByEnum = "timeAvailabilityStatusStarted"
)

func GetListAvailabilityHistoriesSortByEnumValues

func GetListAvailabilityHistoriesSortByEnumValues() []ListAvailabilityHistoriesSortByEnum

GetListAvailabilityHistoriesSortByEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortByEnum

type ListAvailabilityHistoriesSortOrderEnum

ListAvailabilityHistoriesSortOrderEnum Enum with underlying type: string

type ListAvailabilityHistoriesSortOrderEnum string

Set of constants representing the allowable values for ListAvailabilityHistoriesSortOrderEnum

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

func GetListAvailabilityHistoriesSortOrderEnumValues

func GetListAvailabilityHistoriesSortOrderEnumValues() []ListAvailabilityHistoriesSortOrderEnum

GetListAvailabilityHistoriesSortOrderEnumValues Enumerates the set of values for ListAvailabilityHistoriesSortOrderEnum

type ListManagementAgentImagesLifecycleStateEnum

ListManagementAgentImagesLifecycleStateEnum Enum with underlying type: string

type ListManagementAgentImagesLifecycleStateEnum string

Set of constants representing the allowable values for ListManagementAgentImagesLifecycleStateEnum

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

func GetListManagementAgentImagesLifecycleStateEnumValues

func GetListManagementAgentImagesLifecycleStateEnumValues() []ListManagementAgentImagesLifecycleStateEnum

GetListManagementAgentImagesLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentImagesLifecycleStateEnum

type ListManagementAgentImagesRequest

ListManagementAgentImagesRequest wrapper for the ListManagementAgentImages operation

See also

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

type ListManagementAgentImagesRequest struct {

    // The ID of the compartment from which the Management Agents to be listed.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

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

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

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

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

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

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

func (ListManagementAgentImagesRequest) HTTPRequest

func (request ListManagementAgentImagesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentImagesRequest) RetryPolicy

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

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

func (ListManagementAgentImagesRequest) String

func (request ListManagementAgentImagesRequest) String() string

type ListManagementAgentImagesResponse

ListManagementAgentImagesResponse wrapper for the ListManagementAgentImages operation

type ListManagementAgentImagesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListManagementAgentImagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentImagesResponse) String

func (response ListManagementAgentImagesResponse) String() string

type ListManagementAgentImagesSortByEnum

ListManagementAgentImagesSortByEnum Enum with underlying type: string

type ListManagementAgentImagesSortByEnum string

Set of constants representing the allowable values for ListManagementAgentImagesSortByEnum

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

func GetListManagementAgentImagesSortByEnumValues

func GetListManagementAgentImagesSortByEnumValues() []ListManagementAgentImagesSortByEnum

GetListManagementAgentImagesSortByEnumValues Enumerates the set of values for ListManagementAgentImagesSortByEnum

type ListManagementAgentImagesSortOrderEnum

ListManagementAgentImagesSortOrderEnum Enum with underlying type: string

type ListManagementAgentImagesSortOrderEnum string

Set of constants representing the allowable values for ListManagementAgentImagesSortOrderEnum

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

func GetListManagementAgentImagesSortOrderEnumValues

func GetListManagementAgentImagesSortOrderEnumValues() []ListManagementAgentImagesSortOrderEnum

GetListManagementAgentImagesSortOrderEnumValues Enumerates the set of values for ListManagementAgentImagesSortOrderEnum

type ListManagementAgentInstallKeysLifecycleStateEnum

ListManagementAgentInstallKeysLifecycleStateEnum Enum with underlying type: string

type ListManagementAgentInstallKeysLifecycleStateEnum string

Set of constants representing the allowable values for ListManagementAgentInstallKeysLifecycleStateEnum

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

func GetListManagementAgentInstallKeysLifecycleStateEnumValues

func GetListManagementAgentInstallKeysLifecycleStateEnumValues() []ListManagementAgentInstallKeysLifecycleStateEnum

GetListManagementAgentInstallKeysLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentInstallKeysLifecycleStateEnum

type ListManagementAgentInstallKeysRequest

ListManagementAgentInstallKeysRequest wrapper for the ListManagementAgentInstallKeys operation

See also

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

type ListManagementAgentInstallKeysRequest struct {

    // The ID of the compartment from which the Management Agents to be listed.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

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

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

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

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

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

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

func (ListManagementAgentInstallKeysRequest) HTTPRequest

func (request ListManagementAgentInstallKeysRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentInstallKeysRequest) RetryPolicy

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

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

func (ListManagementAgentInstallKeysRequest) String

func (request ListManagementAgentInstallKeysRequest) String() string

type ListManagementAgentInstallKeysResponse

ListManagementAgentInstallKeysResponse wrapper for the ListManagementAgentInstallKeys operation

type ListManagementAgentInstallKeysResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListManagementAgentInstallKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentInstallKeysResponse) String

func (response ListManagementAgentInstallKeysResponse) String() string

type ListManagementAgentInstallKeysSortByEnum

ListManagementAgentInstallKeysSortByEnum Enum with underlying type: string

type ListManagementAgentInstallKeysSortByEnum string

Set of constants representing the allowable values for ListManagementAgentInstallKeysSortByEnum

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

func GetListManagementAgentInstallKeysSortByEnumValues

func GetListManagementAgentInstallKeysSortByEnumValues() []ListManagementAgentInstallKeysSortByEnum

GetListManagementAgentInstallKeysSortByEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortByEnum

type ListManagementAgentInstallKeysSortOrderEnum

ListManagementAgentInstallKeysSortOrderEnum Enum with underlying type: string

type ListManagementAgentInstallKeysSortOrderEnum string

Set of constants representing the allowable values for ListManagementAgentInstallKeysSortOrderEnum

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

func GetListManagementAgentInstallKeysSortOrderEnumValues

func GetListManagementAgentInstallKeysSortOrderEnumValues() []ListManagementAgentInstallKeysSortOrderEnum

GetListManagementAgentInstallKeysSortOrderEnumValues Enumerates the set of values for ListManagementAgentInstallKeysSortOrderEnum

type ListManagementAgentPluginsLifecycleStateEnum

ListManagementAgentPluginsLifecycleStateEnum Enum with underlying type: string

type ListManagementAgentPluginsLifecycleStateEnum string

Set of constants representing the allowable values for ListManagementAgentPluginsLifecycleStateEnum

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

func GetListManagementAgentPluginsLifecycleStateEnumValues

func GetListManagementAgentPluginsLifecycleStateEnumValues() []ListManagementAgentPluginsLifecycleStateEnum

GetListManagementAgentPluginsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentPluginsLifecycleStateEnum

type ListManagementAgentPluginsRequest

ListManagementAgentPluginsRequest wrapper for the ListManagementAgentPlugins operation

See also

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

type ListManagementAgentPluginsRequest struct {

    // The ID of the compartment from which the Management Agents to be listed.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

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

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

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

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

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

func (ListManagementAgentPluginsRequest) HTTPRequest

func (request ListManagementAgentPluginsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentPluginsRequest) RetryPolicy

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

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

func (ListManagementAgentPluginsRequest) String

func (request ListManagementAgentPluginsRequest) String() string

type ListManagementAgentPluginsResponse

ListManagementAgentPluginsResponse wrapper for the ListManagementAgentPlugins operation

type ListManagementAgentPluginsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListManagementAgentPluginsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentPluginsResponse) String

func (response ListManagementAgentPluginsResponse) String() string

type ListManagementAgentPluginsSortByEnum

ListManagementAgentPluginsSortByEnum Enum with underlying type: string

type ListManagementAgentPluginsSortByEnum string

Set of constants representing the allowable values for ListManagementAgentPluginsSortByEnum

const (
    ListManagementAgentPluginsSortByDisplayname ListManagementAgentPluginsSortByEnum = "displayName"
)

func GetListManagementAgentPluginsSortByEnumValues

func GetListManagementAgentPluginsSortByEnumValues() []ListManagementAgentPluginsSortByEnum

GetListManagementAgentPluginsSortByEnumValues Enumerates the set of values for ListManagementAgentPluginsSortByEnum

type ListManagementAgentPluginsSortOrderEnum

ListManagementAgentPluginsSortOrderEnum Enum with underlying type: string

type ListManagementAgentPluginsSortOrderEnum string

Set of constants representing the allowable values for ListManagementAgentPluginsSortOrderEnum

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

func GetListManagementAgentPluginsSortOrderEnumValues

func GetListManagementAgentPluginsSortOrderEnumValues() []ListManagementAgentPluginsSortOrderEnum

GetListManagementAgentPluginsSortOrderEnumValues Enumerates the set of values for ListManagementAgentPluginsSortOrderEnum

type ListManagementAgentsLifecycleStateEnum

ListManagementAgentsLifecycleStateEnum Enum with underlying type: string

type ListManagementAgentsLifecycleStateEnum string

Set of constants representing the allowable values for ListManagementAgentsLifecycleStateEnum

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

func GetListManagementAgentsLifecycleStateEnumValues

func GetListManagementAgentsLifecycleStateEnumValues() []ListManagementAgentsLifecycleStateEnum

GetListManagementAgentsLifecycleStateEnumValues Enumerates the set of values for ListManagementAgentsLifecycleStateEnum

type ListManagementAgentsPlatformTypeEnum

ListManagementAgentsPlatformTypeEnum Enum with underlying type: string

type ListManagementAgentsPlatformTypeEnum string

Set of constants representing the allowable values for ListManagementAgentsPlatformTypeEnum

const (
    ListManagementAgentsPlatformTypeLinux   ListManagementAgentsPlatformTypeEnum = "LINUX"
    ListManagementAgentsPlatformTypeWindows ListManagementAgentsPlatformTypeEnum = "WINDOWS"
)

func GetListManagementAgentsPlatformTypeEnumValues

func GetListManagementAgentsPlatformTypeEnumValues() []ListManagementAgentsPlatformTypeEnum

GetListManagementAgentsPlatformTypeEnumValues Enumerates the set of values for ListManagementAgentsPlatformTypeEnum

type ListManagementAgentsRequest

ListManagementAgentsRequest wrapper for the ListManagementAgents operation

See also

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

type ListManagementAgentsRequest struct {

    // The ID of the compartment from which the Management Agents to be listed.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Filter to return only Management Agents having the particular Plugin installed.
    PluginName *string `mandatory:"false" contributesTo:"query" name:"pluginName"`

    // Filter to return only Management Agents having the particular agent version.
    Version *string `mandatory:"false" contributesTo:"query" name:"version"`

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

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

    // Filter to return only Management Agents having the particular platform type.
    PlatformType ListManagementAgentsPlatformTypeEnum `mandatory:"false" contributesTo:"query" name:"platformType" omitEmpty:"true"`

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

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

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

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

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

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

func (ListManagementAgentsRequest) HTTPRequest

func (request ListManagementAgentsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListManagementAgentsRequest) RetryPolicy

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

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

func (ListManagementAgentsRequest) String

func (request ListManagementAgentsRequest) String() string

type ListManagementAgentsResponse

ListManagementAgentsResponse wrapper for the ListManagementAgents operation

type ListManagementAgentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListManagementAgentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListManagementAgentsResponse) String

func (response ListManagementAgentsResponse) String() string

type ListManagementAgentsSortByEnum

ListManagementAgentsSortByEnum Enum with underlying type: string

type ListManagementAgentsSortByEnum string

Set of constants representing the allowable values for ListManagementAgentsSortByEnum

const (
    ListManagementAgentsSortByTimecreated ListManagementAgentsSortByEnum = "timeCreated"
    ListManagementAgentsSortByDisplayname ListManagementAgentsSortByEnum = "displayName"
)

func GetListManagementAgentsSortByEnumValues

func GetListManagementAgentsSortByEnumValues() []ListManagementAgentsSortByEnum

GetListManagementAgentsSortByEnumValues Enumerates the set of values for ListManagementAgentsSortByEnum

type ListManagementAgentsSortOrderEnum

ListManagementAgentsSortOrderEnum Enum with underlying type: string

type ListManagementAgentsSortOrderEnum string

Set of constants representing the allowable values for ListManagementAgentsSortOrderEnum

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

func GetListManagementAgentsSortOrderEnumValues

func GetListManagementAgentsSortOrderEnumValues() []ListManagementAgentsSortOrderEnum

GetListManagementAgentsSortOrderEnumValues Enumerates the set of values for ListManagementAgentsSortOrderEnum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

type ListWorkRequestErrorsRequest struct {

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

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

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

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

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

    // The field to sort by. Only one sort order may
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

type ListWorkRequestLogsRequest struct {

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

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

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

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

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

    // The field to sort by. Only one sort order may
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

type ListWorkRequestsRequest struct {

    // The ID of the compartment from which the Management Agents to be listed.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

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

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

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

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

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

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

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

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

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

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

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

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

type ManagementAgent

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

type ManagementAgent struct {

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

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

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

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

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

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

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

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

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

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

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

    // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported.
    IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"`

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

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

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

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

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

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

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

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

func (ManagementAgent) String

func (m ManagementAgent) String() string

type ManagementAgentClient

ManagementAgentClient a client for ManagementAgent

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

func NewManagementAgentClientWithConfigurationProvider

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

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

func NewManagementAgentClientWithOboToken

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

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

as well as reading the region

func (*ManagementAgentClient) ConfigurationProvider

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

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

func (ManagementAgentClient) CreateManagementAgentInstallKey

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

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

See also

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

func (ManagementAgentClient) DeleteManagementAgent

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

DeleteManagementAgent Deletes a Management Agent resource by identifier

See also

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

func (ManagementAgentClient) DeleteManagementAgentInstallKey

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

DeleteManagementAgentInstallKey Deletes a Management Agent install Key resource by identifier

See also

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

func (ManagementAgentClient) DeleteWorkRequest

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

DeleteWorkRequest Cancel the work request with the given ID.

See also

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

func (ManagementAgentClient) DeployPlugins

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

DeployPlugins Deploys Plugins to a given list of agentIds.

See also

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

func (ManagementAgentClient) GetManagementAgent

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

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

See also

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

func (ManagementAgentClient) GetManagementAgentInstallKey

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

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

See also

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

func (ManagementAgentClient) GetManagementAgentInstallKeyContent

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

GetManagementAgentInstallKeyContent Returns a file with Management Agent install Key in it

See also

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

func (ManagementAgentClient) GetWorkRequest

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

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

See also

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

func (ManagementAgentClient) ListAvailabilityHistories

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

ListAvailabilityHistories Lists the availability history records of Management Agent

See also

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

func (ManagementAgentClient) ListManagementAgentImages

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

ListManagementAgentImages Get supported agent image information

See also

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

func (ManagementAgentClient) ListManagementAgentInstallKeys

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

ListManagementAgentInstallKeys Returns a list of Management Agent installed Keys.

See also

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

func (ManagementAgentClient) ListManagementAgentPlugins

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

ListManagementAgentPlugins Returns a list of managementAgentPlugins.

See also

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

func (ManagementAgentClient) ListManagementAgents

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

ListManagementAgents Returns a list of Management Agent.

See also

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

func (ManagementAgentClient) ListWorkRequestErrors

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

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

See also

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

func (ManagementAgentClient) ListWorkRequestLogs

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

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

See also

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

func (ManagementAgentClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (*ManagementAgentClient) SetRegion

func (client *ManagementAgentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ManagementAgentClient) UpdateManagementAgent

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

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

See also

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

func (ManagementAgentClient) UpdateManagementAgentInstallKey

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

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

See also

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

type ManagementAgentError

ManagementAgentError Error Information.

type ManagementAgentError struct {

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

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

func (ManagementAgentError) String

func (m ManagementAgentError) String() string

type ManagementAgentImage

ManagementAgentImage Supported Agent downloads

type ManagementAgentImage struct {

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

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

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

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

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

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

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

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

func (ManagementAgentImage) String

func (m ManagementAgentImage) String() string

type ManagementAgentImageSummary

ManagementAgentImageSummary Supported Agent downloads

type ManagementAgentImageSummary struct {

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

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

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

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

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

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

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

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

func (ManagementAgentImageSummary) String

func (m ManagementAgentImageSummary) String() string

type ManagementAgentInstallKey

ManagementAgentInstallKey The details of the Agent install Key

type ManagementAgentInstallKey struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (ManagementAgentInstallKey) String

func (m ManagementAgentInstallKey) String() string

type ManagementAgentInstallKeySummary

ManagementAgentInstallKeySummary The summary of the Agent Install Key details.

type ManagementAgentInstallKeySummary struct {

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

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

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

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

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

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

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

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

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

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

func (ManagementAgentInstallKeySummary) String

func (m ManagementAgentInstallKeySummary) String() string

type ManagementAgentPlugin

ManagementAgentPlugin Summary of the ManagementAgentPlugin.

type ManagementAgentPlugin struct {

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

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

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

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

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

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

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

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

func (ManagementAgentPlugin) String

func (m ManagementAgentPlugin) String() string

type ManagementAgentPluginDetails

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

type ManagementAgentPluginDetails struct {

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

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

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

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

func (ManagementAgentPluginDetails) String

func (m ManagementAgentPluginDetails) String() string

type ManagementAgentPluginSummary

ManagementAgentPluginSummary Summary of the ManagementAgentPlugin.

type ManagementAgentPluginSummary struct {

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

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

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

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

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

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

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

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

func (ManagementAgentPluginSummary) String

func (m ManagementAgentPluginSummary) String() string

type ManagementAgentSummary

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

type ManagementAgentSummary struct {

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

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

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

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

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

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

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

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

    // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported.
    IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"`

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

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

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

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

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

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

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

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

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

func (ManagementAgentSummary) String

func (m ManagementAgentSummary) String() string

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

OperationTypesEnum Enum with underlying type: string

type OperationTypesEnum string

Set of constants representing the allowable values for OperationTypesEnum

const (
    OperationTypesUpgradePlugin        OperationTypesEnum = "UPGRADE_PLUGIN"
    OperationTypesCreateUpgradePlugins OperationTypesEnum = "CREATE_UPGRADE_PLUGINS"
    OperationTypesAgentimageUpgrade    OperationTypesEnum = "AGENTIMAGE_UPGRADE"
)

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type PlatformTypesEnum

PlatformTypesEnum Enum with underlying type: string

type PlatformTypesEnum string

Set of constants representing the allowable values for PlatformTypesEnum

const (
    PlatformTypesLinux   PlatformTypesEnum = "LINUX"
    PlatformTypesWindows PlatformTypesEnum = "WINDOWS"
)

func GetPlatformTypesEnumValues

func GetPlatformTypesEnumValues() []PlatformTypesEnum

GetPlatformTypesEnumValues Enumerates the set of values for PlatformTypesEnum

type UpdateManagementAgentDetails

UpdateManagementAgentDetails Details required to update console-managed properties of the Management Agent.

type UpdateManagementAgentDetails struct {

    // true if the agent can be upgraded automatically; false if it must be upgraded manually. true is currently unsupported.
    IsAgentAutoUpgradable *bool `mandatory:"false" json:"isAgentAutoUpgradable"`

    // New displayName of Agent.
    DisplayName *string `mandatory:"false" json:"displayName"`

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

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

func (UpdateManagementAgentDetails) String

func (m UpdateManagementAgentDetails) String() string

type UpdateManagementAgentInstallKeyDetails

UpdateManagementAgentInstallKeyDetails Details required to change Management Agent install key.

type UpdateManagementAgentInstallKeyDetails struct {

    // if set to true the install key state would be set to Active and if false to Inactive
    IsKeyActive *bool `mandatory:"false" json:"isKeyActive"`

    // New displayName of Agent install key.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (UpdateManagementAgentInstallKeyDetails) String

func (m UpdateManagementAgentInstallKeyDetails) String() string

type UpdateManagementAgentInstallKeyRequest

UpdateManagementAgentInstallKeyRequest wrapper for the UpdateManagementAgentInstallKey operation

See also

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

type UpdateManagementAgentInstallKeyRequest struct {

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

    // Details required for changing the modifiable properties of the Management Agent install key.
    UpdateManagementAgentInstallKeyDetails `contributesTo:"body"`

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

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

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

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

func (UpdateManagementAgentInstallKeyRequest) HTTPRequest

func (request UpdateManagementAgentInstallKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagementAgentInstallKeyRequest) RetryPolicy

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

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

func (UpdateManagementAgentInstallKeyRequest) String

func (request UpdateManagementAgentInstallKeyRequest) String() string

type UpdateManagementAgentInstallKeyResponse

UpdateManagementAgentInstallKeyResponse wrapper for the UpdateManagementAgentInstallKey operation

type UpdateManagementAgentInstallKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateManagementAgentInstallKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagementAgentInstallKeyResponse) String

func (response UpdateManagementAgentInstallKeyResponse) String() string

type UpdateManagementAgentRequest

UpdateManagementAgentRequest wrapper for the UpdateManagementAgent operation

See also

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

type UpdateManagementAgentRequest struct {

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

    // Details required for changing the console managed properties of the Management Agent.
    UpdateManagementAgentDetails `contributesTo:"body"`

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

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

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

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

func (UpdateManagementAgentRequest) HTTPRequest

func (request UpdateManagementAgentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateManagementAgentRequest) RetryPolicy

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

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

func (UpdateManagementAgentRequest) String

func (request UpdateManagementAgentRequest) String() string

type UpdateManagementAgentResponse

UpdateManagementAgentResponse wrapper for the UpdateManagementAgent operation

type UpdateManagementAgentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateManagementAgentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateManagementAgentResponse) String

func (response UpdateManagementAgentResponse) String() string

type WorkDeliveryStatusEnum

WorkDeliveryStatusEnum Enum with underlying type: string

type WorkDeliveryStatusEnum string

Set of constants representing the allowable values for WorkDeliveryStatusEnum

const (
    WorkDeliveryStatusAccepted   WorkDeliveryStatusEnum = "ACCEPTED"
    WorkDeliveryStatusInProgress WorkDeliveryStatusEnum = "IN_PROGRESS"
    WorkDeliveryStatusFailed     WorkDeliveryStatusEnum = "FAILED"
    WorkDeliveryStatusSucceeded  WorkDeliveryStatusEnum = "SUCCEEDED"
    WorkDeliveryStatusCanceling  WorkDeliveryStatusEnum = "CANCELING"
    WorkDeliveryStatusCanceled   WorkDeliveryStatusEnum = "CANCELED"
)

func GetWorkDeliveryStatusEnumValues

func GetWorkDeliveryStatusEnumValues() []WorkDeliveryStatusEnum

GetWorkDeliveryStatusEnumValues Enumerates the set of values for WorkDeliveryStatusEnum

type WorkRequest

WorkRequest A description of workrequest status

type WorkRequest struct {

    // Type of the work request
    OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written. An RFC3339 formatted datetime string
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the work request.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource at which point it will transition to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypesEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource the work request affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // The date and time the request was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the request was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // Additional metadata about the resource that has been operated upon by
    // this work request. For WorkRequests operationType WORK_DELIVERY the metadata will contain: workDeliveryStatus
    // indicating the status of the work delivery item &WORKDELIVERYSTATUS, workSubmissionKey the WorkSubmission request id,
    //  and workSubmissionDetails containing any details of result
    Metadata *interface{} `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

type WorkRequestSummary

WorkRequestSummary A description of workrequest status

type WorkRequestSummary struct {

    // Type of the work request
    OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The id of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The ocid of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource the work request affects. If the work request affects multiple resources,
    // and those resources are not in the same compartment, it is up to the service team to pick the primary
    // resource whose compartment should be used
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

type WorkSubmissionKey

WorkSubmissionKey Work Submission Identifier

type WorkSubmissionKey struct {

    // Work Submission Identifier
    WorkSubmissionKey *string `mandatory:"true" json:"workSubmissionKey"`
}

func (WorkSubmissionKey) String

func (m WorkSubmissionKey) String() string