...

Package operatoraccesscontrol

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

Overview ▾

Index ▾

type AccessRequest
    func (m AccessRequest) String() string
type AccessRequestCollection
    func (m AccessRequestCollection) String() string
type AccessRequestHistoryCollection
    func (m AccessRequestHistoryCollection) String() string
type AccessRequestHistorySummary
    func (m AccessRequestHistorySummary) String() string
type AccessRequestLifecycleStatesEnum
    func GetAccessRequestLifecycleStatesEnumValues() []AccessRequestLifecycleStatesEnum
type AccessRequestSeveritiesEnum
    func GetAccessRequestSeveritiesEnumValues() []AccessRequestSeveritiesEnum
type AccessRequestSummary
    func (m AccessRequestSummary) String() string
type AccessRequestsClient
    func NewAccessRequestsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccessRequestsClient, err error)
    func NewAccessRequestsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccessRequestsClient, err error)
    func (client AccessRequestsClient) ApproveAccessRequest(ctx context.Context, request ApproveAccessRequestRequest) (response ApproveAccessRequestResponse, err error)
    func (client *AccessRequestsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client AccessRequestsClient) GetAccessRequest(ctx context.Context, request GetAccessRequestRequest) (response GetAccessRequestResponse, err error)
    func (client AccessRequestsClient) ListAccessRequestHistories(ctx context.Context, request ListAccessRequestHistoriesRequest) (response ListAccessRequestHistoriesResponse, err error)
    func (client AccessRequestsClient) ListAccessRequests(ctx context.Context, request ListAccessRequestsRequest) (response ListAccessRequestsResponse, err error)
    func (client AccessRequestsClient) RejectAccessRequest(ctx context.Context, request RejectAccessRequestRequest) (response RejectAccessRequestResponse, err error)
    func (client AccessRequestsClient) RevokeAccessRequest(ctx context.Context, request RevokeAccessRequestRequest) (response RevokeAccessRequestResponse, err error)
    func (client *AccessRequestsClient) SetRegion(region string)
type ApproveAccessRequestDetails
    func (m ApproveAccessRequestDetails) String() string
type ApproveAccessRequestRequest
    func (request ApproveAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ApproveAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ApproveAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request ApproveAccessRequestRequest) String() string
type ApproveAccessRequestResponse
    func (response ApproveAccessRequestResponse) HTTPResponse() *http.Response
    func (response ApproveAccessRequestResponse) String() string
type ChangeOperatorControlAssignmentCompartmentDetails
    func (m ChangeOperatorControlAssignmentCompartmentDetails) String() string
type ChangeOperatorControlAssignmentCompartmentRequest
    func (request ChangeOperatorControlAssignmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeOperatorControlAssignmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeOperatorControlAssignmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeOperatorControlAssignmentCompartmentRequest) String() string
type ChangeOperatorControlAssignmentCompartmentResponse
    func (response ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeOperatorControlAssignmentCompartmentResponse) String() string
type ChangeOperatorControlCompartmentDetails
    func (m ChangeOperatorControlCompartmentDetails) String() string
type ChangeOperatorControlCompartmentRequest
    func (request ChangeOperatorControlCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeOperatorControlCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeOperatorControlCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeOperatorControlCompartmentRequest) String() string
type ChangeOperatorControlCompartmentResponse
    func (response ChangeOperatorControlCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeOperatorControlCompartmentResponse) String() string
type CreateOperatorControlAssignmentDetails
    func (m CreateOperatorControlAssignmentDetails) String() string
type CreateOperatorControlAssignmentRequest
    func (request CreateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOperatorControlAssignmentRequest) String() string
type CreateOperatorControlAssignmentResponse
    func (response CreateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
    func (response CreateOperatorControlAssignmentResponse) String() string
type CreateOperatorControlDetails
    func (m CreateOperatorControlDetails) String() string
type CreateOperatorControlRequest
    func (request CreateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateOperatorControlRequest) String() string
type CreateOperatorControlResponse
    func (response CreateOperatorControlResponse) HTTPResponse() *http.Response
    func (response CreateOperatorControlResponse) String() string
type DeleteOperatorControlAssignmentRequest
    func (request DeleteOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOperatorControlAssignmentRequest) String() string
type DeleteOperatorControlAssignmentResponse
    func (response DeleteOperatorControlAssignmentResponse) HTTPResponse() *http.Response
    func (response DeleteOperatorControlAssignmentResponse) String() string
type DeleteOperatorControlRequest
    func (request DeleteOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteOperatorControlRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteOperatorControlRequest) String() string
type DeleteOperatorControlResponse
    func (response DeleteOperatorControlResponse) HTTPResponse() *http.Response
    func (response DeleteOperatorControlResponse) String() string
type GetAccessRequestRequest
    func (request GetAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAccessRequestRequest) String() string
type GetAccessRequestResponse
    func (response GetAccessRequestResponse) HTTPResponse() *http.Response
    func (response GetAccessRequestResponse) String() string
type GetOperatorActionRequest
    func (request GetOperatorActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOperatorActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOperatorActionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOperatorActionRequest) String() string
type GetOperatorActionResponse
    func (response GetOperatorActionResponse) HTTPResponse() *http.Response
    func (response GetOperatorActionResponse) String() string
type GetOperatorControlAssignmentRequest
    func (request GetOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOperatorControlAssignmentRequest) String() string
type GetOperatorControlAssignmentResponse
    func (response GetOperatorControlAssignmentResponse) HTTPResponse() *http.Response
    func (response GetOperatorControlAssignmentResponse) String() string
type GetOperatorControlRequest
    func (request GetOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetOperatorControlRequest) RetryPolicy() *common.RetryPolicy
    func (request GetOperatorControlRequest) String() string
type GetOperatorControlResponse
    func (response GetOperatorControlResponse) HTTPResponse() *http.Response
    func (response GetOperatorControlResponse) String() string
type InfrastrcutureLayersEnum
    func GetInfrastrcutureLayersEnumValues() []InfrastrcutureLayersEnum
type ListAccessRequestHistoriesRequest
    func (request ListAccessRequestHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAccessRequestHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAccessRequestHistoriesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAccessRequestHistoriesRequest) String() string
type ListAccessRequestHistoriesResponse
    func (response ListAccessRequestHistoriesResponse) HTTPResponse() *http.Response
    func (response ListAccessRequestHistoriesResponse) String() string
type ListAccessRequestsLifecycleStateEnum
    func GetListAccessRequestsLifecycleStateEnumValues() []ListAccessRequestsLifecycleStateEnum
type ListAccessRequestsRequest
    func (request ListAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAccessRequestsRequest) String() string
type ListAccessRequestsResponse
    func (response ListAccessRequestsResponse) HTTPResponse() *http.Response
    func (response ListAccessRequestsResponse) String() string
type ListAccessRequestsSortByEnum
    func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum
type ListAccessRequestsSortOrderEnum
    func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum
type ListOperatorActionsLifecycleStateEnum
    func GetListOperatorActionsLifecycleStateEnumValues() []ListOperatorActionsLifecycleStateEnum
type ListOperatorActionsRequest
    func (request ListOperatorActionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOperatorActionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOperatorActionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOperatorActionsRequest) String() string
type ListOperatorActionsResponse
    func (response ListOperatorActionsResponse) HTTPResponse() *http.Response
    func (response ListOperatorActionsResponse) String() string
type ListOperatorActionsSortByEnum
    func GetListOperatorActionsSortByEnumValues() []ListOperatorActionsSortByEnum
type ListOperatorActionsSortOrderEnum
    func GetListOperatorActionsSortOrderEnumValues() []ListOperatorActionsSortOrderEnum
type ListOperatorControlAssignmentsLifecycleStateEnum
    func GetListOperatorControlAssignmentsLifecycleStateEnumValues() []ListOperatorControlAssignmentsLifecycleStateEnum
type ListOperatorControlAssignmentsRequest
    func (request ListOperatorControlAssignmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOperatorControlAssignmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOperatorControlAssignmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOperatorControlAssignmentsRequest) String() string
type ListOperatorControlAssignmentsResponse
    func (response ListOperatorControlAssignmentsResponse) HTTPResponse() *http.Response
    func (response ListOperatorControlAssignmentsResponse) String() string
type ListOperatorControlAssignmentsSortByEnum
    func GetListOperatorControlAssignmentsSortByEnumValues() []ListOperatorControlAssignmentsSortByEnum
type ListOperatorControlAssignmentsSortOrderEnum
    func GetListOperatorControlAssignmentsSortOrderEnumValues() []ListOperatorControlAssignmentsSortOrderEnum
type ListOperatorControlsLifecycleStateEnum
    func GetListOperatorControlsLifecycleStateEnumValues() []ListOperatorControlsLifecycleStateEnum
type ListOperatorControlsRequest
    func (request ListOperatorControlsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListOperatorControlsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListOperatorControlsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListOperatorControlsRequest) String() string
type ListOperatorControlsResponse
    func (response ListOperatorControlsResponse) HTTPResponse() *http.Response
    func (response ListOperatorControlsResponse) String() string
type ListOperatorControlsSortByEnum
    func GetListOperatorControlsSortByEnumValues() []ListOperatorControlsSortByEnum
type ListOperatorControlsSortOrderEnum
    func GetListOperatorControlsSortOrderEnumValues() []ListOperatorControlsSortOrderEnum
type OperatorAction
    func (m OperatorAction) String() string
type OperatorActionCategoriesEnum
    func GetOperatorActionCategoriesEnumValues() []OperatorActionCategoriesEnum
type OperatorActionCollection
    func (m OperatorActionCollection) String() string
type OperatorActionLifecycleStatesEnum
    func GetOperatorActionLifecycleStatesEnumValues() []OperatorActionLifecycleStatesEnum
type OperatorActionProperties
    func (m OperatorActionProperties) String() string
type OperatorActionSummary
    func (m OperatorActionSummary) String() string
type OperatorActionsClient
    func NewOperatorActionsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorActionsClient, err error)
    func NewOperatorActionsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorActionsClient, err error)
    func (client *OperatorActionsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OperatorActionsClient) GetOperatorAction(ctx context.Context, request GetOperatorActionRequest) (response GetOperatorActionResponse, err error)
    func (client OperatorActionsClient) ListOperatorActions(ctx context.Context, request ListOperatorActionsRequest) (response ListOperatorActionsResponse, err error)
    func (client *OperatorActionsClient) SetRegion(region string)
type OperatorControl
    func (m OperatorControl) String() string
type OperatorControlAssignment
    func (m OperatorControlAssignment) String() string
type OperatorControlAssignmentClient
    func NewOperatorControlAssignmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlAssignmentClient, err error)
    func NewOperatorControlAssignmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlAssignmentClient, err error)
    func (client OperatorControlAssignmentClient) ChangeOperatorControlAssignmentCompartment(ctx context.Context, request ChangeOperatorControlAssignmentCompartmentRequest) (response ChangeOperatorControlAssignmentCompartmentResponse, err error)
    func (client *OperatorControlAssignmentClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OperatorControlAssignmentClient) CreateOperatorControlAssignment(ctx context.Context, request CreateOperatorControlAssignmentRequest) (response CreateOperatorControlAssignmentResponse, err error)
    func (client OperatorControlAssignmentClient) DeleteOperatorControlAssignment(ctx context.Context, request DeleteOperatorControlAssignmentRequest) (response DeleteOperatorControlAssignmentResponse, err error)
    func (client OperatorControlAssignmentClient) GetOperatorControlAssignment(ctx context.Context, request GetOperatorControlAssignmentRequest) (response GetOperatorControlAssignmentResponse, err error)
    func (client OperatorControlAssignmentClient) ListOperatorControlAssignments(ctx context.Context, request ListOperatorControlAssignmentsRequest) (response ListOperatorControlAssignmentsResponse, err error)
    func (client *OperatorControlAssignmentClient) SetRegion(region string)
    func (client OperatorControlAssignmentClient) UpdateOperatorControlAssignment(ctx context.Context, request UpdateOperatorControlAssignmentRequest) (response UpdateOperatorControlAssignmentResponse, err error)
type OperatorControlAssignmentCollection
    func (m OperatorControlAssignmentCollection) String() string
type OperatorControlAssignmentLifecycleStatesEnum
    func GetOperatorControlAssignmentLifecycleStatesEnumValues() []OperatorControlAssignmentLifecycleStatesEnum
type OperatorControlAssignmentSummary
    func (m OperatorControlAssignmentSummary) String() string
type OperatorControlClient
    func NewOperatorControlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlClient, err error)
    func NewOperatorControlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlClient, err error)
    func (client OperatorControlClient) ChangeOperatorControlCompartment(ctx context.Context, request ChangeOperatorControlCompartmentRequest) (response ChangeOperatorControlCompartmentResponse, err error)
    func (client *OperatorControlClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client OperatorControlClient) CreateOperatorControl(ctx context.Context, request CreateOperatorControlRequest) (response CreateOperatorControlResponse, err error)
    func (client OperatorControlClient) DeleteOperatorControl(ctx context.Context, request DeleteOperatorControlRequest) (response DeleteOperatorControlResponse, err error)
    func (client OperatorControlClient) GetOperatorControl(ctx context.Context, request GetOperatorControlRequest) (response GetOperatorControlResponse, err error)
    func (client OperatorControlClient) ListOperatorControls(ctx context.Context, request ListOperatorControlsRequest) (response ListOperatorControlsResponse, err error)
    func (client *OperatorControlClient) SetRegion(region string)
    func (client OperatorControlClient) UpdateOperatorControl(ctx context.Context, request UpdateOperatorControlRequest) (response UpdateOperatorControlResponse, err error)
type OperatorControlCollection
    func (m OperatorControlCollection) String() string
type OperatorControlLifecycleStatesEnum
    func GetOperatorControlLifecycleStatesEnumValues() []OperatorControlLifecycleStatesEnum
type OperatorControlSummary
    func (m OperatorControlSummary) String() string
type RejectAccessRequestDetails
    func (m RejectAccessRequestDetails) String() string
type RejectAccessRequestRequest
    func (request RejectAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RejectAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RejectAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request RejectAccessRequestRequest) String() string
type RejectAccessRequestResponse
    func (response RejectAccessRequestResponse) HTTPResponse() *http.Response
    func (response RejectAccessRequestResponse) String() string
type ResourceTypesEnum
    func GetResourceTypesEnumValues() []ResourceTypesEnum
type RevokeAccessRequestDetails
    func (m RevokeAccessRequestDetails) String() string
type RevokeAccessRequestRequest
    func (request RevokeAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RevokeAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RevokeAccessRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request RevokeAccessRequestRequest) String() string
type RevokeAccessRequestResponse
    func (response RevokeAccessRequestResponse) HTTPResponse() *http.Response
    func (response RevokeAccessRequestResponse) String() string
type SortOrdersEnum
    func GetSortOrdersEnumValues() []SortOrdersEnum
type UpdateOperatorControlAssignmentDetails
    func (m UpdateOperatorControlAssignmentDetails) String() string
type UpdateOperatorControlAssignmentRequest
    func (request UpdateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOperatorControlAssignmentRequest) String() string
type UpdateOperatorControlAssignmentResponse
    func (response UpdateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
    func (response UpdateOperatorControlAssignmentResponse) String() string
type UpdateOperatorControlDetails
    func (m UpdateOperatorControlDetails) String() string
type UpdateOperatorControlRequest
    func (request UpdateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateOperatorControlRequest) String() string
type UpdateOperatorControlResponse
    func (response UpdateOperatorControlResponse) HTTPResponse() *http.Response
    func (response UpdateOperatorControlResponse) String() string

Package files

access_request.go access_request_collection.go access_request_history_collection.go access_request_history_summary.go access_request_lifecycle_states.go access_request_severities.go access_request_summary.go approve_access_request_details.go approve_access_request_request_response.go change_operator_control_assignment_compartment_details.go change_operator_control_assignment_compartment_request_response.go change_operator_control_compartment_details.go change_operator_control_compartment_request_response.go create_operator_control_assignment_details.go create_operator_control_assignment_request_response.go create_operator_control_details.go create_operator_control_request_response.go delete_operator_control_assignment_request_response.go delete_operator_control_request_response.go get_access_request_request_response.go get_operator_action_request_response.go get_operator_control_assignment_request_response.go get_operator_control_request_response.go infrastrcuture_layers.go list_access_request_histories_request_response.go list_access_requests_request_response.go list_operator_actions_request_response.go list_operator_control_assignments_request_response.go list_operator_controls_request_response.go operator_action.go operator_action_categories.go operator_action_collection.go operator_action_lifecycle_states.go operator_action_properties.go operator_action_summary.go operator_control.go operator_control_assignment.go operator_control_assignment_collection.go operator_control_assignment_lifecycle_states.go operator_control_assignment_summary.go operator_control_collection.go operator_control_lifecycle_states.go operator_control_summary.go operatoraccesscontrol_accessrequests_client.go operatoraccesscontrol_operatoractions_client.go operatoraccesscontrol_operatorcontrol_client.go operatoraccesscontrol_operatorcontrolassignment_client.go reject_access_request_details.go reject_access_request_request_response.go resource_types.go revoke_access_request_details.go revoke_access_request_request_response.go sort_orders.go update_operator_control_assignment_details.go update_operator_control_assignment_request_response.go update_operator_control_details.go update_operator_control_request_response.go

type AccessRequest

AccessRequest An Oracle operator raises access request when they need access to any infrastructure resource governed by Operator Access Control. The access request identifies the target resource and the set of operator actions. Access request handling depends upon the Operator Control that governs the target resource, and the set of operator actions listed for approval in the access request. If all of the operator actions listed in the access request are in the pre-approved list in the Operator Control that governs the target resource, then the access request is automatically approved. If not, then the access request requires explicit approval from the approver group specified by the Operator Control governing the target resource. You can approve or reject an access request. You can also revoke the approval of an already approved access request. While creating an access request, the operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration. An operator can also request for an extension. The approval for such an extension is processed the same way the original access request was processed.

type AccessRequest struct {

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

    // Summary comment by the operator creating the access request.
    AccessReasonSummary *string `mandatory:"true" json:"accessReasonSummary"`

    // The OCID of the target resource associated with the access request. The operator raises an access request to get approval to
    // access the target resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // This is an automatic identifier generated by the system which is easier for human comprehension.
    RequestId *string `mandatory:"false" json:"requestId"`

    // A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator.
    // You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy.
    OperatorId *string `mandatory:"false" json:"operatorId"`

    // The name of the target resource.
    ResourceName *string `mandatory:"false" json:"resourceName"`

    // The OCID of the compartment that contains the access request.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // List of operator actions for which approval is sought by the operator user.
    ActionRequestsList []string `mandatory:"false" json:"actionRequestsList"`

    // Summary reason for which the operator is requesting access on the target resource.
    Reason *string `mandatory:"false" json:"reason"`

    // Priority assigned to the access request by the operator
    Severity AccessRequestSeveritiesEnum `mandatory:"false" json:"severity,omitempty"`

    // Duration in hours for which access is sought on the target resource.
    Duration *int `mandatory:"false" json:"duration"`

    // Duration in hours for which extension access is sought on the target resource.
    ExtendDuration *int `mandatory:"false" json:"extendDuration"`

    // The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request
    // or for an access request that encounters an internal error.
    WorkflowId []string `mandatory:"false" json:"workflowId"`

    // Whether the access request was automatically approved.
    IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"`

    // The current state of the AccessRequest.
    LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Time when the access request was created in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"`

    // Time when the access request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"`

    // The OCID of the user that last modified the access request.
    UserId *string `mandatory:"false" json:"userId"`

    // The last recent Comment entered by the approver of the request.
    ApproverComment *string `mandatory:"false" json:"approverComment"`

    // The comment entered by the operator while closing the request.
    ClosureComment *string `mandatory:"false" json:"closureComment"`

    // The OCID of the operator control governing the target resource.
    OpctlId *string `mandatory:"false" json:"opctlId"`

    // Name of the Operator control governing the target resource.
    OpctlName *string `mandatory:"false" json:"opctlName"`

    // System message that will be displayed to the operator at login to the target resource.
    SystemMessage *string `mandatory:"false" json:"systemMessage"`

    // Additional message specific to the access request that can be specified by the approver at the time of approval.
    OpctlAdditionalMessage *string `mandatory:"false" json:"opctlAdditionalMessage"`

    // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level.
    // By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen,
    // in addition to command level logging, key strokes are also logged.
    AuditType []string `mandatory:"false" json:"auditType"`

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

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

func (AccessRequest) String

func (m AccessRequest) String() string

type AccessRequestCollection

AccessRequestCollection Results of access request search, which contains summary of access request.

type AccessRequestCollection struct {

    // contains AccessRequestSummary
    Items []AccessRequestSummary `mandatory:"true" json:"items"`
}

func (AccessRequestCollection) String

func (m AccessRequestCollection) String() string

type AccessRequestHistoryCollection

AccessRequestHistoryCollection Results of access request history search, which contains summary of the access request.

type AccessRequestHistoryCollection struct {

    // contains AccessRequestHistorySummary
    Items []AccessRequestHistorySummary `mandatory:"true" json:"items"`
}

func (AccessRequestHistoryCollection) String

func (m AccessRequestHistoryCollection) String() string

type AccessRequestHistorySummary

AccessRequestHistorySummary Summary of access request status.

type AccessRequestHistorySummary struct {

    // The current state of the AccessRequest.
    LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Approver who modified the access request.
    UserId *string `mandatory:"false" json:"userId"`

    // Reason or description about the cause of change.
    Description *string `mandatory:"false" json:"description"`

    // Duration for approval of request or extension depending on the type of action.
    Duration *int `mandatory:"false" json:"duration"`

    // Whether the access request was automatically approved.
    IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"`

    // List of operator actions for which approvals were requested by the operator.
    ActionsList []string `mandatory:"false" json:"actionsList"`

    // Time when the respective action happened in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfAction *common.SDKTime `mandatory:"false" json:"timeOfAction"`
}

func (AccessRequestHistorySummary) String

func (m AccessRequestHistorySummary) String() string

type AccessRequestLifecycleStatesEnum

AccessRequestLifecycleStatesEnum Enum with underlying type: string

type AccessRequestLifecycleStatesEnum string

Set of constants representing the allowable values for AccessRequestLifecycleStatesEnum

const (
    AccessRequestLifecycleStatesCreated           AccessRequestLifecycleStatesEnum = "CREATED"
    AccessRequestLifecycleStatesApprovalwaiting   AccessRequestLifecycleStatesEnum = "APPROVALWAITING"
    AccessRequestLifecycleStatesPreapproved       AccessRequestLifecycleStatesEnum = "PREAPPROVED"
    AccessRequestLifecycleStatesApproved          AccessRequestLifecycleStatesEnum = "APPROVED"
    AccessRequestLifecycleStatesRejected          AccessRequestLifecycleStatesEnum = "REJECTED"
    AccessRequestLifecycleStatesDeployed          AccessRequestLifecycleStatesEnum = "DEPLOYED"
    AccessRequestLifecycleStatesDeployfailed      AccessRequestLifecycleStatesEnum = "DEPLOYFAILED"
    AccessRequestLifecycleStatesUndeployed        AccessRequestLifecycleStatesEnum = "UNDEPLOYED"
    AccessRequestLifecycleStatesUndeployfailed    AccessRequestLifecycleStatesEnum = "UNDEPLOYFAILED"
    AccessRequestLifecycleStatesClosefailed       AccessRequestLifecycleStatesEnum = "CLOSEFAILED"
    AccessRequestLifecycleStatesRevokefailed      AccessRequestLifecycleStatesEnum = "REVOKEFAILED"
    AccessRequestLifecycleStatesExpiryfailed      AccessRequestLifecycleStatesEnum = "EXPIRYFAILED"
    AccessRequestLifecycleStatesRevoking          AccessRequestLifecycleStatesEnum = "REVOKING"
    AccessRequestLifecycleStatesRevoked           AccessRequestLifecycleStatesEnum = "REVOKED"
    AccessRequestLifecycleStatesExtending         AccessRequestLifecycleStatesEnum = "EXTENDING"
    AccessRequestLifecycleStatesExtended          AccessRequestLifecycleStatesEnum = "EXTENDED"
    AccessRequestLifecycleStatesExtensionrejected AccessRequestLifecycleStatesEnum = "EXTENSIONREJECTED"
    AccessRequestLifecycleStatesCompleting        AccessRequestLifecycleStatesEnum = "COMPLETING"
    AccessRequestLifecycleStatesCompleted         AccessRequestLifecycleStatesEnum = "COMPLETED"
    AccessRequestLifecycleStatesExpired           AccessRequestLifecycleStatesEnum = "EXPIRED"
)

func GetAccessRequestLifecycleStatesEnumValues

func GetAccessRequestLifecycleStatesEnumValues() []AccessRequestLifecycleStatesEnum

GetAccessRequestLifecycleStatesEnumValues Enumerates the set of values for AccessRequestLifecycleStatesEnum

type AccessRequestSeveritiesEnum

AccessRequestSeveritiesEnum Enum with underlying type: string

type AccessRequestSeveritiesEnum string

Set of constants representing the allowable values for AccessRequestSeveritiesEnum

const (
    AccessRequestSeveritiesS1 AccessRequestSeveritiesEnum = "S1"
    AccessRequestSeveritiesS2 AccessRequestSeveritiesEnum = "S2"
    AccessRequestSeveritiesS3 AccessRequestSeveritiesEnum = "S3"
    AccessRequestSeveritiesS4 AccessRequestSeveritiesEnum = "S4"
)

func GetAccessRequestSeveritiesEnumValues

func GetAccessRequestSeveritiesEnumValues() []AccessRequestSeveritiesEnum

GetAccessRequestSeveritiesEnumValues Enumerates the set of values for AccessRequestSeveritiesEnum

type AccessRequestSummary

AccessRequestSummary Summary of access request.

type AccessRequestSummary struct {

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

    // Comment associated with the access request.
    AccessReasonSummary *string `mandatory:"true" json:"accessReasonSummary"`

    // The OCID of the target resource associated with the access request. The operator raises an access request to get approval to
    // access the target resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // This is a system-generated identifier.
    RequestId *string `mandatory:"false" json:"requestId"`

    // The OCID of the compartment that contains the access request.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The name of the target resource.
    ResourceName *string `mandatory:"false" json:"resourceName"`

    // The current state of the AccessRequest.
    LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Time when the access request was created by the operator user in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"`

    // Time when the access request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"`

    // Duration in hours for which access is sought on the target resource.
    Duration *int `mandatory:"false" json:"duration"`

    // Duration in hours for which extension access is sought on the target resource.
    ExtendDuration *int `mandatory:"false" json:"extendDuration"`

    // Priority assigned to the access request by the operator
    Severity AccessRequestSeveritiesEnum `mandatory:"false" json:"severity,omitempty"`

    // Whether the access request was automatically approved.
    IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"`

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

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

func (AccessRequestSummary) String

func (m AccessRequestSummary) String() string

type AccessRequestsClient

AccessRequestsClient a client for AccessRequests

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

func NewAccessRequestsClientWithConfigurationProvider

func NewAccessRequestsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccessRequestsClient, err error)

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

func NewAccessRequestsClientWithOboToken

func NewAccessRequestsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccessRequestsClient, err error)

NewAccessRequestsClientWithOboToken Creates a new default AccessRequests 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 (AccessRequestsClient) ApproveAccessRequest

func (client AccessRequestsClient) ApproveAccessRequest(ctx context.Context, request ApproveAccessRequestRequest) (response ApproveAccessRequestResponse, err error)

ApproveAccessRequest Approves an access request.

See also

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

func (*AccessRequestsClient) ConfigurationProvider

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

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

func (AccessRequestsClient) GetAccessRequest

func (client AccessRequestsClient) GetAccessRequest(ctx context.Context, request GetAccessRequestRequest) (response GetAccessRequestResponse, err error)

GetAccessRequest Gets details of an access request.

See also

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

func (AccessRequestsClient) ListAccessRequestHistories

func (client AccessRequestsClient) ListAccessRequestHistories(ctx context.Context, request ListAccessRequestHistoriesRequest) (response ListAccessRequestHistoriesResponse, err error)

ListAccessRequestHistories Returns a history of all status associated with the accessRequestId.

See also

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

func (AccessRequestsClient) ListAccessRequests

func (client AccessRequestsClient) ListAccessRequests(ctx context.Context, request ListAccessRequestsRequest) (response ListAccessRequestsResponse, err error)

ListAccessRequests Lists all access requests in the compartment.

See also

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

func (AccessRequestsClient) RejectAccessRequest

func (client AccessRequestsClient) RejectAccessRequest(ctx context.Context, request RejectAccessRequestRequest) (response RejectAccessRequestResponse, err error)

RejectAccessRequest Rejects an access request.

See also

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

func (AccessRequestsClient) RevokeAccessRequest

func (client AccessRequestsClient) RevokeAccessRequest(ctx context.Context, request RevokeAccessRequestRequest) (response RevokeAccessRequestResponse, err error)

RevokeAccessRequest Revokes an already approved access request.

See also

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

func (*AccessRequestsClient) SetRegion

func (client *AccessRequestsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type ApproveAccessRequestDetails

ApproveAccessRequestDetails Details of the access request approval.

type ApproveAccessRequestDetails struct {

    // Comment by the approver during approval.
    ApproverComment *string `mandatory:"false" json:"approverComment"`

    // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level.
    // By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen,
    // in addition to command level logging, key strokes are also logged.
    AuditType []string `mandatory:"false" json:"auditType"`

    // Message that needs to be displayed to the Ops User.
    AdditionalMessage *string `mandatory:"false" json:"additionalMessage"`
}

func (ApproveAccessRequestDetails) String

func (m ApproveAccessRequestDetails) String() string

type ApproveAccessRequestRequest

ApproveAccessRequestRequest wrapper for the ApproveAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ApproveAccessRequest.go.html to see an example of how to use ApproveAccessRequestRequest.

type ApproveAccessRequestRequest struct {

    // unique AccessRequest identifier
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // Details regarding the approval of an access request created by the operator.
    ApproveAccessRequestDetails `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"`

    // 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 (ApproveAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ApproveAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ApproveAccessRequestRequest) RetryPolicy

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

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

func (ApproveAccessRequestRequest) String

func (request ApproveAccessRequestRequest) String() string

type ApproveAccessRequestResponse

ApproveAccessRequestResponse wrapper for the ApproveAccessRequest operation

type ApproveAccessRequestResponse 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 (ApproveAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ApproveAccessRequestResponse) String

func (response ApproveAccessRequestResponse) String() string

type ChangeOperatorControlAssignmentCompartmentDetails

ChangeOperatorControlAssignmentCompartmentDetails Details of the new compartment to contain the operator control assignment.

type ChangeOperatorControlAssignmentCompartmentDetails struct {

    // The OCID of the new compartment to contain the operator contol assignment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (ChangeOperatorControlAssignmentCompartmentDetails) String

func (m ChangeOperatorControlAssignmentCompartmentDetails) String() string

type ChangeOperatorControlAssignmentCompartmentRequest

ChangeOperatorControlAssignmentCompartmentRequest wrapper for the ChangeOperatorControlAssignmentCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.go.html to see an example of how to use ChangeOperatorControlAssignmentCompartmentRequest.

type ChangeOperatorControlAssignmentCompartmentRequest struct {

    // unique OperatorControl identifier
    OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"`

    // Changes the compartment for the given operator control assignment.
    ChangeOperatorControlAssignmentCompartmentDetails `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"`

    // 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 (ChangeOperatorControlAssignmentCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOperatorControlAssignmentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOperatorControlAssignmentCompartmentRequest) RetryPolicy

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

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

func (ChangeOperatorControlAssignmentCompartmentRequest) String

func (request ChangeOperatorControlAssignmentCompartmentRequest) String() string

type ChangeOperatorControlAssignmentCompartmentResponse

ChangeOperatorControlAssignmentCompartmentResponse wrapper for the ChangeOperatorControlAssignmentCompartment operation

type ChangeOperatorControlAssignmentCompartmentResponse 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 (ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOperatorControlAssignmentCompartmentResponse) String

func (response ChangeOperatorControlAssignmentCompartmentResponse) String() string

type ChangeOperatorControlCompartmentDetails

ChangeOperatorControlCompartmentDetails Details of the new compartment to contain the operator control.

type ChangeOperatorControlCompartmentDetails struct {

    // The OCID of the new compartment to contain the operator contol.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

func (ChangeOperatorControlCompartmentDetails) String

func (m ChangeOperatorControlCompartmentDetails) String() string

type ChangeOperatorControlCompartmentRequest

ChangeOperatorControlCompartmentRequest wrapper for the ChangeOperatorControlCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ChangeOperatorControlCompartment.go.html to see an example of how to use ChangeOperatorControlCompartmentRequest.

type ChangeOperatorControlCompartmentRequest struct {

    // unique OperatorControl identifier
    OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"`

    // Moves the Operator Control resource into a different compartment.
    ChangeOperatorControlCompartmentDetails `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"`

    // 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 (ChangeOperatorControlCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOperatorControlCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOperatorControlCompartmentRequest) RetryPolicy

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

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

func (ChangeOperatorControlCompartmentRequest) String

func (request ChangeOperatorControlCompartmentRequest) String() string

type ChangeOperatorControlCompartmentResponse

ChangeOperatorControlCompartmentResponse wrapper for the ChangeOperatorControlCompartment operation

type ChangeOperatorControlCompartmentResponse 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 (ChangeOperatorControlCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOperatorControlCompartmentResponse) String

func (response ChangeOperatorControlCompartmentResponse) String() string

type CreateOperatorControlAssignmentDetails

CreateOperatorControlAssignmentDetails Details of the Operator Control assignment. An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.

type CreateOperatorControlAssignmentDetails struct {

    // The OCID of the operator control that is being assigned to a target resource.
    OperatorControlId *string `mandatory:"true" json:"operatorControlId"`

    // The OCID of the target resource being brought under the governance of the operator control.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // Name of the target resource.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // The OCID of the compartment that contains the target resource.
    ResourceCompartmentId *string `mandatory:"true" json:"resourceCompartmentId"`

    // The OCID of the compartment that contains the operator control assignment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Type of the target resource.
    ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"`

    // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"`

    // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"`

    // If set, then the target resource is always governed by the operator control.
    IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"`

    // Comment about the assignment of the operator control to this target resource.
    Comment *string `mandatory:"false" json:"comment"`

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

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

func (CreateOperatorControlAssignmentDetails) String

func (m CreateOperatorControlAssignmentDetails) String() string

type CreateOperatorControlAssignmentRequest

CreateOperatorControlAssignmentRequest wrapper for the CreateOperatorControlAssignment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/CreateOperatorControlAssignment.go.html to see an example of how to use CreateOperatorControlAssignmentRequest.

type CreateOperatorControlAssignmentRequest struct {

    // Details of the Operator Control Assignment.
    CreateOperatorControlAssignmentDetails `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 (CreateOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOperatorControlAssignmentRequest) RetryPolicy

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

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

func (CreateOperatorControlAssignmentRequest) String

func (request CreateOperatorControlAssignmentRequest) String() string

type CreateOperatorControlAssignmentResponse

CreateOperatorControlAssignmentResponse wrapper for the CreateOperatorControlAssignment operation

type CreateOperatorControlAssignmentResponse 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 (CreateOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOperatorControlAssignmentResponse) String

func (response CreateOperatorControlAssignmentResponse) String() string

type CreateOperatorControlDetails

CreateOperatorControlDetails While creating the operator control, specify how operator actions are approved and the users who have the privilege of approving the operator actions associated with the Operator Control. You must specify which operator actions must be pre-approved. The rest of the operator actions associated with the Operator Control will require an explicit approval from the users selected either through the approver groups or individually. You must name your Operator Control appropriately so it reflects the resources that will be governed by the Operator Control. Neither the Operator Controls nor their assignments to resources are visible to the Oracle operators.

type CreateOperatorControlDetails struct {

    // Name of the operator control.
    OperatorControlName *string `mandatory:"true" json:"operatorControlName"`

    // The OCID of the compartment that contains this operator control.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of the operator control.
    Description *string `mandatory:"false" json:"description"`

    // List of users who can approve an access request associated with a resource governed by this operator control.
    ApproversList []string `mandatory:"false" json:"approversList"`

    // List of user groups who can approve an access request associated with a resource governed by this operator control.
    ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"`

    // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be
    // auto-approved if the access request only contain operator actions in the pre-approved list.
    PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"`

    // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control
    // will be auto-approved.
    IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"`

    // List of emailId.
    EmailIdList []string `mandatory:"false" json:"emailIdList"`

    // This is the message that will be displayed to the operator users while accessing the system.
    SystemMessage *string `mandatory:"false" json:"systemMessage"`

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

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

func (CreateOperatorControlDetails) String

func (m CreateOperatorControlDetails) String() string

type CreateOperatorControlRequest

CreateOperatorControlRequest wrapper for the CreateOperatorControl operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/CreateOperatorControl.go.html to see an example of how to use CreateOperatorControlRequest.

type CreateOperatorControlRequest struct {

    // Details for the new Operator Control.
    CreateOperatorControlDetails `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 (CreateOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOperatorControlRequest) RetryPolicy

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

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

func (CreateOperatorControlRequest) String

func (request CreateOperatorControlRequest) String() string

type CreateOperatorControlResponse

CreateOperatorControlResponse wrapper for the CreateOperatorControl operation

type CreateOperatorControlResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OperatorControl instance
    OperatorControl `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 (CreateOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOperatorControlResponse) String

func (response CreateOperatorControlResponse) String() string

type DeleteOperatorControlAssignmentRequest

DeleteOperatorControlAssignmentRequest wrapper for the DeleteOperatorControlAssignment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/DeleteOperatorControlAssignment.go.html to see an example of how to use DeleteOperatorControlAssignmentRequest.

type DeleteOperatorControlAssignmentRequest struct {

    // unique OperatorControl identifier
    OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"`

    // reason for detachment of OperatorAssignment.
    Description *string `mandatory:"false" contributesTo:"query" name:"description"`

    // 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 (DeleteOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOperatorControlAssignmentRequest) RetryPolicy

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

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

func (DeleteOperatorControlAssignmentRequest) String

func (request DeleteOperatorControlAssignmentRequest) String() string

type DeleteOperatorControlAssignmentResponse

DeleteOperatorControlAssignmentResponse wrapper for the DeleteOperatorControlAssignment operation

type DeleteOperatorControlAssignmentResponse 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 (DeleteOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOperatorControlAssignmentResponse) String

func (response DeleteOperatorControlAssignmentResponse) String() string

type DeleteOperatorControlRequest

DeleteOperatorControlRequest wrapper for the DeleteOperatorControl operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/DeleteOperatorControl.go.html to see an example of how to use DeleteOperatorControlRequest.

type DeleteOperatorControlRequest struct {

    // unique OperatorControl identifier
    OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"`

    // reason for deletion of OperatorControl.
    Description *string `mandatory:"false" contributesTo:"query" name:"description"`

    // 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 (DeleteOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOperatorControlRequest) RetryPolicy

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

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

func (DeleteOperatorControlRequest) String

func (request DeleteOperatorControlRequest) String() string

type DeleteOperatorControlResponse

DeleteOperatorControlResponse wrapper for the DeleteOperatorControl operation

type DeleteOperatorControlResponse 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 (DeleteOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOperatorControlResponse) String

func (response DeleteOperatorControlResponse) String() string

type GetAccessRequestRequest

GetAccessRequestRequest wrapper for the GetAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/GetAccessRequest.go.html to see an example of how to use GetAccessRequestRequest.

type GetAccessRequestRequest struct {

    // unique AccessRequest identifier
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // 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 (GetAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessRequestRequest) RetryPolicy

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

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

func (GetAccessRequestRequest) String

func (request GetAccessRequestRequest) String() string

type GetAccessRequestResponse

GetAccessRequestResponse wrapper for the GetAccessRequest operation

type GetAccessRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessRequestResponse) String

func (response GetAccessRequestResponse) String() string

type GetOperatorActionRequest

GetOperatorActionRequest wrapper for the GetOperatorAction operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/GetOperatorAction.go.html to see an example of how to use GetOperatorActionRequest.

type GetOperatorActionRequest struct {

    // Unique Oracle supplied identifier associated with the operator action.
    OperatorActionId *string `mandatory:"true" contributesTo:"path" name:"operatorActionId"`

    // 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 (GetOperatorActionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorActionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorActionRequest) RetryPolicy

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

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

func (GetOperatorActionRequest) String

func (request GetOperatorActionRequest) String() string

type GetOperatorActionResponse

GetOperatorActionResponse wrapper for the GetOperatorAction operation

type GetOperatorActionResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetOperatorActionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorActionResponse) String

func (response GetOperatorActionResponse) String() string

type GetOperatorControlAssignmentRequest

GetOperatorControlAssignmentRequest wrapper for the GetOperatorControlAssignment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/GetOperatorControlAssignment.go.html to see an example of how to use GetOperatorControlAssignmentRequest.

type GetOperatorControlAssignmentRequest struct {

    // unique OperatorControl identifier
    OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"`

    // 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 (GetOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorControlAssignmentRequest) RetryPolicy

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

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

func (GetOperatorControlAssignmentRequest) String

func (request GetOperatorControlAssignmentRequest) String() string

type GetOperatorControlAssignmentResponse

GetOperatorControlAssignmentResponse wrapper for the GetOperatorControlAssignment operation

type GetOperatorControlAssignmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OperatorControlAssignment instance
    OperatorControlAssignment `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 (GetOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorControlAssignmentResponse) String

func (response GetOperatorControlAssignmentResponse) String() string

type GetOperatorControlRequest

GetOperatorControlRequest wrapper for the GetOperatorControl operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/GetOperatorControl.go.html to see an example of how to use GetOperatorControlRequest.

type GetOperatorControlRequest struct {

    // unique OperatorControl identifier
    OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"`

    // 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 (GetOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorControlRequest) RetryPolicy

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

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

func (GetOperatorControlRequest) String

func (request GetOperatorControlRequest) String() string

type GetOperatorControlResponse

GetOperatorControlResponse wrapper for the GetOperatorControl operation

type GetOperatorControlResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OperatorControl instance
    OperatorControl `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 (GetOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorControlResponse) String

func (response GetOperatorControlResponse) String() string

type InfrastrcutureLayersEnum

InfrastrcutureLayersEnum Enum with underlying type: string

type InfrastrcutureLayersEnum string

Set of constants representing the allowable values for InfrastrcutureLayersEnum

const (
    InfrastrcutureLayersDom0       InfrastrcutureLayersEnum = "DOM0"
    InfrastrcutureLayersCellserver InfrastrcutureLayersEnum = "CELLSERVER"
    InfrastrcutureLayersCps        InfrastrcutureLayersEnum = "CPS"
)

func GetInfrastrcutureLayersEnumValues

func GetInfrastrcutureLayersEnumValues() []InfrastrcutureLayersEnum

GetInfrastrcutureLayersEnumValues Enumerates the set of values for InfrastrcutureLayersEnum

type ListAccessRequestHistoriesRequest

ListAccessRequestHistoriesRequest wrapper for the ListAccessRequestHistories operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ListAccessRequestHistories.go.html to see an example of how to use ListAccessRequestHistoriesRequest.

type ListAccessRequestHistoriesRequest struct {

    // unique AccessRequest identifier
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // 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 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 (ListAccessRequestHistoriesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAccessRequestHistoriesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAccessRequestHistoriesRequest) RetryPolicy

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

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

func (ListAccessRequestHistoriesRequest) String

func (request ListAccessRequestHistoriesRequest) String() string

type ListAccessRequestHistoriesResponse

ListAccessRequestHistoriesResponse wrapper for the ListAccessRequestHistories operation

type ListAccessRequestHistoriesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of AccessRequestHistoryCollection instances
    AccessRequestHistoryCollection `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 (ListAccessRequestHistoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAccessRequestHistoriesResponse) String

func (response ListAccessRequestHistoriesResponse) String() string

type ListAccessRequestsLifecycleStateEnum

ListAccessRequestsLifecycleStateEnum Enum with underlying type: string

type ListAccessRequestsLifecycleStateEnum string

Set of constants representing the allowable values for ListAccessRequestsLifecycleStateEnum

const (
    ListAccessRequestsLifecycleStateCreated           ListAccessRequestsLifecycleStateEnum = "CREATED"
    ListAccessRequestsLifecycleStateApprovalwaiting   ListAccessRequestsLifecycleStateEnum = "APPROVALWAITING"
    ListAccessRequestsLifecycleStatePreapproved       ListAccessRequestsLifecycleStateEnum = "PREAPPROVED"
    ListAccessRequestsLifecycleStateApproved          ListAccessRequestsLifecycleStateEnum = "APPROVED"
    ListAccessRequestsLifecycleStateRejected          ListAccessRequestsLifecycleStateEnum = "REJECTED"
    ListAccessRequestsLifecycleStateDeployed          ListAccessRequestsLifecycleStateEnum = "DEPLOYED"
    ListAccessRequestsLifecycleStateDeployfailed      ListAccessRequestsLifecycleStateEnum = "DEPLOYFAILED"
    ListAccessRequestsLifecycleStateUndeployed        ListAccessRequestsLifecycleStateEnum = "UNDEPLOYED"
    ListAccessRequestsLifecycleStateUndeployfailed    ListAccessRequestsLifecycleStateEnum = "UNDEPLOYFAILED"
    ListAccessRequestsLifecycleStateClosefailed       ListAccessRequestsLifecycleStateEnum = "CLOSEFAILED"
    ListAccessRequestsLifecycleStateRevokefailed      ListAccessRequestsLifecycleStateEnum = "REVOKEFAILED"
    ListAccessRequestsLifecycleStateExpiryfailed      ListAccessRequestsLifecycleStateEnum = "EXPIRYFAILED"
    ListAccessRequestsLifecycleStateRevoking          ListAccessRequestsLifecycleStateEnum = "REVOKING"
    ListAccessRequestsLifecycleStateRevoked           ListAccessRequestsLifecycleStateEnum = "REVOKED"
    ListAccessRequestsLifecycleStateExtending         ListAccessRequestsLifecycleStateEnum = "EXTENDING"
    ListAccessRequestsLifecycleStateExtended          ListAccessRequestsLifecycleStateEnum = "EXTENDED"
    ListAccessRequestsLifecycleStateExtensionrejected ListAccessRequestsLifecycleStateEnum = "EXTENSIONREJECTED"
    ListAccessRequestsLifecycleStateCompleting        ListAccessRequestsLifecycleStateEnum = "COMPLETING"
    ListAccessRequestsLifecycleStateCompleted         ListAccessRequestsLifecycleStateEnum = "COMPLETED"
    ListAccessRequestsLifecycleStateExpired           ListAccessRequestsLifecycleStateEnum = "EXPIRED"
)

func GetListAccessRequestsLifecycleStateEnumValues

func GetListAccessRequestsLifecycleStateEnumValues() []ListAccessRequestsLifecycleStateEnum

GetListAccessRequestsLifecycleStateEnumValues Enumerates the set of values for ListAccessRequestsLifecycleStateEnum

type ListAccessRequestsRequest

ListAccessRequestsRequest wrapper for the ListAccessRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ListAccessRequests.go.html to see an example of how to use ListAccessRequestsRequest.

type ListAccessRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState.
    LifecycleState ListAccessRequestsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListAccessRequestsSortOrderEnum `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 ListAccessRequestsSortByEnum `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 (ListAccessRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAccessRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAccessRequestsRequest) RetryPolicy

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

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

func (ListAccessRequestsRequest) String

func (request ListAccessRequestsRequest) String() string

type ListAccessRequestsResponse

ListAccessRequestsResponse wrapper for the ListAccessRequests operation

type ListAccessRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of AccessRequestCollection instances
    AccessRequestCollection `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 (ListAccessRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAccessRequestsResponse) String

func (response ListAccessRequestsResponse) String() string

type ListAccessRequestsSortByEnum

ListAccessRequestsSortByEnum Enum with underlying type: string

type ListAccessRequestsSortByEnum string

Set of constants representing the allowable values for ListAccessRequestsSortByEnum

const (
    ListAccessRequestsSortByTimecreated ListAccessRequestsSortByEnum = "timeCreated"
    ListAccessRequestsSortByDisplayname ListAccessRequestsSortByEnum = "displayName"
)

func GetListAccessRequestsSortByEnumValues

func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum

GetListAccessRequestsSortByEnumValues Enumerates the set of values for ListAccessRequestsSortByEnum

type ListAccessRequestsSortOrderEnum

ListAccessRequestsSortOrderEnum Enum with underlying type: string

type ListAccessRequestsSortOrderEnum string

Set of constants representing the allowable values for ListAccessRequestsSortOrderEnum

const (
    ListAccessRequestsSortOrderAsc  ListAccessRequestsSortOrderEnum = "ASC"
    ListAccessRequestsSortOrderDesc ListAccessRequestsSortOrderEnum = "DESC"
)

func GetListAccessRequestsSortOrderEnumValues

func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum

GetListAccessRequestsSortOrderEnumValues Enumerates the set of values for ListAccessRequestsSortOrderEnum

type ListOperatorActionsLifecycleStateEnum

ListOperatorActionsLifecycleStateEnum Enum with underlying type: string

type ListOperatorActionsLifecycleStateEnum string

Set of constants representing the allowable values for ListOperatorActionsLifecycleStateEnum

const (
    ListOperatorActionsLifecycleStateActive   ListOperatorActionsLifecycleStateEnum = "ACTIVE"
    ListOperatorActionsLifecycleStateInactive ListOperatorActionsLifecycleStateEnum = "INACTIVE"
)

func GetListOperatorActionsLifecycleStateEnumValues

func GetListOperatorActionsLifecycleStateEnumValues() []ListOperatorActionsLifecycleStateEnum

GetListOperatorActionsLifecycleStateEnumValues Enumerates the set of values for ListOperatorActionsLifecycleStateEnum

type ListOperatorActionsRequest

ListOperatorActionsRequest wrapper for the ListOperatorActions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ListOperatorActions.go.html to see an example of how to use ListOperatorActionsRequest.

type ListOperatorActionsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState.
    LifecycleState ListOperatorActionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListOperatorActionsSortOrderEnum `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 ListOperatorActionsSortByEnum `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 (ListOperatorActionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorActionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorActionsRequest) RetryPolicy

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

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

func (ListOperatorActionsRequest) String

func (request ListOperatorActionsRequest) String() string

type ListOperatorActionsResponse

ListOperatorActionsResponse wrapper for the ListOperatorActions operation

type ListOperatorActionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OperatorActionCollection instances
    OperatorActionCollection `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 (ListOperatorActionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorActionsResponse) String

func (response ListOperatorActionsResponse) String() string

type ListOperatorActionsSortByEnum

ListOperatorActionsSortByEnum Enum with underlying type: string

type ListOperatorActionsSortByEnum string

Set of constants representing the allowable values for ListOperatorActionsSortByEnum

const (
    ListOperatorActionsSortByTimecreated ListOperatorActionsSortByEnum = "timeCreated"
    ListOperatorActionsSortByDisplayname ListOperatorActionsSortByEnum = "displayName"
)

func GetListOperatorActionsSortByEnumValues

func GetListOperatorActionsSortByEnumValues() []ListOperatorActionsSortByEnum

GetListOperatorActionsSortByEnumValues Enumerates the set of values for ListOperatorActionsSortByEnum

type ListOperatorActionsSortOrderEnum

ListOperatorActionsSortOrderEnum Enum with underlying type: string

type ListOperatorActionsSortOrderEnum string

Set of constants representing the allowable values for ListOperatorActionsSortOrderEnum

const (
    ListOperatorActionsSortOrderAsc  ListOperatorActionsSortOrderEnum = "ASC"
    ListOperatorActionsSortOrderDesc ListOperatorActionsSortOrderEnum = "DESC"
)

func GetListOperatorActionsSortOrderEnumValues

func GetListOperatorActionsSortOrderEnumValues() []ListOperatorActionsSortOrderEnum

GetListOperatorActionsSortOrderEnumValues Enumerates the set of values for ListOperatorActionsSortOrderEnum

type ListOperatorControlAssignmentsLifecycleStateEnum

ListOperatorControlAssignmentsLifecycleStateEnum Enum with underlying type: string

type ListOperatorControlAssignmentsLifecycleStateEnum string

Set of constants representing the allowable values for ListOperatorControlAssignmentsLifecycleStateEnum

const (
    ListOperatorControlAssignmentsLifecycleStateCreated     ListOperatorControlAssignmentsLifecycleStateEnum = "CREATED"
    ListOperatorControlAssignmentsLifecycleStateApplied     ListOperatorControlAssignmentsLifecycleStateEnum = "APPLIED"
    ListOperatorControlAssignmentsLifecycleStateApplyfailed ListOperatorControlAssignmentsLifecycleStateEnum = "APPLYFAILED"
    ListOperatorControlAssignmentsLifecycleStateDeleted     ListOperatorControlAssignmentsLifecycleStateEnum = "DELETED"
)

func GetListOperatorControlAssignmentsLifecycleStateEnumValues

func GetListOperatorControlAssignmentsLifecycleStateEnumValues() []ListOperatorControlAssignmentsLifecycleStateEnum

GetListOperatorControlAssignmentsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlAssignmentsLifecycleStateEnum

type ListOperatorControlAssignmentsRequest

ListOperatorControlAssignmentsRequest wrapper for the ListOperatorControlAssignments operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ListOperatorControlAssignments.go.html to see an example of how to use ListOperatorControlAssignmentsRequest.

type ListOperatorControlAssignmentsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return OperatorControl that match the given operatorControlName.
    OperatorControlName *string `mandatory:"false" contributesTo:"query" name:"operatorControlName"`

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

    // A filter to return only resources whose lifecycleState matches the given OperatorControlAssignment lifecycleState.
    LifecycleState ListOperatorControlAssignmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" 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 ListOperatorControlAssignmentsSortOrderEnum `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 ListOperatorControlAssignmentsSortByEnum `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 (ListOperatorControlAssignmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorControlAssignmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorControlAssignmentsRequest) RetryPolicy

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

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

func (ListOperatorControlAssignmentsRequest) String

func (request ListOperatorControlAssignmentsRequest) String() string

type ListOperatorControlAssignmentsResponse

ListOperatorControlAssignmentsResponse wrapper for the ListOperatorControlAssignments operation

type ListOperatorControlAssignmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OperatorControlAssignmentCollection instances
    OperatorControlAssignmentCollection `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 (ListOperatorControlAssignmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorControlAssignmentsResponse) String

func (response ListOperatorControlAssignmentsResponse) String() string

type ListOperatorControlAssignmentsSortByEnum

ListOperatorControlAssignmentsSortByEnum Enum with underlying type: string

type ListOperatorControlAssignmentsSortByEnum string

Set of constants representing the allowable values for ListOperatorControlAssignmentsSortByEnum

const (
    ListOperatorControlAssignmentsSortByTimecreated ListOperatorControlAssignmentsSortByEnum = "timeCreated"
    ListOperatorControlAssignmentsSortByDisplayname ListOperatorControlAssignmentsSortByEnum = "displayName"
)

func GetListOperatorControlAssignmentsSortByEnumValues

func GetListOperatorControlAssignmentsSortByEnumValues() []ListOperatorControlAssignmentsSortByEnum

GetListOperatorControlAssignmentsSortByEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortByEnum

type ListOperatorControlAssignmentsSortOrderEnum

ListOperatorControlAssignmentsSortOrderEnum Enum with underlying type: string

type ListOperatorControlAssignmentsSortOrderEnum string

Set of constants representing the allowable values for ListOperatorControlAssignmentsSortOrderEnum

const (
    ListOperatorControlAssignmentsSortOrderAsc  ListOperatorControlAssignmentsSortOrderEnum = "ASC"
    ListOperatorControlAssignmentsSortOrderDesc ListOperatorControlAssignmentsSortOrderEnum = "DESC"
)

func GetListOperatorControlAssignmentsSortOrderEnumValues

func GetListOperatorControlAssignmentsSortOrderEnumValues() []ListOperatorControlAssignmentsSortOrderEnum

GetListOperatorControlAssignmentsSortOrderEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortOrderEnum

type ListOperatorControlsLifecycleStateEnum

ListOperatorControlsLifecycleStateEnum Enum with underlying type: string

type ListOperatorControlsLifecycleStateEnum string

Set of constants representing the allowable values for ListOperatorControlsLifecycleStateEnum

const (
    ListOperatorControlsLifecycleStateCreated    ListOperatorControlsLifecycleStateEnum = "CREATED"
    ListOperatorControlsLifecycleStateAssigned   ListOperatorControlsLifecycleStateEnum = "ASSIGNED"
    ListOperatorControlsLifecycleStateUnassigned ListOperatorControlsLifecycleStateEnum = "UNASSIGNED"
    ListOperatorControlsLifecycleStateDeleted    ListOperatorControlsLifecycleStateEnum = "DELETED"
)

func GetListOperatorControlsLifecycleStateEnumValues

func GetListOperatorControlsLifecycleStateEnumValues() []ListOperatorControlsLifecycleStateEnum

GetListOperatorControlsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlsLifecycleStateEnum

type ListOperatorControlsRequest

ListOperatorControlsRequest wrapper for the ListOperatorControls operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/ListOperatorControls.go.html to see an example of how to use ListOperatorControlsRequest.

type ListOperatorControlsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources whose lifecycleState matches the given OperatorControl lifecycleState.
    LifecycleState ListOperatorControlsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return OperatorControl that match the entire display name given.
    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 ListOperatorControlsSortOrderEnum `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 ListOperatorControlsSortByEnum `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 (ListOperatorControlsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorControlsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorControlsRequest) RetryPolicy

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

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

func (ListOperatorControlsRequest) String

func (request ListOperatorControlsRequest) String() string

type ListOperatorControlsResponse

ListOperatorControlsResponse wrapper for the ListOperatorControls operation

type ListOperatorControlsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of OperatorControlCollection instances
    OperatorControlCollection `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 (ListOperatorControlsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorControlsResponse) String

func (response ListOperatorControlsResponse) String() string

type ListOperatorControlsSortByEnum

ListOperatorControlsSortByEnum Enum with underlying type: string

type ListOperatorControlsSortByEnum string

Set of constants representing the allowable values for ListOperatorControlsSortByEnum

const (
    ListOperatorControlsSortByTimecreated ListOperatorControlsSortByEnum = "timeCreated"
    ListOperatorControlsSortByDisplayname ListOperatorControlsSortByEnum = "displayName"
)

func GetListOperatorControlsSortByEnumValues

func GetListOperatorControlsSortByEnumValues() []ListOperatorControlsSortByEnum

GetListOperatorControlsSortByEnumValues Enumerates the set of values for ListOperatorControlsSortByEnum

type ListOperatorControlsSortOrderEnum

ListOperatorControlsSortOrderEnum Enum with underlying type: string

type ListOperatorControlsSortOrderEnum string

Set of constants representing the allowable values for ListOperatorControlsSortOrderEnum

const (
    ListOperatorControlsSortOrderAsc  ListOperatorControlsSortOrderEnum = "ASC"
    ListOperatorControlsSortOrderDesc ListOperatorControlsSortOrderEnum = "DESC"
)

func GetListOperatorControlsSortOrderEnumValues

func GetListOperatorControlsSortOrderEnumValues() []ListOperatorControlsSortOrderEnum

GetListOperatorControlsSortOrderEnumValues Enumerates the set of values for ListOperatorControlsSortOrderEnum

type OperatorAction

OperatorAction Details of the operator action. Operator actions are a pre-defined set of commands available to the operator on different layers of the infrastructure. Although the groupings may differ depending on the infrastructure layers, the groups are designed to enable the operator access to commands to resolve a specific set of issues. The infrastructure layers controlled by the Operator Control include Dom0, CellServer, and Control Plane Server (CPS). There are five groups available to the operator. x-obmcs-top-level-enum: '#/definitions/OperatorActionCategories' enum: *OPERATORACTIONCATEGORIES The following infrastructure layers are controlled by the operator actions x-obmcs-top-level-enum: '#/definitions/InfrastructureLayers' enum: *INFRASTRUCTURELAYERS

type OperatorAction struct {

    // Unique Oracle assigned identifier for the operator action.
    Id *string `mandatory:"true" json:"id"`

    // Name of the operator action.
    Name *string `mandatory:"true" json:"name"`

    // Name of the infrastructure layer associated with the operator action.
    Component *string `mandatory:"false" json:"component"`

    // Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made
    // available to the operator under this operator action.
    Description *string `mandatory:"false" json:"description"`

    // Fine grained properties associated with the operator control.
    Properties []OperatorActionProperties `mandatory:"false" json:"properties"`
}

func (OperatorAction) String

func (m OperatorAction) String() string

type OperatorActionCategoriesEnum

OperatorActionCategoriesEnum Enum with underlying type: string

type OperatorActionCategoriesEnum string

Set of constants representing the allowable values for OperatorActionCategoriesEnum

const (
    OperatorActionCategoriesServicediagnostics OperatorActionCategoriesEnum = "SERVICEDIAGNOSTICS"
    OperatorActionCategoriesServicemanagement  OperatorActionCategoriesEnum = "SERVICEMANAGEMENT"
    OperatorActionCategoriesSystemmanagement   OperatorActionCategoriesEnum = "SYSTEMMANAGEMENT"
    OperatorActionCategoriesFulladministration OperatorActionCategoriesEnum = "FULLADMINISTRATION"
    OperatorActionCategoriesCellmanagement     OperatorActionCategoriesEnum = "CELLMANAGEMENT"
)

func GetOperatorActionCategoriesEnumValues

func GetOperatorActionCategoriesEnumValues() []OperatorActionCategoriesEnum

GetOperatorActionCategoriesEnumValues Enumerates the set of values for OperatorActionCategoriesEnum

type OperatorActionCollection

OperatorActionCollection Results of operator action search, which contains summary of the action.

type OperatorActionCollection struct {

    // contains OperatorActionSummary
    Items []OperatorActionSummary `mandatory:"true" json:"items"`
}

func (OperatorActionCollection) String

func (m OperatorActionCollection) String() string

type OperatorActionLifecycleStatesEnum

OperatorActionLifecycleStatesEnum Enum with underlying type: string

type OperatorActionLifecycleStatesEnum string

Set of constants representing the allowable values for OperatorActionLifecycleStatesEnum

const (
    OperatorActionLifecycleStatesActive   OperatorActionLifecycleStatesEnum = "ACTIVE"
    OperatorActionLifecycleStatesInactive OperatorActionLifecycleStatesEnum = "INACTIVE"
)

func GetOperatorActionLifecycleStatesEnumValues

func GetOperatorActionLifecycleStatesEnumValues() []OperatorActionLifecycleStatesEnum

GetOperatorActionLifecycleStatesEnumValues Enumerates the set of values for OperatorActionLifecycleStatesEnum

type OperatorActionProperties

OperatorActionProperties Details of the properties of operator action.

type OperatorActionProperties struct {

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

    // value of the property
    Value *string `mandatory:"false" json:"value"`
}

func (OperatorActionProperties) String

func (m OperatorActionProperties) String() string

type OperatorActionSummary

OperatorActionSummary Details of the operator action. Operator actions are pre-defined set of commands available to the operator on different layers of the infrastructure.

type OperatorActionSummary struct {

    // Unique identifier assigned by Oracle to an operator action.
    Id *string `mandatory:"true" json:"id"`

    // Name of the operator action.
    Name *string `mandatory:"true" json:"name"`

    // Name of the component for which the operator action is applicable.
    Component *string `mandatory:"false" json:"component"`

    // compartmentId for which the OperatorAction is applicable
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The current lifecycle state of the operator action.
    LifecycleState OperatorActionLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made
    // available to the operator under this operator action.
    Description *string `mandatory:"false" json:"description"`
}

func (OperatorActionSummary) String

func (m OperatorActionSummary) String() string

type OperatorActionsClient

OperatorActionsClient a client for OperatorActions

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

func NewOperatorActionsClientWithConfigurationProvider

func NewOperatorActionsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorActionsClient, err error)

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

func NewOperatorActionsClientWithOboToken

func NewOperatorActionsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorActionsClient, err error)

NewOperatorActionsClientWithOboToken Creates a new default OperatorActions 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 (*OperatorActionsClient) ConfigurationProvider

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

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

func (OperatorActionsClient) GetOperatorAction

func (client OperatorActionsClient) GetOperatorAction(ctx context.Context, request GetOperatorActionRequest) (response GetOperatorActionResponse, err error)

GetOperatorAction Gets the operator action associated with the specified operator action ID.

See also

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

func (OperatorActionsClient) ListOperatorActions

func (client OperatorActionsClient) ListOperatorActions(ctx context.Context, request ListOperatorActionsRequest) (response ListOperatorActionsResponse, err error)

ListOperatorActions Lists all the OperatorActions available in the system.

See also

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

func (*OperatorActionsClient) SetRegion

func (client *OperatorActionsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type OperatorControl

OperatorControl Operator Access Control enables you to grant, audit, or revoke the access Oracle has to your Exadata Cloud@Customer infrastructure, and obtain audit reports of all actions taken by a human operator, in a near real-time manner.

type OperatorControl struct {

    // The OCID of the operator control.
    Id *string `mandatory:"true" json:"id"`

    // Name of the operator control. The name must be unique.
    OperatorControlName *string `mandatory:"true" json:"operatorControlName"`

    // The OCID of the compartment that contains the operator control.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Description of operator control.
    Description *string `mandatory:"false" json:"description"`

    // List of users who can approve an access request associated with a target resource under the governance of this operator control.
    ApproversList []string `mandatory:"false" json:"approversList"`

    // List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
    ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"`

    // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be
    // automatically approved if the access request only contain operator actions in the pre-approved list.
    PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"`

    // List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit
    // approval. Access requests associated with a resource governed by this operator control will be
    // require explicit approval if the access request contains any operator action in this list.
    ApprovalRequiredOpActionList []string `mandatory:"false" json:"approvalRequiredOpActionList"`

    // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control
    // will be auto-approved.
    IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"`

    // System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
    SystemMessage *string `mandatory:"false" json:"systemMessage"`

    // The current lifecycle state of the operator control.
    LifecycleState OperatorControlLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Time when the operator control was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"`

    // Time when the operator control was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"`

    // Time when deleted expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'.
    // Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests
    // raised on target resources governed by the deleted operator control.
    TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

    // Description associated with the latest modification of the operator control.
    LastModifiedInfo *string `mandatory:"false" json:"lastModifiedInfo"`

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

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

func (OperatorControl) String

func (m OperatorControl) String() string

type OperatorControlAssignment

OperatorControlAssignment An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.

type OperatorControlAssignment struct {

    // The OCID of the operator control assignment.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the operator control.
    OperatorControlId *string `mandatory:"true" json:"operatorControlId"`

    // The OCID of the target resource.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // Name of the target resource.
    ResourceName *string `mandatory:"true" json:"resourceName"`

    // Type of the target resource.
    ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"`

    // The OCID of the compartment that contains the target resource.
    ResourceCompartmentId *string `mandatory:"false" json:"resourceCompartmentId"`

    // The OCID of the comparment that contains the operator control assignment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The time at which the target resource will be brought under the governance of the operator control expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
    // Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"`

    // The time at which the target resource will leave the governance of the operator control expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.
    // Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"`

    // If set, then the target resource is always governed by the operator control.
    IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"`

    // The current lifcycle state of the OperatorControl.
    LifecycleState OperatorControlAssignmentLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The OCID of the user who created this operator control assignment.
    AssignerId *string `mandatory:"false" json:"assignerId"`

    // Time when the operator control assignment is created in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfAssignment *common.SDKTime `mandatory:"false" json:"timeOfAssignment"`

    // Comment about the assignment of the operator control to this target resource.
    Comment *string `mandatory:"false" json:"comment"`

    // User id who released the operatorControl.
    UnassignerId *string `mandatory:"false" json:"unassignerId"`

    // Time on which the operator control assignment was deleted in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

    // description containing reason for releasing of OperatorControl.
    DetachmentDescription *string `mandatory:"false" json:"detachmentDescription"`

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

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

func (OperatorControlAssignment) String

func (m OperatorControlAssignment) String() string

type OperatorControlAssignmentClient

OperatorControlAssignmentClient a client for OperatorControlAssignment

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

func NewOperatorControlAssignmentClientWithConfigurationProvider

func NewOperatorControlAssignmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlAssignmentClient, err error)

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

func NewOperatorControlAssignmentClientWithOboToken

func NewOperatorControlAssignmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlAssignmentClient, err error)

NewOperatorControlAssignmentClientWithOboToken Creates a new default OperatorControlAssignment 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 (OperatorControlAssignmentClient) ChangeOperatorControlAssignmentCompartment

func (client OperatorControlAssignmentClient) ChangeOperatorControlAssignmentCompartment(ctx context.Context, request ChangeOperatorControlAssignmentCompartmentRequest) (response ChangeOperatorControlAssignmentCompartmentResponse, err error)

ChangeOperatorControlAssignmentCompartment Changes the compartment of the specified Operator Control assignment ID.

See also

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

func (*OperatorControlAssignmentClient) ConfigurationProvider

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

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

func (OperatorControlAssignmentClient) CreateOperatorControlAssignment

func (client OperatorControlAssignmentClient) CreateOperatorControlAssignment(ctx context.Context, request CreateOperatorControlAssignmentRequest) (response CreateOperatorControlAssignmentResponse, err error)

CreateOperatorControlAssignment Creates an Operator Control Assignment resource. In effect, this brings the target resource under the governance of the Operator Control for specified time duration.

See also

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

func (OperatorControlAssignmentClient) DeleteOperatorControlAssignment

func (client OperatorControlAssignmentClient) DeleteOperatorControlAssignment(ctx context.Context, request DeleteOperatorControlAssignmentRequest) (response DeleteOperatorControlAssignmentResponse, err error)

DeleteOperatorControlAssignment Deletes the specified Operator Control Assignment. This has the effect of unassigning the specific Operator Control from the target resource.

See also

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

func (OperatorControlAssignmentClient) GetOperatorControlAssignment

func (client OperatorControlAssignmentClient) GetOperatorControlAssignment(ctx context.Context, request GetOperatorControlAssignmentRequest) (response GetOperatorControlAssignmentResponse, err error)

GetOperatorControlAssignment Gets the details of an Operator Control Assignment of the specified ID.

See also

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

func (OperatorControlAssignmentClient) ListOperatorControlAssignments

func (client OperatorControlAssignmentClient) ListOperatorControlAssignments(ctx context.Context, request ListOperatorControlAssignmentsRequest) (response ListOperatorControlAssignmentsResponse, err error)

ListOperatorControlAssignments Lists all Operator Control Assignments.

See also

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

func (*OperatorControlAssignmentClient) SetRegion

func (client *OperatorControlAssignmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OperatorControlAssignmentClient) UpdateOperatorControlAssignment

func (client OperatorControlAssignmentClient) UpdateOperatorControlAssignment(ctx context.Context, request UpdateOperatorControlAssignmentRequest) (response UpdateOperatorControlAssignmentResponse, err error)

UpdateOperatorControlAssignment Modifies the existing Operator Control assignment of the specified Operator Control assignment ID. Modifying the assignment does not change the Operator Control assignment ID.

See also

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

type OperatorControlAssignmentCollection

OperatorControlAssignmentCollection Results of Operator Control assignment search, which contains summary of the assignment.

type OperatorControlAssignmentCollection struct {

    // contains OperatorControlAssignmentSummary
    Items []OperatorControlAssignmentSummary `mandatory:"true" json:"items"`
}

func (OperatorControlAssignmentCollection) String

func (m OperatorControlAssignmentCollection) String() string

type OperatorControlAssignmentLifecycleStatesEnum

OperatorControlAssignmentLifecycleStatesEnum Enum with underlying type: string

type OperatorControlAssignmentLifecycleStatesEnum string

Set of constants representing the allowable values for OperatorControlAssignmentLifecycleStatesEnum

const (
    OperatorControlAssignmentLifecycleStatesCreated     OperatorControlAssignmentLifecycleStatesEnum = "CREATED"
    OperatorControlAssignmentLifecycleStatesApplied     OperatorControlAssignmentLifecycleStatesEnum = "APPLIED"
    OperatorControlAssignmentLifecycleStatesApplyfailed OperatorControlAssignmentLifecycleStatesEnum = "APPLYFAILED"
    OperatorControlAssignmentLifecycleStatesDeleted     OperatorControlAssignmentLifecycleStatesEnum = "DELETED"
)

func GetOperatorControlAssignmentLifecycleStatesEnumValues

func GetOperatorControlAssignmentLifecycleStatesEnumValues() []OperatorControlAssignmentLifecycleStatesEnum

GetOperatorControlAssignmentLifecycleStatesEnumValues Enumerates the set of values for OperatorControlAssignmentLifecycleStatesEnum

type OperatorControlAssignmentSummary

OperatorControlAssignmentSummary Details of the operator control assignment.

type OperatorControlAssignmentSummary struct {

    // The OCID of the operator control assignment.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the operator control.
    OperatorControlId *string `mandatory:"true" json:"operatorControlId"`

    // The OCID of the target resource being governed by the operator control.
    ResourceId *string `mandatory:"true" json:"resourceId"`

    // The OCID of the compartment that contains the operator control assignment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Type of the target resource being governed by the operator control.
    ResourceType *string `mandatory:"false" json:"resourceType"`

    // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"`

    // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"`

    // If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom.
    IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"`

    // Time when the operator control assignment is created in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfAssignment *common.SDKTime `mandatory:"false" json:"timeOfAssignment"`

    // The current lifcycle state of the OperatorControl.
    LifecycleState OperatorControlAssignmentLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

func (OperatorControlAssignmentSummary) String

func (m OperatorControlAssignmentSummary) String() string

type OperatorControlClient

OperatorControlClient a client for OperatorControl

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

func NewOperatorControlClientWithConfigurationProvider

func NewOperatorControlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlClient, err error)

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

func NewOperatorControlClientWithOboToken

func NewOperatorControlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlClient, err error)

NewOperatorControlClientWithOboToken Creates a new default OperatorControl 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 (OperatorControlClient) ChangeOperatorControlCompartment

func (client OperatorControlClient) ChangeOperatorControlCompartment(ctx context.Context, request ChangeOperatorControlCompartmentRequest) (response ChangeOperatorControlCompartmentResponse, err error)

ChangeOperatorControlCompartment Moves the Operator Control resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.

See also

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

func (*OperatorControlClient) ConfigurationProvider

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

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

func (OperatorControlClient) CreateOperatorControl

func (client OperatorControlClient) CreateOperatorControl(ctx context.Context, request CreateOperatorControlRequest) (response CreateOperatorControlResponse, err error)

CreateOperatorControl Creates an Operator Control.

See also

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

func (OperatorControlClient) DeleteOperatorControl

func (client OperatorControlClient) DeleteOperatorControl(ctx context.Context, request DeleteOperatorControlRequest) (response DeleteOperatorControlResponse, err error)

DeleteOperatorControl Deletes an Operator Control. You cannot delete an Operator Control if it is assigned to govern any target resource currently or in the future. In that case, first, delete all of the current and future assignments before deleting the Operator Control. An Operator Control that was previously assigned to a target resource is marked as DELETED following a successful deletion. However, it is not completely deleted from the system. This is to ensure auditing information for the accesses done under the Operator Control is preserved for future needs. The system purges the deleted Operator Control only when all of the audit data associated with the Operator Control are also deleted. Therefore, you cannot reuse the name of the deleted Operator Control until the system purges the Operator Control.

See also

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

func (OperatorControlClient) GetOperatorControl

func (client OperatorControlClient) GetOperatorControl(ctx context.Context, request GetOperatorControlRequest) (response GetOperatorControlResponse, err error)

GetOperatorControl Gets the Operator Control associated with the specified Operator Control ID.

See also

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

func (OperatorControlClient) ListOperatorControls

func (client OperatorControlClient) ListOperatorControls(ctx context.Context, request ListOperatorControlsRequest) (response ListOperatorControlsResponse, err error)

ListOperatorControls Lists the operator controls in the compartment.

See also

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

func (*OperatorControlClient) SetRegion

func (client *OperatorControlClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OperatorControlClient) UpdateOperatorControl

func (client OperatorControlClient) UpdateOperatorControl(ctx context.Context, request UpdateOperatorControlRequest) (response UpdateOperatorControlResponse, err error)

UpdateOperatorControl Modifies the existing OperatorControl for a given operator control id except the operator control id.

See also

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

type OperatorControlCollection

OperatorControlCollection Results of Operator Control search, which contains summary of the operator control.

type OperatorControlCollection struct {

    // contains OperatorControlSummary
    Items []OperatorControlSummary `mandatory:"true" json:"items"`
}

func (OperatorControlCollection) String

func (m OperatorControlCollection) String() string

type OperatorControlLifecycleStatesEnum

OperatorControlLifecycleStatesEnum Enum with underlying type: string

type OperatorControlLifecycleStatesEnum string

Set of constants representing the allowable values for OperatorControlLifecycleStatesEnum

const (
    OperatorControlLifecycleStatesCreated    OperatorControlLifecycleStatesEnum = "CREATED"
    OperatorControlLifecycleStatesAssigned   OperatorControlLifecycleStatesEnum = "ASSIGNED"
    OperatorControlLifecycleStatesUnassigned OperatorControlLifecycleStatesEnum = "UNASSIGNED"
    OperatorControlLifecycleStatesDeleted    OperatorControlLifecycleStatesEnum = "DELETED"
)

func GetOperatorControlLifecycleStatesEnumValues

func GetOperatorControlLifecycleStatesEnumValues() []OperatorControlLifecycleStatesEnum

GetOperatorControlLifecycleStatesEnumValues Enumerates the set of values for OperatorControlLifecycleStatesEnum

type OperatorControlSummary

OperatorControlSummary Summary of the OperatorControl.

type OperatorControlSummary struct {

    // The OCID of the operator control.
    Id *string `mandatory:"true" json:"id"`

    // Name of the operator control.
    OperatorControlName *string `mandatory:"true" json:"operatorControlName"`

    // The OCID of the compartment that contains the operator control.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Whether all operator actions are pre-approved. If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system.
    IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"`

    // Time when the operator control was created, expressed in RFC 3339  (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"`

    // Time when the operator control was last modified, expressed in RFC 3339  (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"`

    // Time when the operator control was deleted, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"`

    // The current lifecycle state of the operator control.
    LifecycleState OperatorControlLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

func (OperatorControlSummary) String

func (m OperatorControlSummary) String() string

type RejectAccessRequestDetails

RejectAccessRequestDetails Summary of why the access request was rejected.

type RejectAccessRequestDetails struct {

    // Comment by the approver explaining why the request is rejected.
    ApproverComment *string `mandatory:"false" json:"approverComment"`
}

func (RejectAccessRequestDetails) String

func (m RejectAccessRequestDetails) String() string

type RejectAccessRequestRequest

RejectAccessRequestRequest wrapper for the RejectAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/RejectAccessRequest.go.html to see an example of how to use RejectAccessRequestRequest.

type RejectAccessRequestRequest struct {

    // unique AccessRequest identifier
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // Details regarding the rejection of an access request created by the operator.
    RejectAccessRequestDetails `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"`

    // 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 (RejectAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RejectAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RejectAccessRequestRequest) RetryPolicy

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

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

func (RejectAccessRequestRequest) String

func (request RejectAccessRequestRequest) String() string

type RejectAccessRequestResponse

RejectAccessRequestResponse wrapper for the RejectAccessRequest operation

type RejectAccessRequestResponse 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 (RejectAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RejectAccessRequestResponse) String

func (response RejectAccessRequestResponse) String() string

type ResourceTypesEnum

ResourceTypesEnum Enum with underlying type: string

type ResourceTypesEnum string

Set of constants representing the allowable values for ResourceTypesEnum

const (
    ResourceTypesExacc ResourceTypesEnum = "EXACC"
)

func GetResourceTypesEnumValues

func GetResourceTypesEnumValues() []ResourceTypesEnum

GetResourceTypesEnumValues Enumerates the set of values for ResourceTypesEnum

type RevokeAccessRequestDetails

RevokeAccessRequestDetails Summary of why the already approved access request was revoked.

type RevokeAccessRequestDetails struct {

    // Comment specified by the approver explaining why the approval is revoked.
    ApproverComment *string `mandatory:"false" json:"approverComment"`
}

func (RevokeAccessRequestDetails) String

func (m RevokeAccessRequestDetails) String() string

type RevokeAccessRequestRequest

RevokeAccessRequestRequest wrapper for the RevokeAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/RevokeAccessRequest.go.html to see an example of how to use RevokeAccessRequestRequest.

type RevokeAccessRequestRequest struct {

    // unique AccessRequest identifier
    AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

    // Details regarding the revocation of an access request created by the operator.
    RevokeAccessRequestDetails `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"`

    // 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 (RevokeAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RevokeAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RevokeAccessRequestRequest) RetryPolicy

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

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

func (RevokeAccessRequestRequest) String

func (request RevokeAccessRequestRequest) String() string

type RevokeAccessRequestResponse

RevokeAccessRequestResponse wrapper for the RevokeAccessRequest operation

type RevokeAccessRequestResponse 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 (RevokeAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RevokeAccessRequestResponse) String

func (response RevokeAccessRequestResponse) String() string

type SortOrdersEnum

SortOrdersEnum Enum with underlying type: string

type SortOrdersEnum string

Set of constants representing the allowable values for SortOrdersEnum

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

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type UpdateOperatorControlAssignmentDetails

UpdateOperatorControlAssignmentDetails Details for modifying the Operator Control assignment.

type UpdateOperatorControlAssignmentDetails struct {

    // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"`

    // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z'
    TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"`

    // If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom.
    IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"`

    // Comment about the modification of the operator control assignment.
    Comment *string `mandatory:"false" json:"comment"`

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

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

func (UpdateOperatorControlAssignmentDetails) String

func (m UpdateOperatorControlAssignmentDetails) String() string

type UpdateOperatorControlAssignmentRequest

UpdateOperatorControlAssignmentRequest wrapper for the UpdateOperatorControlAssignment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/UpdateOperatorControlAssignment.go.html to see an example of how to use UpdateOperatorControlAssignmentRequest.

type UpdateOperatorControlAssignmentRequest struct {

    // unique OperatorControl identifier
    OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"`

    // Details for the new operator control assignment.
    UpdateOperatorControlAssignmentDetails `contributesTo:"body"`

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

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

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

func (UpdateOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOperatorControlAssignmentRequest) RetryPolicy

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

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

func (UpdateOperatorControlAssignmentRequest) String

func (request UpdateOperatorControlAssignmentRequest) String() string

type UpdateOperatorControlAssignmentResponse

UpdateOperatorControlAssignmentResponse wrapper for the UpdateOperatorControlAssignment operation

type UpdateOperatorControlAssignmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OperatorControlAssignment instance
    OperatorControlAssignment `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 (UpdateOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOperatorControlAssignmentResponse) String

func (response UpdateOperatorControlAssignmentResponse) String() string

type UpdateOperatorControlDetails

UpdateOperatorControlDetails Information about the new operator control.

type UpdateOperatorControlDetails struct {

    // Name of the operator control.
    OperatorControlName *string `mandatory:"false" json:"operatorControlName"`

    // Description of the operator control.
    Description *string `mandatory:"false" json:"description"`

    // List of users who can approve an access request associated with a target resource under the governance of this operator control.
    ApproversList []string `mandatory:"false" json:"approversList"`

    // List of user groups who can approve an access request associated with a target resource under the governance of this operator control.
    ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"`

    // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be
    // automatically approved if the access request only contain operator actions in the pre-approved list.
    PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"`

    // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control
    // will be auto-approved.
    IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"`

    // List of emailId.
    EmailIdList []string `mandatory:"false" json:"emailIdList"`

    // System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control.
    SystemMessage *string `mandatory:"false" json:"systemMessage"`

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

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

func (UpdateOperatorControlDetails) String

func (m UpdateOperatorControlDetails) String() string

type UpdateOperatorControlRequest

UpdateOperatorControlRequest wrapper for the UpdateOperatorControl operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/operatoraccesscontrol/UpdateOperatorControl.go.html to see an example of how to use UpdateOperatorControlRequest.

type UpdateOperatorControlRequest struct {

    // unique OperatorControl identifier
    OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"`

    // Details for the new OperatorControl.
    UpdateOperatorControlDetails `contributesTo:"body"`

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

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

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

func (UpdateOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOperatorControlRequest) RetryPolicy

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

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

func (UpdateOperatorControlRequest) String

func (request UpdateOperatorControlRequest) String() string

type UpdateOperatorControlResponse

UpdateOperatorControlResponse wrapper for the UpdateOperatorControl operation

type UpdateOperatorControlResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OperatorControl instance
    OperatorControl `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 (UpdateOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOperatorControlResponse) String

func (response UpdateOperatorControlResponse) String() string