Documentation
¶
Index ¶
- func GetAccessRequestLifecycleStatesEnumStringValues() []string
- func GetAccessRequestSeveritiesEnumStringValues() []string
- func GetInfrastrcutureLayersEnumStringValues() []string
- func GetListAccessRequestsLifecycleStateEnumStringValues() []string
- func GetListAccessRequestsSortByEnumStringValues() []string
- func GetListAccessRequestsSortOrderEnumStringValues() []string
- func GetListOperatorActionsLifecycleStateEnumStringValues() []string
- func GetListOperatorActionsSortByEnumStringValues() []string
- func GetListOperatorActionsSortOrderEnumStringValues() []string
- func GetListOperatorControlAssignmentsLifecycleStateEnumStringValues() []string
- func GetListOperatorControlAssignmentsSortByEnumStringValues() []string
- func GetListOperatorControlAssignmentsSortOrderEnumStringValues() []string
- func GetListOperatorControlsLifecycleStateEnumStringValues() []string
- func GetListOperatorControlsSortByEnumStringValues() []string
- func GetListOperatorControlsSortOrderEnumStringValues() []string
- func GetOperatorActionCategoriesEnumStringValues() []string
- func GetOperatorActionLifecycleStatesEnumStringValues() []string
- func GetOperatorControlAssignmentLifecycleStatesEnumStringValues() []string
- func GetOperatorControlLifecycleStatesEnumStringValues() []string
- func GetResourceTypesEnumStringValues() []string
- func GetSortOrdersEnumStringValues() []string
- type AccessRequest
- type AccessRequestCollection
- type AccessRequestHistoryCollection
- type AccessRequestHistorySummary
- type AccessRequestLifecycleStatesEnum
- type AccessRequestSeveritiesEnum
- type AccessRequestSummary
- type AccessRequestsClient
- 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) InteractionRequest(ctx context.Context, request InteractionRequestRequest) (response InteractionRequestResponse, 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) ListInteractions(ctx context.Context, request ListInteractionsRequest) (response ListInteractionsResponse, err error)
- func (client AccessRequestsClient) RejectAccessRequest(ctx context.Context, request RejectAccessRequestRequest) (response RejectAccessRequestResponse, err error)
- func (client AccessRequestsClient) ReviewAccessRequest(ctx context.Context, request ReviewAccessRequestRequest) (response ReviewAccessRequestResponse, err error)
- func (client AccessRequestsClient) RevokeAccessRequest(ctx context.Context, request RevokeAccessRequestRequest) (response RevokeAccessRequestResponse, err error)
- func (client *AccessRequestsClient) SetRegion(region string)
- type ApproveAccessRequestDetails
- type ApproveAccessRequestRequest
- func (request ApproveAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ApproveAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ApproveAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request ApproveAccessRequestRequest) String() string
- func (request ApproveAccessRequestRequest) ValidateEnumValue() (bool, error)
- type ApproveAccessRequestResponse
- type ChangeOperatorControlAssignmentCompartmentDetails
- type ChangeOperatorControlAssignmentCompartmentRequest
- func (request ChangeOperatorControlAssignmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeOperatorControlAssignmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeOperatorControlAssignmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeOperatorControlAssignmentCompartmentRequest) String() string
- func (request ChangeOperatorControlAssignmentCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeOperatorControlAssignmentCompartmentResponse
- type ChangeOperatorControlCompartmentDetails
- type ChangeOperatorControlCompartmentRequest
- func (request ChangeOperatorControlCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeOperatorControlCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeOperatorControlCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeOperatorControlCompartmentRequest) String() string
- func (request ChangeOperatorControlCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeOperatorControlCompartmentResponse
- type CreateOperatorControlAssignmentDetails
- type CreateOperatorControlAssignmentRequest
- func (request CreateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateOperatorControlAssignmentRequest) String() string
- func (request CreateOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
- type CreateOperatorControlAssignmentResponse
- type CreateOperatorControlDetails
- type CreateOperatorControlRequest
- func (request CreateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateOperatorControlRequest) String() string
- func (request CreateOperatorControlRequest) ValidateEnumValue() (bool, error)
- type CreateOperatorControlResponse
- type DeleteOperatorControlAssignmentRequest
- func (request DeleteOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteOperatorControlAssignmentRequest) String() string
- func (request DeleteOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
- type DeleteOperatorControlAssignmentResponse
- type DeleteOperatorControlRequest
- func (request DeleteOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteOperatorControlRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteOperatorControlRequest) String() string
- func (request DeleteOperatorControlRequest) ValidateEnumValue() (bool, error)
- type DeleteOperatorControlResponse
- type GetAccessRequestRequest
- func (request GetAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetAccessRequestRequest) String() string
- func (request GetAccessRequestRequest) ValidateEnumValue() (bool, error)
- type GetAccessRequestResponse
- type GetOperatorActionRequest
- func (request GetOperatorActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetOperatorActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetOperatorActionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetOperatorActionRequest) String() string
- func (request GetOperatorActionRequest) ValidateEnumValue() (bool, error)
- type GetOperatorActionResponse
- type GetOperatorControlAssignmentRequest
- func (request GetOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
- func (request GetOperatorControlAssignmentRequest) String() string
- func (request GetOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
- type GetOperatorControlAssignmentResponse
- type GetOperatorControlRequest
- func (request GetOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetOperatorControlRequest) RetryPolicy() *common.RetryPolicy
- func (request GetOperatorControlRequest) String() string
- func (request GetOperatorControlRequest) ValidateEnumValue() (bool, error)
- type GetOperatorControlResponse
- type InfrastrcutureLayersEnum
- type InteractionCollection
- type InteractionRequestDetails
- type InteractionRequestRequest
- func (request InteractionRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request InteractionRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request InteractionRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request InteractionRequestRequest) String() string
- func (request InteractionRequestRequest) ValidateEnumValue() (bool, error)
- type InteractionRequestResponse
- type InteractionSummary
- type ListAccessRequestHistoriesRequest
- func (request ListAccessRequestHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAccessRequestHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAccessRequestHistoriesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAccessRequestHistoriesRequest) String() string
- func (request ListAccessRequestHistoriesRequest) ValidateEnumValue() (bool, error)
- type ListAccessRequestHistoriesResponse
- type ListAccessRequestsLifecycleStateEnum
- type ListAccessRequestsRequest
- func (request ListAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListAccessRequestsRequest) String() string
- func (request ListAccessRequestsRequest) ValidateEnumValue() (bool, error)
- type ListAccessRequestsResponse
- type ListAccessRequestsSortByEnum
- type ListAccessRequestsSortOrderEnum
- type ListInteractionsRequest
- func (request ListInteractionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListInteractionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListInteractionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListInteractionsRequest) String() string
- func (request ListInteractionsRequest) ValidateEnumValue() (bool, error)
- type ListInteractionsResponse
- type ListOperatorActionsLifecycleStateEnum
- type ListOperatorActionsRequest
- func (request ListOperatorActionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListOperatorActionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListOperatorActionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListOperatorActionsRequest) String() string
- func (request ListOperatorActionsRequest) ValidateEnumValue() (bool, error)
- type ListOperatorActionsResponse
- type ListOperatorActionsSortByEnum
- type ListOperatorActionsSortOrderEnum
- type ListOperatorControlAssignmentsLifecycleStateEnum
- type ListOperatorControlAssignmentsRequest
- func (request ListOperatorControlAssignmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListOperatorControlAssignmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListOperatorControlAssignmentsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListOperatorControlAssignmentsRequest) String() string
- func (request ListOperatorControlAssignmentsRequest) ValidateEnumValue() (bool, error)
- type ListOperatorControlAssignmentsResponse
- type ListOperatorControlAssignmentsSortByEnum
- type ListOperatorControlAssignmentsSortOrderEnum
- type ListOperatorControlsLifecycleStateEnum
- type ListOperatorControlsRequest
- func (request ListOperatorControlsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListOperatorControlsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListOperatorControlsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListOperatorControlsRequest) String() string
- func (request ListOperatorControlsRequest) ValidateEnumValue() (bool, error)
- type ListOperatorControlsResponse
- type ListOperatorControlsSortByEnum
- type ListOperatorControlsSortOrderEnum
- type OperatorAction
- type OperatorActionCategoriesEnum
- type OperatorActionCollection
- type OperatorActionLifecycleStatesEnum
- type OperatorActionProperties
- type OperatorActionSummary
- type OperatorActionsClient
- 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
- type OperatorControlAssignment
- 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
- type OperatorControlAssignmentLifecycleStatesEnum
- type OperatorControlAssignmentSummary
- type OperatorControlClient
- 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
- type OperatorControlLifecycleStatesEnum
- type OperatorControlSummary
- type RejectAccessRequestDetails
- type RejectAccessRequestRequest
- func (request RejectAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RejectAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RejectAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request RejectAccessRequestRequest) String() string
- func (request RejectAccessRequestRequest) ValidateEnumValue() (bool, error)
- type RejectAccessRequestResponse
- type ResourceTypesEnum
- type ReviewAccessRequestDetails
- type ReviewAccessRequestRequest
- func (request ReviewAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ReviewAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ReviewAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request ReviewAccessRequestRequest) String() string
- func (request ReviewAccessRequestRequest) ValidateEnumValue() (bool, error)
- type ReviewAccessRequestResponse
- type RevokeAccessRequestDetails
- type RevokeAccessRequestRequest
- func (request RevokeAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RevokeAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RevokeAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request RevokeAccessRequestRequest) String() string
- func (request RevokeAccessRequestRequest) ValidateEnumValue() (bool, error)
- type RevokeAccessRequestResponse
- type SortOrdersEnum
- type UpdateOperatorControlAssignmentDetails
- type UpdateOperatorControlAssignmentRequest
- func (request UpdateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateOperatorControlAssignmentRequest) String() string
- func (request UpdateOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
- type UpdateOperatorControlAssignmentResponse
- type UpdateOperatorControlDetails
- type UpdateOperatorControlRequest
- func (request UpdateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateOperatorControlRequest) String() string
- func (request UpdateOperatorControlRequest) ValidateEnumValue() (bool, error)
- type UpdateOperatorControlResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccessRequestLifecycleStatesEnumStringValues ¶
func GetAccessRequestLifecycleStatesEnumStringValues() []string
GetAccessRequestLifecycleStatesEnumStringValues Enumerates the set of values in String for AccessRequestLifecycleStatesEnum
func GetAccessRequestSeveritiesEnumStringValues ¶
func GetAccessRequestSeveritiesEnumStringValues() []string
GetAccessRequestSeveritiesEnumStringValues Enumerates the set of values in String for AccessRequestSeveritiesEnum
func GetInfrastrcutureLayersEnumStringValues ¶
func GetInfrastrcutureLayersEnumStringValues() []string
GetInfrastrcutureLayersEnumStringValues Enumerates the set of values in String for InfrastrcutureLayersEnum
func GetListAccessRequestsLifecycleStateEnumStringValues ¶
func GetListAccessRequestsLifecycleStateEnumStringValues() []string
GetListAccessRequestsLifecycleStateEnumStringValues Enumerates the set of values in String for ListAccessRequestsLifecycleStateEnum
func GetListAccessRequestsSortByEnumStringValues ¶
func GetListAccessRequestsSortByEnumStringValues() []string
GetListAccessRequestsSortByEnumStringValues Enumerates the set of values in String for ListAccessRequestsSortByEnum
func GetListAccessRequestsSortOrderEnumStringValues ¶
func GetListAccessRequestsSortOrderEnumStringValues() []string
GetListAccessRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListAccessRequestsSortOrderEnum
func GetListOperatorActionsLifecycleStateEnumStringValues ¶
func GetListOperatorActionsLifecycleStateEnumStringValues() []string
GetListOperatorActionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListOperatorActionsLifecycleStateEnum
func GetListOperatorActionsSortByEnumStringValues ¶
func GetListOperatorActionsSortByEnumStringValues() []string
GetListOperatorActionsSortByEnumStringValues Enumerates the set of values in String for ListOperatorActionsSortByEnum
func GetListOperatorActionsSortOrderEnumStringValues ¶
func GetListOperatorActionsSortOrderEnumStringValues() []string
GetListOperatorActionsSortOrderEnumStringValues Enumerates the set of values in String for ListOperatorActionsSortOrderEnum
func GetListOperatorControlAssignmentsLifecycleStateEnumStringValues ¶
func GetListOperatorControlAssignmentsLifecycleStateEnumStringValues() []string
GetListOperatorControlAssignmentsLifecycleStateEnumStringValues Enumerates the set of values in String for ListOperatorControlAssignmentsLifecycleStateEnum
func GetListOperatorControlAssignmentsSortByEnumStringValues ¶
func GetListOperatorControlAssignmentsSortByEnumStringValues() []string
GetListOperatorControlAssignmentsSortByEnumStringValues Enumerates the set of values in String for ListOperatorControlAssignmentsSortByEnum
func GetListOperatorControlAssignmentsSortOrderEnumStringValues ¶
func GetListOperatorControlAssignmentsSortOrderEnumStringValues() []string
GetListOperatorControlAssignmentsSortOrderEnumStringValues Enumerates the set of values in String for ListOperatorControlAssignmentsSortOrderEnum
func GetListOperatorControlsLifecycleStateEnumStringValues ¶
func GetListOperatorControlsLifecycleStateEnumStringValues() []string
GetListOperatorControlsLifecycleStateEnumStringValues Enumerates the set of values in String for ListOperatorControlsLifecycleStateEnum
func GetListOperatorControlsSortByEnumStringValues ¶
func GetListOperatorControlsSortByEnumStringValues() []string
GetListOperatorControlsSortByEnumStringValues Enumerates the set of values in String for ListOperatorControlsSortByEnum
func GetListOperatorControlsSortOrderEnumStringValues ¶
func GetListOperatorControlsSortOrderEnumStringValues() []string
GetListOperatorControlsSortOrderEnumStringValues Enumerates the set of values in String for ListOperatorControlsSortOrderEnum
func GetOperatorActionCategoriesEnumStringValues ¶
func GetOperatorActionCategoriesEnumStringValues() []string
GetOperatorActionCategoriesEnumStringValues Enumerates the set of values in String for OperatorActionCategoriesEnum
func GetOperatorActionLifecycleStatesEnumStringValues ¶
func GetOperatorActionLifecycleStatesEnumStringValues() []string
GetOperatorActionLifecycleStatesEnumStringValues Enumerates the set of values in String for OperatorActionLifecycleStatesEnum
func GetOperatorControlAssignmentLifecycleStatesEnumStringValues ¶
func GetOperatorControlAssignmentLifecycleStatesEnumStringValues() []string
GetOperatorControlAssignmentLifecycleStatesEnumStringValues Enumerates the set of values in String for OperatorControlAssignmentLifecycleStatesEnum
func GetOperatorControlLifecycleStatesEnumStringValues ¶
func GetOperatorControlLifecycleStatesEnumStringValues() []string
GetOperatorControlLifecycleStatesEnumStringValues Enumerates the set of values in String for OperatorControlLifecycleStatesEnum
func GetResourceTypesEnumStringValues ¶
func GetResourceTypesEnumStringValues() []string
GetResourceTypesEnumStringValues Enumerates the set of values in String for ResourceTypesEnum
func GetSortOrdersEnumStringValues ¶
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
Types ¶
type AccessRequest ¶
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"` // resourceType for which the AccessRequest is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // 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 time when access request is scheduled to be approved in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfUserCreation *common.SDKTime `mandatory:"false" json:"timeOfUserCreation"` // 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"` }
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.
func (AccessRequest) String ¶
func (m AccessRequest) String() string
func (AccessRequest) ValidateEnumValue ¶
func (m AccessRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AccessRequestCollection ¶
type AccessRequestCollection struct { // contains AccessRequestSummary Items []AccessRequestSummary `mandatory:"true" json:"items"` }
AccessRequestCollection Results of access request search, which contains summary of access request.
func (AccessRequestCollection) String ¶
func (m AccessRequestCollection) String() string
func (AccessRequestCollection) ValidateEnumValue ¶
func (m AccessRequestCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AccessRequestHistoryCollection ¶
type AccessRequestHistoryCollection struct { // contains AccessRequestHistorySummary Items []AccessRequestHistorySummary `mandatory:"true" json:"items"` }
AccessRequestHistoryCollection Results of access request history search, which contains summary of the access request.
func (AccessRequestHistoryCollection) String ¶
func (m AccessRequestHistoryCollection) String() string
func (AccessRequestHistoryCollection) ValidateEnumValue ¶
func (m AccessRequestHistoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AccessRequestHistorySummary ¶
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"` }
AccessRequestHistorySummary Summary of access request status.
func (AccessRequestHistorySummary) String ¶
func (m AccessRequestHistorySummary) String() string
func (AccessRequestHistorySummary) ValidateEnumValue ¶
func (m AccessRequestHistorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AccessRequestLifecycleStatesEnum ¶
type AccessRequestLifecycleStatesEnum string
AccessRequestLifecycleStatesEnum Enum with underlying type: string
const ( AccessRequestLifecycleStatesCreated AccessRequestLifecycleStatesEnum = "CREATED" AccessRequestLifecycleStatesApprovalwaiting AccessRequestLifecycleStatesEnum = "APPROVALWAITING" AccessRequestLifecycleStatesPreapproved AccessRequestLifecycleStatesEnum = "PREAPPROVED" AccessRequestLifecycleStatesApproved AccessRequestLifecycleStatesEnum = "APPROVED" AccessRequestLifecycleStatesMoreinfo AccessRequestLifecycleStatesEnum = "MOREINFO" 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" AccessRequestLifecycleStatesApprovedforfuture AccessRequestLifecycleStatesEnum = "APPROVEDFORFUTURE" AccessRequestLifecycleStatesInreview AccessRequestLifecycleStatesEnum = "INREVIEW" )
Set of constants representing the allowable values for AccessRequestLifecycleStatesEnum
func GetAccessRequestLifecycleStatesEnumValues ¶
func GetAccessRequestLifecycleStatesEnumValues() []AccessRequestLifecycleStatesEnum
GetAccessRequestLifecycleStatesEnumValues Enumerates the set of values for AccessRequestLifecycleStatesEnum
func GetMappingAccessRequestLifecycleStatesEnum ¶
func GetMappingAccessRequestLifecycleStatesEnum(val string) (AccessRequestLifecycleStatesEnum, bool)
GetMappingAccessRequestLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
type AccessRequestSeveritiesEnum ¶
type AccessRequestSeveritiesEnum string
AccessRequestSeveritiesEnum Enum with underlying type: string
const ( AccessRequestSeveritiesS1 AccessRequestSeveritiesEnum = "S1" AccessRequestSeveritiesS2 AccessRequestSeveritiesEnum = "S2" AccessRequestSeveritiesS3 AccessRequestSeveritiesEnum = "S3" AccessRequestSeveritiesS4 AccessRequestSeveritiesEnum = "S4" )
Set of constants representing the allowable values for AccessRequestSeveritiesEnum
func GetAccessRequestSeveritiesEnumValues ¶
func GetAccessRequestSeveritiesEnumValues() []AccessRequestSeveritiesEnum
GetAccessRequestSeveritiesEnumValues Enumerates the set of values for AccessRequestSeveritiesEnum
func GetMappingAccessRequestSeveritiesEnum ¶
func GetMappingAccessRequestSeveritiesEnum(val string) (AccessRequestSeveritiesEnum, bool)
GetMappingAccessRequestSeveritiesEnum performs case Insensitive comparison on enum value and return the desired enum
type AccessRequestSummary ¶
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"` // resourceType for which the AccessRequest is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // 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"` // The time when access request is scheduled to be approved in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfUserCreation *common.SDKTime `mandatory:"false" json:"timeOfUserCreation"` // 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"` }
AccessRequestSummary Summary of access request.
func (AccessRequestSummary) String ¶
func (m AccessRequestSummary) String() string
func (AccessRequestSummary) ValidateEnumValue ¶
func (m AccessRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type AccessRequestsClient ¶
type AccessRequestsClient struct { common.BaseClient // contains filtered or unexported fields }
AccessRequestsClient a client for AccessRequests
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/latest/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/latest/operatoraccesscontrol/GetAccessRequest.go.html to see an example of how to use GetAccessRequest API.
func (AccessRequestsClient) InteractionRequest ¶ added in v65.6.0
func (client AccessRequestsClient) InteractionRequest(ctx context.Context, request InteractionRequestRequest) (response InteractionRequestResponse, err error)
InteractionRequest Posts query for additional information for the given access request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/InteractionRequest.go.html to see an example of how to use InteractionRequest 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/latest/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/latest/operatoraccesscontrol/ListAccessRequests.go.html to see an example of how to use ListAccessRequests API.
func (AccessRequestsClient) ListInteractions ¶ added in v65.6.0
func (client AccessRequestsClient) ListInteractions(ctx context.Context, request ListInteractionsRequest) (response ListInteractionsResponse, err error)
ListInteractions Lists the MoreInformation interaction between customer and operators.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListInteractions.go.html to see an example of how to use ListInteractions 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/latest/operatoraccesscontrol/RejectAccessRequest.go.html to see an example of how to use RejectAccessRequest API.
func (AccessRequestsClient) ReviewAccessRequest ¶
func (client AccessRequestsClient) ReviewAccessRequest(ctx context.Context, request ReviewAccessRequestRequest) (response ReviewAccessRequestResponse, err error)
ReviewAccessRequest Reviews the access request.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ReviewAccessRequest.go.html to see an example of how to use ReviewAccessRequest 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/latest/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 ¶
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"` // The time when access request is scheduled to be approved in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfUserCreation *common.SDKTime `mandatory:"false" json:"timeOfUserCreation"` }
ApproveAccessRequestDetails Details of the access request approval.
func (ApproveAccessRequestDetails) String ¶
func (m ApproveAccessRequestDetails) String() string
func (ApproveAccessRequestDetails) ValidateEnumValue ¶
func (m ApproveAccessRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
ApproveAccessRequestRequest wrapper for the ApproveAccessRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ApproveAccessRequest.go.html to see an example of how to use ApproveAccessRequestRequest.
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
func (ApproveAccessRequestRequest) ValidateEnumValue ¶
func (request ApproveAccessRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ApproveAccessRequestResponse ¶
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"` }
ApproveAccessRequestResponse wrapper for the ApproveAccessRequest operation
func (ApproveAccessRequestResponse) HTTPResponse ¶
func (response ApproveAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ApproveAccessRequestResponse) String ¶
func (response ApproveAccessRequestResponse) String() string
type ChangeOperatorControlAssignmentCompartmentDetails ¶
type ChangeOperatorControlAssignmentCompartmentDetails struct { // The OCID of the new compartment to contain the operator contol assignment. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
ChangeOperatorControlAssignmentCompartmentDetails Details of the new compartment to contain the operator control assignment.
func (ChangeOperatorControlAssignmentCompartmentDetails) String ¶
func (m ChangeOperatorControlAssignmentCompartmentDetails) String() string
func (ChangeOperatorControlAssignmentCompartmentDetails) ValidateEnumValue ¶
func (m ChangeOperatorControlAssignmentCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
ChangeOperatorControlAssignmentCompartmentRequest wrapper for the ChangeOperatorControlAssignmentCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.go.html to see an example of how to use ChangeOperatorControlAssignmentCompartmentRequest.
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
func (ChangeOperatorControlAssignmentCompartmentRequest) ValidateEnumValue ¶
func (request ChangeOperatorControlAssignmentCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeOperatorControlAssignmentCompartmentResponse ¶
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"` }
ChangeOperatorControlAssignmentCompartmentResponse wrapper for the ChangeOperatorControlAssignmentCompartment operation
func (ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse ¶
func (response ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeOperatorControlAssignmentCompartmentResponse) String ¶
func (response ChangeOperatorControlAssignmentCompartmentResponse) String() string
type ChangeOperatorControlCompartmentDetails ¶
type ChangeOperatorControlCompartmentDetails struct { // The OCID of the new compartment to contain the operator contol. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
ChangeOperatorControlCompartmentDetails Details of the new compartment to contain the operator control.
func (ChangeOperatorControlCompartmentDetails) String ¶
func (m ChangeOperatorControlCompartmentDetails) String() string
func (ChangeOperatorControlCompartmentDetails) ValidateEnumValue ¶
func (m ChangeOperatorControlCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
ChangeOperatorControlCompartmentRequest wrapper for the ChangeOperatorControlCompartment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ChangeOperatorControlCompartment.go.html to see an example of how to use ChangeOperatorControlCompartmentRequest.
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
func (ChangeOperatorControlCompartmentRequest) ValidateEnumValue ¶
func (request ChangeOperatorControlCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ChangeOperatorControlCompartmentResponse ¶
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"` }
ChangeOperatorControlCompartmentResponse wrapper for the ChangeOperatorControlCompartment operation
func (ChangeOperatorControlCompartmentResponse) HTTPResponse ¶
func (response ChangeOperatorControlCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeOperatorControlCompartmentResponse) String ¶
func (response ChangeOperatorControlCompartmentResponse) String() string
type CreateOperatorControlAssignmentDetails ¶
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"` // Type of the target resource. ResourceType ResourceTypesEnum `mandatory:"true" json:"resourceType"` // 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"` // If set, then the target resource is always governed by the operator control. IsEnforcedAlways *bool `mandatory:"true" json:"isEnforcedAlways"` // 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"` // Comment about the assignment of the operator control to this target resource. Comment *string `mandatory:"false" json:"comment"` // If set, then the audit logs will be forwarded to the relevant remote logging server IsLogForwarded *bool `mandatory:"false" json:"isLogForwarded"` // The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format. RemoteSyslogServerAddress *string `mandatory:"false" json:"remoteSyslogServerAddress"` // The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported. RemoteSyslogServerPort *int `mandatory:"false" json:"remoteSyslogServerPort"` // The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate. RemoteSyslogServerCACert *string `mandatory:"false" json:"remoteSyslogServerCACert"` // The boolean if true would autoApprove during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // 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"` }
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.
func (CreateOperatorControlAssignmentDetails) String ¶
func (m CreateOperatorControlAssignmentDetails) String() string
func (CreateOperatorControlAssignmentDetails) ValidateEnumValue ¶
func (m CreateOperatorControlAssignmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
CreateOperatorControlAssignmentRequest wrapper for the CreateOperatorControlAssignment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/CreateOperatorControlAssignment.go.html to see an example of how to use CreateOperatorControlAssignmentRequest.
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
func (CreateOperatorControlAssignmentRequest) ValidateEnumValue ¶
func (request CreateOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateOperatorControlAssignmentResponse ¶
type CreateOperatorControlAssignmentResponse 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 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"` }
CreateOperatorControlAssignmentResponse wrapper for the CreateOperatorControlAssignment operation
func (CreateOperatorControlAssignmentResponse) HTTPResponse ¶
func (response CreateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateOperatorControlAssignmentResponse) String ¶
func (response CreateOperatorControlAssignmentResponse) String() string
type CreateOperatorControlDetails ¶
type CreateOperatorControlDetails struct { // Name of the operator control. OperatorControlName *string `mandatory:"true" json:"operatorControlName"` // List of user groups who can approve an access request associated with a resource governed by this operator control. ApproverGroupsList []string `mandatory:"true" json:"approverGroupsList"` // 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:"true" json:"isFullyPreApproved"` // resourceType for which the OperatorControl is applicable ResourceType ResourceTypesEnum `mandatory:"true" json:"resourceType"` // 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 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"` // 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"` }
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.
func (CreateOperatorControlDetails) String ¶
func (m CreateOperatorControlDetails) String() string
func (CreateOperatorControlDetails) ValidateEnumValue ¶
func (m CreateOperatorControlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
CreateOperatorControlRequest wrapper for the CreateOperatorControl operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/CreateOperatorControl.go.html to see an example of how to use CreateOperatorControlRequest.
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
func (CreateOperatorControlRequest) ValidateEnumValue ¶
func (request CreateOperatorControlRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type CreateOperatorControlResponse ¶
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"` }
CreateOperatorControlResponse wrapper for the CreateOperatorControl operation
func (CreateOperatorControlResponse) HTTPResponse ¶
func (response CreateOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateOperatorControlResponse) String ¶
func (response CreateOperatorControlResponse) String() string
type 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 }
DeleteOperatorControlAssignmentRequest wrapper for the DeleteOperatorControlAssignment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/DeleteOperatorControlAssignment.go.html to see an example of how to use DeleteOperatorControlAssignmentRequest.
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
func (DeleteOperatorControlAssignmentRequest) ValidateEnumValue ¶
func (request DeleteOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteOperatorControlAssignmentResponse ¶
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"` }
DeleteOperatorControlAssignmentResponse wrapper for the DeleteOperatorControlAssignment operation
func (DeleteOperatorControlAssignmentResponse) HTTPResponse ¶
func (response DeleteOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteOperatorControlAssignmentResponse) String ¶
func (response DeleteOperatorControlAssignmentResponse) String() string
type 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 }
DeleteOperatorControlRequest wrapper for the DeleteOperatorControl operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/DeleteOperatorControl.go.html to see an example of how to use DeleteOperatorControlRequest.
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
func (DeleteOperatorControlRequest) ValidateEnumValue ¶
func (request DeleteOperatorControlRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type DeleteOperatorControlResponse ¶
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"` }
DeleteOperatorControlResponse wrapper for the DeleteOperatorControl operation
func (DeleteOperatorControlResponse) HTTPResponse ¶
func (response DeleteOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteOperatorControlResponse) String ¶
func (response DeleteOperatorControlResponse) String() string
type 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 }
GetAccessRequestRequest wrapper for the GetAccessRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/GetAccessRequest.go.html to see an example of how to use GetAccessRequestRequest.
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
func (GetAccessRequestRequest) ValidateEnumValue ¶
func (request GetAccessRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetAccessRequestResponse ¶
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"` }
GetAccessRequestResponse wrapper for the GetAccessRequest operation
func (GetAccessRequestResponse) HTTPResponse ¶
func (response GetAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAccessRequestResponse) String ¶
func (response GetAccessRequestResponse) String() string
type 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 }
GetOperatorActionRequest wrapper for the GetOperatorAction operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/GetOperatorAction.go.html to see an example of how to use GetOperatorActionRequest.
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
func (GetOperatorActionRequest) ValidateEnumValue ¶
func (request GetOperatorActionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetOperatorActionResponse ¶
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"` }
GetOperatorActionResponse wrapper for the GetOperatorAction operation
func (GetOperatorActionResponse) HTTPResponse ¶
func (response GetOperatorActionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetOperatorActionResponse) String ¶
func (response GetOperatorActionResponse) String() string
type 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 }
GetOperatorControlAssignmentRequest wrapper for the GetOperatorControlAssignment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/GetOperatorControlAssignment.go.html to see an example of how to use GetOperatorControlAssignmentRequest.
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
func (GetOperatorControlAssignmentRequest) ValidateEnumValue ¶
func (request GetOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetOperatorControlAssignmentResponse ¶
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"` }
GetOperatorControlAssignmentResponse wrapper for the GetOperatorControlAssignment operation
func (GetOperatorControlAssignmentResponse) HTTPResponse ¶
func (response GetOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetOperatorControlAssignmentResponse) String ¶
func (response GetOperatorControlAssignmentResponse) String() string
type 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 }
GetOperatorControlRequest wrapper for the GetOperatorControl operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/GetOperatorControl.go.html to see an example of how to use GetOperatorControlRequest.
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
func (GetOperatorControlRequest) ValidateEnumValue ¶
func (request GetOperatorControlRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetOperatorControlResponse ¶
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"` }
GetOperatorControlResponse wrapper for the GetOperatorControl operation
func (GetOperatorControlResponse) HTTPResponse ¶
func (response GetOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetOperatorControlResponse) String ¶
func (response GetOperatorControlResponse) String() string
type InfrastrcutureLayersEnum ¶
type InfrastrcutureLayersEnum string
InfrastrcutureLayersEnum Enum with underlying type: string
const ( InfrastrcutureLayersDom0 InfrastrcutureLayersEnum = "DOM0" InfrastrcutureLayersCellserver InfrastrcutureLayersEnum = "CELLSERVER" InfrastrcutureLayersCps InfrastrcutureLayersEnum = "CPS" )
Set of constants representing the allowable values for InfrastrcutureLayersEnum
func GetInfrastrcutureLayersEnumValues ¶
func GetInfrastrcutureLayersEnumValues() []InfrastrcutureLayersEnum
GetInfrastrcutureLayersEnumValues Enumerates the set of values for InfrastrcutureLayersEnum
func GetMappingInfrastrcutureLayersEnum ¶
func GetMappingInfrastrcutureLayersEnum(val string) (InfrastrcutureLayersEnum, bool)
GetMappingInfrastrcutureLayersEnum performs case Insensitive comparison on enum value and return the desired enum
type InteractionCollection ¶ added in v65.6.0
type InteractionCollection struct { // contains InteractionSummary Items []InteractionSummary `mandatory:"true" json:"items"` }
InteractionCollection Results of access request additionalInfo search, which contains details of the conversation between customer and operator.
func (InteractionCollection) String ¶ added in v65.6.0
func (m InteractionCollection) String() string
func (InteractionCollection) ValidateEnumValue ¶ added in v65.6.0
func (m InteractionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type InteractionRequestDetails ¶ added in v65.6.0
type InteractionRequestDetails struct { // questions for asking to provide more information to operators. MoreInfoDetails *string `mandatory:"false" json:"moreInfoDetails"` }
InteractionRequestDetails Details for asking to provide more information to operators.
func (InteractionRequestDetails) String ¶ added in v65.6.0
func (m InteractionRequestDetails) String() string
func (InteractionRequestDetails) ValidateEnumValue ¶ added in v65.6.0
func (m InteractionRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type InteractionRequestRequest ¶ added in v65.6.0
type InteractionRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // Details containing Query for additional information provided by Customer. InteractionRequestDetails `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 }
InteractionRequestRequest wrapper for the InteractionRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/InteractionRequest.go.html to see an example of how to use InteractionRequestRequest.
func (InteractionRequestRequest) BinaryRequestBody ¶ added in v65.6.0
func (request InteractionRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (InteractionRequestRequest) HTTPRequest ¶ added in v65.6.0
func (request InteractionRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (InteractionRequestRequest) RetryPolicy ¶ added in v65.6.0
func (request InteractionRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (InteractionRequestRequest) String ¶ added in v65.6.0
func (request InteractionRequestRequest) String() string
func (InteractionRequestRequest) ValidateEnumValue ¶ added in v65.6.0
func (request InteractionRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type InteractionRequestResponse ¶ added in v65.6.0
type InteractionRequestResponse struct { // The underlying http response RawResponse *http.Response // The AccessRequest instance AccessRequest `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"` }
InteractionRequestResponse wrapper for the InteractionRequest operation
func (InteractionRequestResponse) HTTPResponse ¶ added in v65.6.0
func (response InteractionRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (InteractionRequestResponse) String ¶ added in v65.6.0
func (response InteractionRequestResponse) String() string
type InteractionSummary ¶ added in v65.6.0
type InteractionSummary struct { // The uniqueId of the message. Id *string `mandatory:"false" json:"id"` // customer or operator id who is part of this conversation. UserId *string `mandatory:"false" json:"userId"` // customer or operator Name who is part of this conversation. UserName *string `mandatory:"false" json:"userName"` // contains the information exchanged between operator and customer. Message *string `mandatory:"false" json:"message"` // Whether the userConversation is an operator or customer. UserType *string `mandatory:"false" json:"userType"` // Time when the conversation happened in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfConversation *common.SDKTime `mandatory:"false" json:"timeOfConversation"` }
InteractionSummary Summary of access request customer and operator conversation.
func (InteractionSummary) String ¶ added in v65.6.0
func (m InteractionSummary) String() string
func (InteractionSummary) ValidateEnumValue ¶ added in v65.6.0
func (m InteractionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
ListAccessRequestHistoriesRequest wrapper for the ListAccessRequestHistories operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListAccessRequestHistories.go.html to see an example of how to use ListAccessRequestHistoriesRequest.
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
func (ListAccessRequestHistoriesRequest) ValidateEnumValue ¶
func (request ListAccessRequestHistoriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListAccessRequestHistoriesResponse ¶
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"` }
ListAccessRequestHistoriesResponse wrapper for the ListAccessRequestHistories operation
func (ListAccessRequestHistoriesResponse) HTTPResponse ¶
func (response ListAccessRequestHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAccessRequestHistoriesResponse) String ¶
func (response ListAccessRequestHistoriesResponse) String() string
type ListAccessRequestsLifecycleStateEnum ¶
type ListAccessRequestsLifecycleStateEnum string
ListAccessRequestsLifecycleStateEnum Enum with underlying type: string
const ( ListAccessRequestsLifecycleStateCreated ListAccessRequestsLifecycleStateEnum = "CREATED" ListAccessRequestsLifecycleStateApprovalwaiting ListAccessRequestsLifecycleStateEnum = "APPROVALWAITING" ListAccessRequestsLifecycleStatePreapproved ListAccessRequestsLifecycleStateEnum = "PREAPPROVED" ListAccessRequestsLifecycleStateApproved ListAccessRequestsLifecycleStateEnum = "APPROVED" ListAccessRequestsLifecycleStateMoreinfo ListAccessRequestsLifecycleStateEnum = "MOREINFO" 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" ListAccessRequestsLifecycleStateApprovedforfuture ListAccessRequestsLifecycleStateEnum = "APPROVEDFORFUTURE" ListAccessRequestsLifecycleStateInreview ListAccessRequestsLifecycleStateEnum = "INREVIEW" )
Set of constants representing the allowable values for ListAccessRequestsLifecycleStateEnum
func GetListAccessRequestsLifecycleStateEnumValues ¶
func GetListAccessRequestsLifecycleStateEnumValues() []ListAccessRequestsLifecycleStateEnum
GetListAccessRequestsLifecycleStateEnumValues Enumerates the set of values for ListAccessRequestsLifecycleStateEnum
func GetMappingListAccessRequestsLifecycleStateEnum ¶
func GetMappingListAccessRequestsLifecycleStateEnum(val string) (ListAccessRequestsLifecycleStateEnum, bool)
GetMappingListAccessRequestsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 lists of resources that match the entire given service type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState. LifecycleState ListAccessRequestsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // Query start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd parameters are used together. TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // Query start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd parameters are used together. TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. 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 }
ListAccessRequestsRequest wrapper for the ListAccessRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListAccessRequests.go.html to see an example of how to use ListAccessRequestsRequest.
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
func (ListAccessRequestsRequest) ValidateEnumValue ¶
func (request ListAccessRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListAccessRequestsResponse ¶
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"` }
ListAccessRequestsResponse wrapper for the ListAccessRequests operation
func (ListAccessRequestsResponse) HTTPResponse ¶
func (response ListAccessRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAccessRequestsResponse) String ¶
func (response ListAccessRequestsResponse) String() string
type ListAccessRequestsSortByEnum ¶
type ListAccessRequestsSortByEnum string
ListAccessRequestsSortByEnum Enum with underlying type: string
const ( ListAccessRequestsSortByTimecreated ListAccessRequestsSortByEnum = "timeCreated" ListAccessRequestsSortByDisplayname ListAccessRequestsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAccessRequestsSortByEnum
func GetListAccessRequestsSortByEnumValues ¶
func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum
GetListAccessRequestsSortByEnumValues Enumerates the set of values for ListAccessRequestsSortByEnum
func GetMappingListAccessRequestsSortByEnum ¶
func GetMappingListAccessRequestsSortByEnum(val string) (ListAccessRequestsSortByEnum, bool)
GetMappingListAccessRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListAccessRequestsSortOrderEnum ¶
type ListAccessRequestsSortOrderEnum string
ListAccessRequestsSortOrderEnum Enum with underlying type: string
const ( ListAccessRequestsSortOrderAsc ListAccessRequestsSortOrderEnum = "ASC" ListAccessRequestsSortOrderDesc ListAccessRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAccessRequestsSortOrderEnum
func GetListAccessRequestsSortOrderEnumValues ¶
func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum
GetListAccessRequestsSortOrderEnumValues Enumerates the set of values for ListAccessRequestsSortOrderEnum
func GetMappingListAccessRequestsSortOrderEnum ¶
func GetMappingListAccessRequestsSortOrderEnum(val string) (ListAccessRequestsSortOrderEnum, bool)
GetMappingListAccessRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListInteractionsRequest ¶ added in v65.6.0
type ListInteractionsRequest 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 }
ListInteractionsRequest wrapper for the ListInteractions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListInteractions.go.html to see an example of how to use ListInteractionsRequest.
func (ListInteractionsRequest) BinaryRequestBody ¶ added in v65.6.0
func (request ListInteractionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListInteractionsRequest) HTTPRequest ¶ added in v65.6.0
func (request ListInteractionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListInteractionsRequest) RetryPolicy ¶ added in v65.6.0
func (request ListInteractionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListInteractionsRequest) String ¶ added in v65.6.0
func (request ListInteractionsRequest) String() string
func (ListInteractionsRequest) ValidateEnumValue ¶ added in v65.6.0
func (request ListInteractionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListInteractionsResponse ¶ added in v65.6.0
type ListInteractionsResponse struct { // The underlying http response RawResponse *http.Response // A list of InteractionCollection instances InteractionCollection `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"` }
ListInteractionsResponse wrapper for the ListInteractions operation
func (ListInteractionsResponse) HTTPResponse ¶ added in v65.6.0
func (response ListInteractionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListInteractionsResponse) String ¶ added in v65.6.0
func (response ListInteractionsResponse) String() string
type ListOperatorActionsLifecycleStateEnum ¶
type ListOperatorActionsLifecycleStateEnum string
ListOperatorActionsLifecycleStateEnum Enum with underlying type: string
const ( ListOperatorActionsLifecycleStateActive ListOperatorActionsLifecycleStateEnum = "ACTIVE" ListOperatorActionsLifecycleStateInactive ListOperatorActionsLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListOperatorActionsLifecycleStateEnum
func GetListOperatorActionsLifecycleStateEnumValues ¶
func GetListOperatorActionsLifecycleStateEnumValues() []ListOperatorActionsLifecycleStateEnum
GetListOperatorActionsLifecycleStateEnumValues Enumerates the set of values for ListOperatorActionsLifecycleStateEnum
func GetMappingListOperatorActionsLifecycleStateEnum ¶
func GetMappingListOperatorActionsLifecycleStateEnum(val string) (ListOperatorActionsLifecycleStateEnum, bool)
GetMappingListOperatorActionsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 lists of resources that match the entire given service type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // 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 }
ListOperatorActionsRequest wrapper for the ListOperatorActions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListOperatorActions.go.html to see an example of how to use ListOperatorActionsRequest.
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
func (ListOperatorActionsRequest) ValidateEnumValue ¶
func (request ListOperatorActionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListOperatorActionsResponse ¶
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"` }
ListOperatorActionsResponse wrapper for the ListOperatorActions operation
func (ListOperatorActionsResponse) HTTPResponse ¶
func (response ListOperatorActionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListOperatorActionsResponse) String ¶
func (response ListOperatorActionsResponse) String() string
type ListOperatorActionsSortByEnum ¶
type ListOperatorActionsSortByEnum string
ListOperatorActionsSortByEnum Enum with underlying type: string
const ( ListOperatorActionsSortByTimecreated ListOperatorActionsSortByEnum = "timeCreated" ListOperatorActionsSortByDisplayname ListOperatorActionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListOperatorActionsSortByEnum
func GetListOperatorActionsSortByEnumValues ¶
func GetListOperatorActionsSortByEnumValues() []ListOperatorActionsSortByEnum
GetListOperatorActionsSortByEnumValues Enumerates the set of values for ListOperatorActionsSortByEnum
func GetMappingListOperatorActionsSortByEnum ¶
func GetMappingListOperatorActionsSortByEnum(val string) (ListOperatorActionsSortByEnum, bool)
GetMappingListOperatorActionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListOperatorActionsSortOrderEnum ¶
type ListOperatorActionsSortOrderEnum string
ListOperatorActionsSortOrderEnum Enum with underlying type: string
const ( ListOperatorActionsSortOrderAsc ListOperatorActionsSortOrderEnum = "ASC" ListOperatorActionsSortOrderDesc ListOperatorActionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListOperatorActionsSortOrderEnum
func GetListOperatorActionsSortOrderEnumValues ¶
func GetListOperatorActionsSortOrderEnumValues() []ListOperatorActionsSortOrderEnum
GetListOperatorActionsSortOrderEnumValues Enumerates the set of values for ListOperatorActionsSortOrderEnum
func GetMappingListOperatorActionsSortOrderEnum ¶
func GetMappingListOperatorActionsSortOrderEnum(val string) (ListOperatorActionsSortOrderEnum, bool)
GetMappingListOperatorActionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListOperatorControlAssignmentsLifecycleStateEnum ¶
type ListOperatorControlAssignmentsLifecycleStateEnum string
ListOperatorControlAssignmentsLifecycleStateEnum Enum with underlying type: string
const ( ListOperatorControlAssignmentsLifecycleStateCreated ListOperatorControlAssignmentsLifecycleStateEnum = "CREATED" ListOperatorControlAssignmentsLifecycleStateApplied ListOperatorControlAssignmentsLifecycleStateEnum = "APPLIED" ListOperatorControlAssignmentsLifecycleStateApplyfailed ListOperatorControlAssignmentsLifecycleStateEnum = "APPLYFAILED" ListOperatorControlAssignmentsLifecycleStateUpdating ListOperatorControlAssignmentsLifecycleStateEnum = "UPDATING" ListOperatorControlAssignmentsLifecycleStateDeleting ListOperatorControlAssignmentsLifecycleStateEnum = "DELETING" ListOperatorControlAssignmentsLifecycleStateDeleted ListOperatorControlAssignmentsLifecycleStateEnum = "DELETED" ListOperatorControlAssignmentsLifecycleStateDeletionfailed ListOperatorControlAssignmentsLifecycleStateEnum = "DELETIONFAILED" )
Set of constants representing the allowable values for ListOperatorControlAssignmentsLifecycleStateEnum
func GetListOperatorControlAssignmentsLifecycleStateEnumValues ¶
func GetListOperatorControlAssignmentsLifecycleStateEnumValues() []ListOperatorControlAssignmentsLifecycleStateEnum
GetListOperatorControlAssignmentsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlAssignmentsLifecycleStateEnum
func GetMappingListOperatorControlAssignmentsLifecycleStateEnum ¶
func GetMappingListOperatorControlAssignmentsLifecycleStateEnum(val string) (ListOperatorControlAssignmentsLifecycleStateEnum, bool)
GetMappingListOperatorControlAssignmentsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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 lists of resources that match the entire given service type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // 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 }
ListOperatorControlAssignmentsRequest wrapper for the ListOperatorControlAssignments operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListOperatorControlAssignments.go.html to see an example of how to use ListOperatorControlAssignmentsRequest.
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
func (ListOperatorControlAssignmentsRequest) ValidateEnumValue ¶
func (request ListOperatorControlAssignmentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListOperatorControlAssignmentsResponse ¶
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"` }
ListOperatorControlAssignmentsResponse wrapper for the ListOperatorControlAssignments operation
func (ListOperatorControlAssignmentsResponse) HTTPResponse ¶
func (response ListOperatorControlAssignmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListOperatorControlAssignmentsResponse) String ¶
func (response ListOperatorControlAssignmentsResponse) String() string
type ListOperatorControlAssignmentsSortByEnum ¶
type ListOperatorControlAssignmentsSortByEnum string
ListOperatorControlAssignmentsSortByEnum Enum with underlying type: string
const ( ListOperatorControlAssignmentsSortByTimecreated ListOperatorControlAssignmentsSortByEnum = "timeCreated" ListOperatorControlAssignmentsSortByDisplayname ListOperatorControlAssignmentsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListOperatorControlAssignmentsSortByEnum
func GetListOperatorControlAssignmentsSortByEnumValues ¶
func GetListOperatorControlAssignmentsSortByEnumValues() []ListOperatorControlAssignmentsSortByEnum
GetListOperatorControlAssignmentsSortByEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortByEnum
func GetMappingListOperatorControlAssignmentsSortByEnum ¶
func GetMappingListOperatorControlAssignmentsSortByEnum(val string) (ListOperatorControlAssignmentsSortByEnum, bool)
GetMappingListOperatorControlAssignmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListOperatorControlAssignmentsSortOrderEnum ¶
type ListOperatorControlAssignmentsSortOrderEnum string
ListOperatorControlAssignmentsSortOrderEnum Enum with underlying type: string
const ( ListOperatorControlAssignmentsSortOrderAsc ListOperatorControlAssignmentsSortOrderEnum = "ASC" ListOperatorControlAssignmentsSortOrderDesc ListOperatorControlAssignmentsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListOperatorControlAssignmentsSortOrderEnum
func GetListOperatorControlAssignmentsSortOrderEnumValues ¶
func GetListOperatorControlAssignmentsSortOrderEnumValues() []ListOperatorControlAssignmentsSortOrderEnum
GetListOperatorControlAssignmentsSortOrderEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortOrderEnum
func GetMappingListOperatorControlAssignmentsSortOrderEnum ¶
func GetMappingListOperatorControlAssignmentsSortOrderEnum(val string) (ListOperatorControlAssignmentsSortOrderEnum, bool)
GetMappingListOperatorControlAssignmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListOperatorControlsLifecycleStateEnum ¶
type ListOperatorControlsLifecycleStateEnum string
ListOperatorControlsLifecycleStateEnum Enum with underlying type: string
const ( ListOperatorControlsLifecycleStateCreated ListOperatorControlsLifecycleStateEnum = "CREATED" ListOperatorControlsLifecycleStateAssigned ListOperatorControlsLifecycleStateEnum = "ASSIGNED" ListOperatorControlsLifecycleStateUnassigned ListOperatorControlsLifecycleStateEnum = "UNASSIGNED" ListOperatorControlsLifecycleStateDeleted ListOperatorControlsLifecycleStateEnum = "DELETED" )
Set of constants representing the allowable values for ListOperatorControlsLifecycleStateEnum
func GetListOperatorControlsLifecycleStateEnumValues ¶
func GetListOperatorControlsLifecycleStateEnumValues() []ListOperatorControlsLifecycleStateEnum
GetListOperatorControlsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlsLifecycleStateEnum
func GetMappingListOperatorControlsLifecycleStateEnum ¶
func GetMappingListOperatorControlsLifecycleStateEnum(val string) (ListOperatorControlsLifecycleStateEnum, bool)
GetMappingListOperatorControlsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type 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"` // A filter to return only lists of resources that match the entire given service type. ResourceType *string `mandatory:"false" contributesTo:"query" name:"resourceType"` // 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 }
ListOperatorControlsRequest wrapper for the ListOperatorControls operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ListOperatorControls.go.html to see an example of how to use ListOperatorControlsRequest.
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
func (ListOperatorControlsRequest) ValidateEnumValue ¶
func (request ListOperatorControlsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListOperatorControlsResponse ¶
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"` }
ListOperatorControlsResponse wrapper for the ListOperatorControls operation
func (ListOperatorControlsResponse) HTTPResponse ¶
func (response ListOperatorControlsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListOperatorControlsResponse) String ¶
func (response ListOperatorControlsResponse) String() string
type ListOperatorControlsSortByEnum ¶
type ListOperatorControlsSortByEnum string
ListOperatorControlsSortByEnum Enum with underlying type: string
const ( ListOperatorControlsSortByTimecreated ListOperatorControlsSortByEnum = "timeCreated" ListOperatorControlsSortByDisplayname ListOperatorControlsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListOperatorControlsSortByEnum
func GetListOperatorControlsSortByEnumValues ¶
func GetListOperatorControlsSortByEnumValues() []ListOperatorControlsSortByEnum
GetListOperatorControlsSortByEnumValues Enumerates the set of values for ListOperatorControlsSortByEnum
func GetMappingListOperatorControlsSortByEnum ¶
func GetMappingListOperatorControlsSortByEnum(val string) (ListOperatorControlsSortByEnum, bool)
GetMappingListOperatorControlsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListOperatorControlsSortOrderEnum ¶
type ListOperatorControlsSortOrderEnum string
ListOperatorControlsSortOrderEnum Enum with underlying type: string
const ( ListOperatorControlsSortOrderAsc ListOperatorControlsSortOrderEnum = "ASC" ListOperatorControlsSortOrderDesc ListOperatorControlsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListOperatorControlsSortOrderEnum
func GetListOperatorControlsSortOrderEnumValues ¶
func GetListOperatorControlsSortOrderEnumValues() []ListOperatorControlsSortOrderEnum
GetListOperatorControlsSortOrderEnumValues Enumerates the set of values for ListOperatorControlsSortOrderEnum
func GetMappingListOperatorControlsSortOrderEnum ¶
func GetMappingListOperatorControlsSortOrderEnum(val string) (ListOperatorControlsSortOrderEnum, bool)
GetMappingListOperatorControlsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type OperatorAction ¶
type OperatorAction struct { // Unique Oracle assigned identifier for the operator action. Id *string `mandatory:"true" json:"id"` // Unique name of the operator action. Name *string `mandatory:"true" json:"name"` // Display Name of the operator action. CustomerDisplayName *string `mandatory:"false" json:"customerDisplayName"` // Name of the infrastructure layer associated with the operator action. Component *string `mandatory:"false" json:"component"` // resourceType for which the OperatorAction is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,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"` // Fine grained properties associated with the operator control. Properties []OperatorActionProperties `mandatory:"false" json:"properties"` }
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
func (OperatorAction) String ¶
func (m OperatorAction) String() string
func (OperatorAction) ValidateEnumValue ¶
func (m OperatorAction) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorActionCategoriesEnum ¶
type OperatorActionCategoriesEnum string
OperatorActionCategoriesEnum Enum with underlying type: string
const ( OperatorActionCategoriesServicediagnostics OperatorActionCategoriesEnum = "SERVICEDIAGNOSTICS" OperatorActionCategoriesServicemanagement OperatorActionCategoriesEnum = "SERVICEMANAGEMENT" OperatorActionCategoriesSystemmanagement OperatorActionCategoriesEnum = "SYSTEMMANAGEMENT" OperatorActionCategoriesFulladministration OperatorActionCategoriesEnum = "FULLADMINISTRATION" OperatorActionCategoriesCellmanagement OperatorActionCategoriesEnum = "CELLMANAGEMENT" )
Set of constants representing the allowable values for OperatorActionCategoriesEnum
func GetMappingOperatorActionCategoriesEnum ¶
func GetMappingOperatorActionCategoriesEnum(val string) (OperatorActionCategoriesEnum, bool)
GetMappingOperatorActionCategoriesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperatorActionCategoriesEnumValues ¶
func GetOperatorActionCategoriesEnumValues() []OperatorActionCategoriesEnum
GetOperatorActionCategoriesEnumValues Enumerates the set of values for OperatorActionCategoriesEnum
type OperatorActionCollection ¶
type OperatorActionCollection struct { // contains OperatorActionSummary Items []OperatorActionSummary `mandatory:"true" json:"items"` }
OperatorActionCollection Results of operator action search, which contains summary of the action.
func (OperatorActionCollection) String ¶
func (m OperatorActionCollection) String() string
func (OperatorActionCollection) ValidateEnumValue ¶
func (m OperatorActionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorActionLifecycleStatesEnum ¶
type OperatorActionLifecycleStatesEnum string
OperatorActionLifecycleStatesEnum Enum with underlying type: string
const ( OperatorActionLifecycleStatesActive OperatorActionLifecycleStatesEnum = "ACTIVE" OperatorActionLifecycleStatesInactive OperatorActionLifecycleStatesEnum = "INACTIVE" )
Set of constants representing the allowable values for OperatorActionLifecycleStatesEnum
func GetMappingOperatorActionLifecycleStatesEnum ¶
func GetMappingOperatorActionLifecycleStatesEnum(val string) (OperatorActionLifecycleStatesEnum, bool)
GetMappingOperatorActionLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperatorActionLifecycleStatesEnumValues ¶
func GetOperatorActionLifecycleStatesEnumValues() []OperatorActionLifecycleStatesEnum
GetOperatorActionLifecycleStatesEnumValues Enumerates the set of values for OperatorActionLifecycleStatesEnum
type OperatorActionProperties ¶
type OperatorActionProperties struct { // Name of the property Name *string `mandatory:"false" json:"name"` // value of the property Value *string `mandatory:"false" json:"value"` }
OperatorActionProperties Details of the properties of operator action.
func (OperatorActionProperties) String ¶
func (m OperatorActionProperties) String() string
func (OperatorActionProperties) ValidateEnumValue ¶
func (m OperatorActionProperties) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorActionSummary ¶
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"` // resourceType for which the OperatorAction is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // 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"` }
OperatorActionSummary Details of the operator action. Operator actions are pre-defined set of commands available to the operator on different layers of the infrastructure.
func (OperatorActionSummary) String ¶
func (m OperatorActionSummary) String() string
func (OperatorActionSummary) ValidateEnumValue ¶
func (m OperatorActionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorActionsClient ¶
type OperatorActionsClient struct { common.BaseClient // contains filtered or unexported fields }
OperatorActionsClient a client for OperatorActions
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/latest/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/latest/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 ¶
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"` // List of emailId. EmailIdList []string `mandatory:"false" json:"emailIdList"` // resourceType for which the OperatorControl is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // 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"` }
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.
func (OperatorControl) String ¶
func (m OperatorControl) String() string
func (OperatorControl) ValidateEnumValue ¶
func (m OperatorControl) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorControlAssignment ¶
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"` // 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"` // resourceType for which the OperatorControlAssignment is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // 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"` // If set indicates that the audit logs are being forwarded to the relevant remote logging server IsLogForwarded *bool `mandatory:"false" json:"isLogForwarded"` // The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format. RemoteSyslogServerAddress *string `mandatory:"false" json:"remoteSyslogServerAddress"` // The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported. RemoteSyslogServerPort *int `mandatory:"false" json:"remoteSyslogServerPort"` // The CA certificate of the remote syslog server. RemoteSyslogServerCACert *string `mandatory:"false" json:"remoteSyslogServerCACert"` // The boolean if true would autoApprove during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // The code identifying the error occurred during Assignment operation. ErrorCode *int `mandatory:"false" json:"errorCode"` // The message describing the error occurred during Assignment operation. ErrorMessage *string `mandatory:"false" json:"errorMessage"` // 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"` }
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.
func (OperatorControlAssignment) String ¶
func (m OperatorControlAssignment) String() string
func (OperatorControlAssignment) ValidateEnumValue ¶
func (m OperatorControlAssignment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorControlAssignmentClient ¶
type OperatorControlAssignmentClient struct { common.BaseClient // contains filtered or unexported fields }
OperatorControlAssignmentClient a client for OperatorControlAssignment
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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/operatoraccesscontrol/UpdateOperatorControlAssignment.go.html to see an example of how to use UpdateOperatorControlAssignment API.
type OperatorControlAssignmentCollection ¶
type OperatorControlAssignmentCollection struct { // contains OperatorControlAssignmentSummary Items []OperatorControlAssignmentSummary `mandatory:"true" json:"items"` }
OperatorControlAssignmentCollection Results of Operator Control assignment search, which contains summary of the assignment.
func (OperatorControlAssignmentCollection) String ¶
func (m OperatorControlAssignmentCollection) String() string
func (OperatorControlAssignmentCollection) ValidateEnumValue ¶
func (m OperatorControlAssignmentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorControlAssignmentLifecycleStatesEnum ¶
type OperatorControlAssignmentLifecycleStatesEnum string
OperatorControlAssignmentLifecycleStatesEnum Enum with underlying type: string
const ( OperatorControlAssignmentLifecycleStatesCreated OperatorControlAssignmentLifecycleStatesEnum = "CREATED" OperatorControlAssignmentLifecycleStatesApplied OperatorControlAssignmentLifecycleStatesEnum = "APPLIED" OperatorControlAssignmentLifecycleStatesApplyfailed OperatorControlAssignmentLifecycleStatesEnum = "APPLYFAILED" OperatorControlAssignmentLifecycleStatesUpdating OperatorControlAssignmentLifecycleStatesEnum = "UPDATING" OperatorControlAssignmentLifecycleStatesDeleting OperatorControlAssignmentLifecycleStatesEnum = "DELETING" OperatorControlAssignmentLifecycleStatesDeleted OperatorControlAssignmentLifecycleStatesEnum = "DELETED" OperatorControlAssignmentLifecycleStatesDeletionfailed OperatorControlAssignmentLifecycleStatesEnum = "DELETIONFAILED" )
Set of constants representing the allowable values for OperatorControlAssignmentLifecycleStatesEnum
func GetMappingOperatorControlAssignmentLifecycleStatesEnum ¶
func GetMappingOperatorControlAssignmentLifecycleStatesEnum(val string) (OperatorControlAssignmentLifecycleStatesEnum, bool)
GetMappingOperatorControlAssignmentLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperatorControlAssignmentLifecycleStatesEnumValues ¶
func GetOperatorControlAssignmentLifecycleStatesEnumValues() []OperatorControlAssignmentLifecycleStatesEnum
GetOperatorControlAssignmentLifecycleStatesEnumValues Enumerates the set of values for OperatorControlAssignmentLifecycleStatesEnum
type OperatorControlAssignmentSummary ¶
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"` // resourceType for which the OperatorControlAssignment is applicable 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 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 code identifying the error occurred during Assignment operation. ErrorCode *int `mandatory:"false" json:"errorCode"` // The message describing the error occurred during Assignment operation. ErrorMessage *string `mandatory:"false" json:"errorMessage"` // If set, then the audit logs are being forwarded to the relevant remote logging server IsLogForwarded *bool `mandatory:"false" json:"isLogForwarded"` // The address of the remote syslog server where the audit logs are being forwarded to. Address in host or IP format. RemoteSyslogServerAddress *string `mandatory:"false" json:"remoteSyslogServerAddress"` // The listening port of the remote syslog server. The port range is 0 - 65535. RemoteSyslogServerPort *int `mandatory:"false" json:"remoteSyslogServerPort"` // 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"` }
OperatorControlAssignmentSummary Details of the operator control assignment.
func (OperatorControlAssignmentSummary) String ¶
func (m OperatorControlAssignmentSummary) String() string
func (OperatorControlAssignmentSummary) ValidateEnumValue ¶
func (m OperatorControlAssignmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorControlClient ¶
type OperatorControlClient struct { common.BaseClient // contains filtered or unexported fields }
OperatorControlClient a client for OperatorControl
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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/operatoraccesscontrol/UpdateOperatorControl.go.html to see an example of how to use UpdateOperatorControl API.
type OperatorControlCollection ¶
type OperatorControlCollection struct { // contains OperatorControlSummary Items []OperatorControlSummary `mandatory:"true" json:"items"` }
OperatorControlCollection Results of Operator Control search, which contains summary of the operator control.
func (OperatorControlCollection) String ¶
func (m OperatorControlCollection) String() string
func (OperatorControlCollection) ValidateEnumValue ¶
func (m OperatorControlCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type OperatorControlLifecycleStatesEnum ¶
type OperatorControlLifecycleStatesEnum string
OperatorControlLifecycleStatesEnum Enum with underlying type: string
const ( OperatorControlLifecycleStatesCreated OperatorControlLifecycleStatesEnum = "CREATED" OperatorControlLifecycleStatesAssigned OperatorControlLifecycleStatesEnum = "ASSIGNED" OperatorControlLifecycleStatesUnassigned OperatorControlLifecycleStatesEnum = "UNASSIGNED" OperatorControlLifecycleStatesDeleted OperatorControlLifecycleStatesEnum = "DELETED" )
Set of constants representing the allowable values for OperatorControlLifecycleStatesEnum
func GetMappingOperatorControlLifecycleStatesEnum ¶
func GetMappingOperatorControlLifecycleStatesEnum(val string) (OperatorControlLifecycleStatesEnum, bool)
GetMappingOperatorControlLifecycleStatesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperatorControlLifecycleStatesEnumValues ¶
func GetOperatorControlLifecycleStatesEnumValues() []OperatorControlLifecycleStatesEnum
GetOperatorControlLifecycleStatesEnumValues Enumerates the set of values for OperatorControlLifecycleStatesEnum
type OperatorControlSummary ¶
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"` // resourceType for which the OperatorControl is applicable ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,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 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"` }
OperatorControlSummary Summary of the OperatorControl.
func (OperatorControlSummary) String ¶
func (m OperatorControlSummary) String() string
func (OperatorControlSummary) ValidateEnumValue ¶
func (m OperatorControlSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RejectAccessRequestDetails ¶
type RejectAccessRequestDetails struct { // Comment by the approver explaining why the request is rejected. ApproverComment *string `mandatory:"false" json:"approverComment"` }
RejectAccessRequestDetails Summary of why the access request was rejected.
func (RejectAccessRequestDetails) String ¶
func (m RejectAccessRequestDetails) String() string
func (RejectAccessRequestDetails) ValidateEnumValue ¶
func (m RejectAccessRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
RejectAccessRequestRequest wrapper for the RejectAccessRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/RejectAccessRequest.go.html to see an example of how to use RejectAccessRequestRequest.
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
func (RejectAccessRequestRequest) ValidateEnumValue ¶
func (request RejectAccessRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RejectAccessRequestResponse ¶
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"` }
RejectAccessRequestResponse wrapper for the RejectAccessRequest operation
func (RejectAccessRequestResponse) HTTPResponse ¶
func (response RejectAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RejectAccessRequestResponse) String ¶
func (response RejectAccessRequestResponse) String() string
type ResourceTypesEnum ¶
type ResourceTypesEnum string
ResourceTypesEnum Enum with underlying type: string
const ( ResourceTypesExacc ResourceTypesEnum = "EXACC" ResourceTypesExadatainfrastructure ResourceTypesEnum = "EXADATAINFRASTRUCTURE" ResourceTypesAutonomousvmcluster ResourceTypesEnum = "AUTONOMOUSVMCLUSTER" )
Set of constants representing the allowable values for ResourceTypesEnum
func GetMappingResourceTypesEnum ¶
func GetMappingResourceTypesEnum(val string) (ResourceTypesEnum, bool)
GetMappingResourceTypesEnum performs case Insensitive comparison on enum value and return the desired enum
func GetResourceTypesEnumValues ¶
func GetResourceTypesEnumValues() []ResourceTypesEnum
GetResourceTypesEnumValues Enumerates the set of values for ResourceTypesEnum
type ReviewAccessRequestDetails ¶
type ReviewAccessRequestDetails struct { // Comment by the approver explaining that the access request is in review. ApproverComment *string `mandatory:"false" json:"approverComment"` }
ReviewAccessRequestDetails Details to mark access request in review.
func (ReviewAccessRequestDetails) String ¶
func (m ReviewAccessRequestDetails) String() string
func (ReviewAccessRequestDetails) ValidateEnumValue ¶
func (m ReviewAccessRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ReviewAccessRequestRequest ¶
type ReviewAccessRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // Details regarding the approval of an access request created by the operator. ReviewAccessRequestDetails `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 }
ReviewAccessRequestRequest wrapper for the ReviewAccessRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/ReviewAccessRequest.go.html to see an example of how to use ReviewAccessRequestRequest.
func (ReviewAccessRequestRequest) BinaryRequestBody ¶
func (request ReviewAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ReviewAccessRequestRequest) HTTPRequest ¶
func (request ReviewAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ReviewAccessRequestRequest) RetryPolicy ¶
func (request ReviewAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ReviewAccessRequestRequest) String ¶
func (request ReviewAccessRequestRequest) String() string
func (ReviewAccessRequestRequest) ValidateEnumValue ¶
func (request ReviewAccessRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ReviewAccessRequestResponse ¶
type ReviewAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // The AccessRequest instance AccessRequest `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"` }
ReviewAccessRequestResponse wrapper for the ReviewAccessRequest operation
func (ReviewAccessRequestResponse) HTTPResponse ¶
func (response ReviewAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ReviewAccessRequestResponse) String ¶
func (response ReviewAccessRequestResponse) String() string
type RevokeAccessRequestDetails ¶
type RevokeAccessRequestDetails struct { // Comment specified by the approver explaining why the approval is revoked. ApproverComment *string `mandatory:"false" json:"approverComment"` }
RevokeAccessRequestDetails Summary of why the already approved access request was revoked.
func (RevokeAccessRequestDetails) String ¶
func (m RevokeAccessRequestDetails) String() string
func (RevokeAccessRequestDetails) ValidateEnumValue ¶
func (m RevokeAccessRequestDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
RevokeAccessRequestRequest wrapper for the RevokeAccessRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/RevokeAccessRequest.go.html to see an example of how to use RevokeAccessRequestRequest.
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
func (RevokeAccessRequestRequest) ValidateEnumValue ¶
func (request RevokeAccessRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type RevokeAccessRequestResponse ¶
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"` }
RevokeAccessRequestResponse wrapper for the RevokeAccessRequest operation
func (RevokeAccessRequestResponse) HTTPResponse ¶
func (response RevokeAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RevokeAccessRequestResponse) String ¶
func (response RevokeAccessRequestResponse) String() string
type SortOrdersEnum ¶
type SortOrdersEnum string
SortOrdersEnum Enum with underlying type: string
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
Set of constants representing the allowable values for SortOrdersEnum
func GetMappingSortOrdersEnum ¶
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues ¶
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
type UpdateOperatorControlAssignmentDetails ¶
type UpdateOperatorControlAssignmentDetails struct { // 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:"true" json:"isEnforcedAlways"` // 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"` // Comment about the modification of the operator control assignment. Comment *string `mandatory:"false" json:"comment"` // If set, then the audit logs will be forwarded to the relevant remote logging server IsLogForwarded *bool `mandatory:"false" json:"isLogForwarded"` // The address of the remote syslog server where the audit logs will be forwarded to. Address in host or IP format. RemoteSyslogServerAddress *string `mandatory:"false" json:"remoteSyslogServerAddress"` // The listening port of the remote syslog server. The port range is 0 - 65535. Only TCP supported. RemoteSyslogServerPort *int `mandatory:"false" json:"remoteSyslogServerPort"` // The CA certificate of the remote syslog server. Identity of the remote syslog server will be asserted based on this certificate. RemoteSyslogServerCACert *string `mandatory:"false" json:"remoteSyslogServerCACert"` // The boolean if true would autoApprove during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // 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"` }
UpdateOperatorControlAssignmentDetails Details for modifying the Operator Control assignment.
func (UpdateOperatorControlAssignmentDetails) String ¶
func (m UpdateOperatorControlAssignmentDetails) String() string
func (UpdateOperatorControlAssignmentDetails) ValidateEnumValue ¶
func (m UpdateOperatorControlAssignmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
UpdateOperatorControlAssignmentRequest wrapper for the UpdateOperatorControlAssignment operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/UpdateOperatorControlAssignment.go.html to see an example of how to use UpdateOperatorControlAssignmentRequest.
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
func (UpdateOperatorControlAssignmentRequest) ValidateEnumValue ¶
func (request UpdateOperatorControlAssignmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateOperatorControlAssignmentResponse ¶
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"` }
UpdateOperatorControlAssignmentResponse wrapper for the UpdateOperatorControlAssignment operation
func (UpdateOperatorControlAssignmentResponse) HTTPResponse ¶
func (response UpdateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateOperatorControlAssignmentResponse) String ¶
func (response UpdateOperatorControlAssignmentResponse) String() string
type UpdateOperatorControlDetails ¶
type UpdateOperatorControlDetails struct { // Name of the operator control. OperatorControlName *string `mandatory:"true" json:"operatorControlName"` // 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:"true" json:"approverGroupsList"` // 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:"true" json:"isFullyPreApproved"` // 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 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 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"` }
UpdateOperatorControlDetails Information about the new operator control.
func (UpdateOperatorControlDetails) String ¶
func (m UpdateOperatorControlDetails) String() string
func (UpdateOperatorControlDetails) ValidateEnumValue ¶
func (m UpdateOperatorControlDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type 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 }
UpdateOperatorControlRequest wrapper for the UpdateOperatorControl operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/operatoraccesscontrol/UpdateOperatorControl.go.html to see an example of how to use UpdateOperatorControlRequest.
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
func (UpdateOperatorControlRequest) ValidateEnumValue ¶
func (request UpdateOperatorControlRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type UpdateOperatorControlResponse ¶
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"` }
UpdateOperatorControlResponse wrapper for the UpdateOperatorControl operation
func (UpdateOperatorControlResponse) HTTPResponse ¶
func (response UpdateOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateOperatorControlResponse) String ¶
func (response UpdateOperatorControlResponse) String() string
Source 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
- interaction_collection.go
- interaction_request_details.go
- interaction_request_request_response.go
- interaction_summary.go
- list_access_request_histories_request_response.go
- list_access_requests_request_response.go
- list_interactions_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
- review_access_request_details.go
- review_access_request_request_response.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