lockbox

package
v65.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessRequestActionTypeEnumStringValues

func GetAccessRequestActionTypeEnumStringValues() []string

GetAccessRequestActionTypeEnumStringValues Enumerates the set of values in String for AccessRequestActionTypeEnum

func GetAccessRequestExtLifecycleStateDetailsEnumStringValues added in v65.64.0

func GetAccessRequestExtLifecycleStateDetailsEnumStringValues() []string

GetAccessRequestExtLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for AccessRequestExtLifecycleStateDetailsEnum

func GetAccessRequestExtLifecycleStateEnumStringValues added in v65.64.0

func GetAccessRequestExtLifecycleStateEnumStringValues() []string

GetAccessRequestExtLifecycleStateEnumStringValues Enumerates the set of values in String for AccessRequestExtLifecycleStateEnum

func GetAccessRequestLifecycleStateDetailsEnumStringValues

func GetAccessRequestLifecycleStateDetailsEnumStringValues() []string

GetAccessRequestLifecycleStateDetailsEnumStringValues Enumerates the set of values in String for AccessRequestLifecycleStateDetailsEnum

func GetAccessRequestLifecycleStateEnumStringValues

func GetAccessRequestLifecycleStateEnumStringValues() []string

GetAccessRequestLifecycleStateEnumStringValues Enumerates the set of values in String for AccessRequestLifecycleStateEnum

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetApprovalTemplateLifecycleStateEnumStringValues

func GetApprovalTemplateLifecycleStateEnumStringValues() []string

GetApprovalTemplateLifecycleStateEnumStringValues Enumerates the set of values in String for ApprovalTemplateLifecycleStateEnum

func GetApproverTypeEnumStringValues

func GetApproverTypeEnumStringValues() []string

GetApproverTypeEnumStringValues Enumerates the set of values in String for ApproverTypeEnum

func GetExportAccessRequestsLockboxPartnerEnumStringValues added in v65.50.0

func GetExportAccessRequestsLockboxPartnerEnumStringValues() []string

GetExportAccessRequestsLockboxPartnerEnumStringValues Enumerates the set of values in String for ExportAccessRequestsLockboxPartnerEnum

func GetExportAccessRequestsSortByEnumStringValues added in v65.50.0

func GetExportAccessRequestsSortByEnumStringValues() []string

GetExportAccessRequestsSortByEnumStringValues Enumerates the set of values in String for ExportAccessRequestsSortByEnum

func GetExportAccessRequestsSortOrderEnumStringValues added in v65.50.0

func GetExportAccessRequestsSortOrderEnumStringValues() []string

GetExportAccessRequestsSortOrderEnumStringValues Enumerates the set of values in String for ExportAccessRequestsSortOrderEnum

func GetListAccessRequestsLockboxPartnerEnumStringValues

func GetListAccessRequestsLockboxPartnerEnumStringValues() []string

GetListAccessRequestsLockboxPartnerEnumStringValues Enumerates the set of values in String for ListAccessRequestsLockboxPartnerEnum

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 GetListApprovalTemplatesSortByEnumStringValues

func GetListApprovalTemplatesSortByEnumStringValues() []string

GetListApprovalTemplatesSortByEnumStringValues Enumerates the set of values in String for ListApprovalTemplatesSortByEnum

func GetListApprovalTemplatesSortOrderEnumStringValues

func GetListApprovalTemplatesSortOrderEnumStringValues() []string

GetListApprovalTemplatesSortOrderEnumStringValues Enumerates the set of values in String for ListApprovalTemplatesSortOrderEnum

func GetListLockboxesLockboxPartnerEnumStringValues

func GetListLockboxesLockboxPartnerEnumStringValues() []string

GetListLockboxesLockboxPartnerEnumStringValues Enumerates the set of values in String for ListLockboxesLockboxPartnerEnum

func GetListLockboxesSortByEnumStringValues

func GetListLockboxesSortByEnumStringValues() []string

GetListLockboxesSortByEnumStringValues Enumerates the set of values in String for ListLockboxesSortByEnum

func GetListLockboxesSortOrderEnumStringValues

func GetListLockboxesSortOrderEnumStringValues() []string

GetListLockboxesSortOrderEnumStringValues Enumerates the set of values in String for ListLockboxesSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetLockboxAutoApprovalStateEnumStringValues

func GetLockboxAutoApprovalStateEnumStringValues() []string

GetLockboxAutoApprovalStateEnumStringValues Enumerates the set of values in String for LockboxAutoApprovalStateEnum

func GetLockboxLifecycleStateEnumStringValues

func GetLockboxLifecycleStateEnumStringValues() []string

GetLockboxLifecycleStateEnumStringValues Enumerates the set of values in String for LockboxLifecycleStateEnum

func GetLockboxPartnerEnumStringValues

func GetLockboxPartnerEnumStringValues() []string

GetLockboxPartnerEnumStringValues Enumerates the set of values in String for LockboxPartnerEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPersonaLevelEnumStringValues

func GetPersonaLevelEnumStringValues() []string

GetPersonaLevelEnumStringValues Enumerates the set of values in String for PersonaLevelEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types

type AccessContextAttribute

type AccessContextAttribute struct {

	// The name of the context attribute
	Name *string `mandatory:"true" json:"name"`

	// The description of the context attribute
	Description *string `mandatory:"false" json:"description"`

	// An optional default value used when access request context value is not provided
	DefaultValue *string `mandatory:"false" json:"defaultValue"`

	// List of context attribute values.
	Values []string `mandatory:"false" json:"values"`
}

AccessContextAttribute Defined by partner while creating a lockbox. These attributes provides context for creating access request

func (AccessContextAttribute) String

func (m AccessContextAttribute) String() string

func (AccessContextAttribute) ValidateEnumValue

func (m AccessContextAttribute) 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 AccessContextAttributeCollection

type AccessContextAttributeCollection struct {

	// List of context attributes.
	Items []AccessContextAttribute `mandatory:"true" json:"items"`
}

AccessContextAttributeCollection Contains context attribute entries defined while creating or updating a lockbox.

func (AccessContextAttributeCollection) String

func (AccessContextAttributeCollection) ValidateEnumValue

func (m AccessContextAttributeCollection) 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 AccessMaterials

type AccessMaterials struct {

	// The contents of the material. This is a map that contains the various fields needed for access.
	Details map[string]string `mandatory:"true" json:"details"`
}

AccessMaterials Access materials details.

func (AccessMaterials) String

func (m AccessMaterials) String() string

func (AccessMaterials) ValidateEnumValue

func (m AccessMaterials) 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 AccessRequest

type AccessRequest struct {

	// The unique identifier (OCID) of the access request, which can't be changed after creation.
	Id *string `mandatory:"true" json:"id"`

	// The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
	LockboxId *string `mandatory:"true" json:"lockboxId"`

	// The name of the access request.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The rationale for requesting the access request and any other related details..
	Description *string `mandatory:"true" json:"description"`

	// The unique identifier of the requestor.
	RequestorId *string `mandatory:"true" json:"requestorId"`

	// Possible access request lifecycle states.
	LifecycleState AccessRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Details of access request lifecycle state.
	LifecycleStateDetails AccessRequestLifecycleStateDetailsEnum `mandatory:"true" json:"lifecycleStateDetails"`

	// The maximum amount of time operator has access to associated resources.
	AccessDuration *string `mandatory:"true" json:"accessDuration"`

	// The actions taken by different persona on the access request, e.g. approve/deny/revoke
	ActivityLogs []ActivityLog `mandatory:"true" json:"activityLogs"`

	// The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

	// The time the access request was last reminded. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeReminded *common.SDKTime `mandatory:"true" json:"timeReminded"`

	// The count of times the access request was reminded.
	ReminderCount *int `mandatory:"true" json:"reminderCount"`

	// The location of the requestor. Format with be two letters indicatiog operator's country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880
	// Example: `US`
	RequestorLocation *string `mandatory:"true" json:"requestorLocation"`

	// The context object containing the access request specific details.
	Context map[string]string `mandatory:"false" json:"context"`
}

AccessRequest An access request to a customer's resource. An access request is a subsidiary resource of the Lockbox entity.

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 AccessRequestActionTypeEnum

type AccessRequestActionTypeEnum string

AccessRequestActionTypeEnum Enum with underlying type: string

const (
	AccessRequestActionTypeApprove AccessRequestActionTypeEnum = "APPROVE"
	AccessRequestActionTypeDeny    AccessRequestActionTypeEnum = "DENY"
	AccessRequestActionTypeRevoke  AccessRequestActionTypeEnum = "REVOKE"
	AccessRequestActionTypeCancel  AccessRequestActionTypeEnum = "CANCEL"
)

Set of constants representing the allowable values for AccessRequestActionTypeEnum

func GetAccessRequestActionTypeEnumValues

func GetAccessRequestActionTypeEnumValues() []AccessRequestActionTypeEnum

GetAccessRequestActionTypeEnumValues Enumerates the set of values for AccessRequestActionTypeEnum

func GetMappingAccessRequestActionTypeEnum

func GetMappingAccessRequestActionTypeEnum(val string) (AccessRequestActionTypeEnum, bool)

GetMappingAccessRequestActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AccessRequestCollection

type AccessRequestCollection struct {

	// List of AccessRequestSummary.
	Items []AccessRequestSummary `mandatory:"true" json:"items"`
}

AccessRequestCollection Results of access request search. Contains both AccessRequestSummary items and other information, such as metadata.

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 AccessRequestExt added in v65.64.0

type AccessRequestExt struct {

	// The unique identifier (OCID) of the access request, which can't be changed after creation.
	Id *string `mandatory:"true" json:"id"`

	// The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
	LockboxId *string `mandatory:"true" json:"lockboxId"`

	// The name of the access request.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The rationale for requesting the access request and any other related details..
	Description *string `mandatory:"true" json:"description"`

	// The unique identifier of the requestor.
	RequestorId *string `mandatory:"true" json:"requestorId"`

	// Possible access request lifecycle states.
	LifecycleState AccessRequestExtLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Details of access request lifecycle state.
	LifecycleStateDetails AccessRequestExtLifecycleStateDetailsEnum `mandatory:"true" json:"lifecycleStateDetails"`

	// The maximum amount of time operator has access to associated resources.
	AccessDuration *string `mandatory:"true" json:"accessDuration"`

	// The actions taken by different persona on the access request, e.g. approve/deny/revoke
	ActivityLogs []ActivityLog `mandatory:"true" json:"activityLogs"`

	// The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

	// The time the access request was last reminded. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeReminded *common.SDKTime `mandatory:"true" json:"timeReminded"`

	// The count of times the access request was reminded.
	ReminderCount *int `mandatory:"true" json:"reminderCount"`

	// The location of the requestor. Format with be two letters indicatiog operator's country code defined by https://jira-sd.mc1.oracleiaas.com/browse/SSD-17880
	// Example: `US`
	RequestorLocation *string `mandatory:"true" json:"requestorLocation"`

	// The user name i.e. userId of the requestor.
	RequestorUserName *string `mandatory:"true" json:"requestorUserName"`

	// The context object containing the access request specific details.
	Context map[string]string `mandatory:"false" json:"context"`
}

AccessRequestExt An access request to a customer's resource that includes additional requestor metadata. An access request is a subsidiary resource of the Lockbox entity.

func (AccessRequestExt) String added in v65.64.0

func (m AccessRequestExt) String() string

func (AccessRequestExt) ValidateEnumValue added in v65.64.0

func (m AccessRequestExt) 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 AccessRequestExtLifecycleStateDetailsEnum added in v65.64.0

type AccessRequestExtLifecycleStateDetailsEnum string

AccessRequestExtLifecycleStateDetailsEnum Enum with underlying type: string

const (
	AccessRequestExtLifecycleStateDetailsProcessing          AccessRequestExtLifecycleStateDetailsEnum = "PROCESSING"
	AccessRequestExtLifecycleStateDetailsWaitingForApprovals AccessRequestExtLifecycleStateDetailsEnum = "WAITING_FOR_APPROVALS"
	AccessRequestExtLifecycleStateDetailsApproved            AccessRequestExtLifecycleStateDetailsEnum = "APPROVED"
	AccessRequestExtLifecycleStateDetailsAutoApproved        AccessRequestExtLifecycleStateDetailsEnum = "AUTO_APPROVED"
	AccessRequestExtLifecycleStateDetailsCancellingAccess    AccessRequestExtLifecycleStateDetailsEnum = "CANCELLING_ACCESS"
	AccessRequestExtLifecycleStateDetailsExpired             AccessRequestExtLifecycleStateDetailsEnum = "EXPIRED"
	AccessRequestExtLifecycleStateDetailsRevoked             AccessRequestExtLifecycleStateDetailsEnum = "REVOKED"
	AccessRequestExtLifecycleStateDetailsDenied              AccessRequestExtLifecycleStateDetailsEnum = "DENIED"
	AccessRequestExtLifecycleStateDetailsError               AccessRequestExtLifecycleStateDetailsEnum = "ERROR"
)

Set of constants representing the allowable values for AccessRequestExtLifecycleStateDetailsEnum

func GetAccessRequestExtLifecycleStateDetailsEnumValues added in v65.64.0

func GetAccessRequestExtLifecycleStateDetailsEnumValues() []AccessRequestExtLifecycleStateDetailsEnum

GetAccessRequestExtLifecycleStateDetailsEnumValues Enumerates the set of values for AccessRequestExtLifecycleStateDetailsEnum

func GetMappingAccessRequestExtLifecycleStateDetailsEnum added in v65.64.0

func GetMappingAccessRequestExtLifecycleStateDetailsEnum(val string) (AccessRequestExtLifecycleStateDetailsEnum, bool)

GetMappingAccessRequestExtLifecycleStateDetailsEnum performs case Insensitive comparison on enum value and return the desired enum

type AccessRequestExtLifecycleStateEnum added in v65.64.0

type AccessRequestExtLifecycleStateEnum string

AccessRequestExtLifecycleStateEnum Enum with underlying type: string

const (
	AccessRequestExtLifecycleStateInProgress AccessRequestExtLifecycleStateEnum = "IN_PROGRESS"
	AccessRequestExtLifecycleStateWaiting    AccessRequestExtLifecycleStateEnum = "WAITING"
	AccessRequestExtLifecycleStateSucceeded  AccessRequestExtLifecycleStateEnum = "SUCCEEDED"
	AccessRequestExtLifecycleStateCanceling  AccessRequestExtLifecycleStateEnum = "CANCELING"
	AccessRequestExtLifecycleStateCanceled   AccessRequestExtLifecycleStateEnum = "CANCELED"
	AccessRequestExtLifecycleStateFailed     AccessRequestExtLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AccessRequestExtLifecycleStateEnum

func GetAccessRequestExtLifecycleStateEnumValues added in v65.64.0

func GetAccessRequestExtLifecycleStateEnumValues() []AccessRequestExtLifecycleStateEnum

GetAccessRequestExtLifecycleStateEnumValues Enumerates the set of values for AccessRequestExtLifecycleStateEnum

func GetMappingAccessRequestExtLifecycleStateEnum added in v65.64.0

func GetMappingAccessRequestExtLifecycleStateEnum(val string) (AccessRequestExtLifecycleStateEnum, bool)

GetMappingAccessRequestExtLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AccessRequestLifecycleStateDetailsEnum

type AccessRequestLifecycleStateDetailsEnum string

AccessRequestLifecycleStateDetailsEnum Enum with underlying type: string

const (
	AccessRequestLifecycleStateDetailsProcessing          AccessRequestLifecycleStateDetailsEnum = "PROCESSING"
	AccessRequestLifecycleStateDetailsWaitingForApprovals AccessRequestLifecycleStateDetailsEnum = "WAITING_FOR_APPROVALS"
	AccessRequestLifecycleStateDetailsApproved            AccessRequestLifecycleStateDetailsEnum = "APPROVED"
	AccessRequestLifecycleStateDetailsAutoApproved        AccessRequestLifecycleStateDetailsEnum = "AUTO_APPROVED"
	AccessRequestLifecycleStateDetailsCancellingAccess    AccessRequestLifecycleStateDetailsEnum = "CANCELLING_ACCESS"
	AccessRequestLifecycleStateDetailsExpired             AccessRequestLifecycleStateDetailsEnum = "EXPIRED"
	AccessRequestLifecycleStateDetailsRevoked             AccessRequestLifecycleStateDetailsEnum = "REVOKED"
	AccessRequestLifecycleStateDetailsDenied              AccessRequestLifecycleStateDetailsEnum = "DENIED"
	AccessRequestLifecycleStateDetailsError               AccessRequestLifecycleStateDetailsEnum = "ERROR"
)

Set of constants representing the allowable values for AccessRequestLifecycleStateDetailsEnum

func GetAccessRequestLifecycleStateDetailsEnumValues

func GetAccessRequestLifecycleStateDetailsEnumValues() []AccessRequestLifecycleStateDetailsEnum

GetAccessRequestLifecycleStateDetailsEnumValues Enumerates the set of values for AccessRequestLifecycleStateDetailsEnum

func GetMappingAccessRequestLifecycleStateDetailsEnum

func GetMappingAccessRequestLifecycleStateDetailsEnum(val string) (AccessRequestLifecycleStateDetailsEnum, bool)

GetMappingAccessRequestLifecycleStateDetailsEnum performs case Insensitive comparison on enum value and return the desired enum

type AccessRequestLifecycleStateEnum

type AccessRequestLifecycleStateEnum string

AccessRequestLifecycleStateEnum Enum with underlying type: string

const (
	AccessRequestLifecycleStateInProgress AccessRequestLifecycleStateEnum = "IN_PROGRESS"
	AccessRequestLifecycleStateWaiting    AccessRequestLifecycleStateEnum = "WAITING"
	AccessRequestLifecycleStateSucceeded  AccessRequestLifecycleStateEnum = "SUCCEEDED"
	AccessRequestLifecycleStateCanceling  AccessRequestLifecycleStateEnum = "CANCELING"
	AccessRequestLifecycleStateCanceled   AccessRequestLifecycleStateEnum = "CANCELED"
	AccessRequestLifecycleStateFailed     AccessRequestLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AccessRequestLifecycleStateEnum

func GetAccessRequestLifecycleStateEnumValues

func GetAccessRequestLifecycleStateEnumValues() []AccessRequestLifecycleStateEnum

GetAccessRequestLifecycleStateEnumValues Enumerates the set of values for AccessRequestLifecycleStateEnum

func GetMappingAccessRequestLifecycleStateEnum

func GetMappingAccessRequestLifecycleStateEnum(val string) (AccessRequestLifecycleStateEnum, bool)

GetMappingAccessRequestLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AccessRequestSummary

type AccessRequestSummary struct {

	// The unique identifier (OCID) of the access request, which can't be changed after creation.
	Id *string `mandatory:"true" json:"id"`

	// The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation.
	LockboxId *string `mandatory:"true" json:"lockboxId"`

	// The name of the access request.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The rationale for requesting the access request.
	Description *string `mandatory:"true" json:"description"`

	// The unique identifier of the requestor.
	RequestorId *string `mandatory:"true" json:"requestorId"`

	// The current state of the access request.
	LifecycleState AccessRequestLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The time the access request was created. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time the access request was last updated. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The time the access request expired. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeExpired *common.SDKTime `mandatory:"true" json:"timeExpired"`

	// The two-char country code of the requestor while creating the access request
	// Example: `US`
	RequestorLocation *string `mandatory:"false" json:"requestorLocation"`

	// The maximum amount of time operator has access to associated resources.
	AccessDuration *string `mandatory:"false" json:"accessDuration"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

AccessRequestSummary Summary information for an 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 ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ActivityLog

type ActivityLog struct {

	// User OCID of the persona
	UserId *string `mandatory:"false" json:"userId"`

	// Level of the persona
	UserLevel PersonaLevelEnum `mandatory:"false" json:"userLevel,omitempty"`

	// The action take by persona
	Action AccessRequestActionTypeEnum `mandatory:"false" json:"action,omitempty"`

	// The action justification or details.
	Message *string `mandatory:"false" json:"message"`

	// The time the action was taken. Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

ActivityLog The log of the action taken by different persona on the access request, e.g. approve/deny/revoke

func (ActivityLog) String

func (m ActivityLog) String() string

func (ActivityLog) ValidateEnumValue

func (m ActivityLog) 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 ApprovalTemplate

type ApprovalTemplate struct {

	// The unique identifier (OCID) of the approval template, which can't be changed after creation.
	Id *string `mandatory:"true" json:"id"`

	// The approval template display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The unique identifier (OCID) of the customer compartment where the approval template is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the the approval template was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the approval template.
	LifecycleState ApprovalTemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

	// The auto approval state of the lockbox.
	AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ApprovalTemplate Group/User OCIDs of those who can approve/deny/revoke operator's request to access associated resources.

func (ApprovalTemplate) String

func (m ApprovalTemplate) String() string

func (ApprovalTemplate) ValidateEnumValue

func (m ApprovalTemplate) 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 ApprovalTemplateCollection

type ApprovalTemplateCollection struct {

	// List of ApprovalTemplateSummary.
	Items []ApprovalTemplateSummary `mandatory:"true" json:"items"`
}

ApprovalTemplateCollection Results of approval template search. Contains both ApprovalTemplateSummary items and other information, such as metadata.

func (ApprovalTemplateCollection) String

func (ApprovalTemplateCollection) ValidateEnumValue

func (m ApprovalTemplateCollection) 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 ApprovalTemplateLifecycleStateEnum

type ApprovalTemplateLifecycleStateEnum string

ApprovalTemplateLifecycleStateEnum Enum with underlying type: string

const (
	ApprovalTemplateLifecycleStateActive   ApprovalTemplateLifecycleStateEnum = "ACTIVE"
	ApprovalTemplateLifecycleStateCreating ApprovalTemplateLifecycleStateEnum = "CREATING"
	ApprovalTemplateLifecycleStateUpdating ApprovalTemplateLifecycleStateEnum = "UPDATING"
	ApprovalTemplateLifecycleStateDeleting ApprovalTemplateLifecycleStateEnum = "DELETING"
	ApprovalTemplateLifecycleStateDeleted  ApprovalTemplateLifecycleStateEnum = "DELETED"
	ApprovalTemplateLifecycleStateFailed   ApprovalTemplateLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ApprovalTemplateLifecycleStateEnum

func GetApprovalTemplateLifecycleStateEnumValues

func GetApprovalTemplateLifecycleStateEnumValues() []ApprovalTemplateLifecycleStateEnum

GetApprovalTemplateLifecycleStateEnumValues Enumerates the set of values for ApprovalTemplateLifecycleStateEnum

func GetMappingApprovalTemplateLifecycleStateEnum

func GetMappingApprovalTemplateLifecycleStateEnum(val string) (ApprovalTemplateLifecycleStateEnum, bool)

GetMappingApprovalTemplateLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ApprovalTemplateSummary

type ApprovalTemplateSummary struct {

	// The unique identifier (OCID) of the approval template, which can't be changed after creation.
	Id *string `mandatory:"true" json:"id"`

	// The approval template display name.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The unique identifier (OCID) of the customer compartment where the approval template is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The time the the approval template was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the approval template.
	LifecycleState ApprovalTemplateLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

	// The auto approval state of the lockbox.
	AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ApprovalTemplateSummary Summary info for an approval tmeplate.

func (ApprovalTemplateSummary) String

func (m ApprovalTemplateSummary) String() string

func (ApprovalTemplateSummary) ValidateEnumValue

func (m ApprovalTemplateSummary) 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 ApproverInfo

type ApproverInfo struct {

	// The approver type of this approver level.
	ApproverType ApproverTypeEnum `mandatory:"true" json:"approverType"`

	// The group or user ocid of the approver for this approver level.
	ApproverId *string `mandatory:"true" json:"approverId"`

	// The identity domain ocid of the approver.
	DomainId *string `mandatory:"false" json:"domainId"`
}

ApproverInfo The approver data for this approver level.

func (ApproverInfo) String

func (m ApproverInfo) String() string

func (ApproverInfo) ValidateEnumValue

func (m ApproverInfo) 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 ApproverLevels

type ApproverLevels struct {
	Level1 *ApproverInfo `mandatory:"true" json:"level1"`

	Level2 *ApproverInfo `mandatory:"false" json:"level2"`

	Level3 *ApproverInfo `mandatory:"false" json:"level3"`
}

ApproverLevels The approver levels.

func (ApproverLevels) String

func (m ApproverLevels) String() string

func (ApproverLevels) ValidateEnumValue

func (m ApproverLevels) 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 ApproverTypeEnum

type ApproverTypeEnum string

ApproverTypeEnum Enum with underlying type: string

const (
	ApproverTypeGroup ApproverTypeEnum = "GROUP"
	ApproverTypeUser  ApproverTypeEnum = "USER"
)

Set of constants representing the allowable values for ApproverTypeEnum

func GetApproverTypeEnumValues

func GetApproverTypeEnumValues() []ApproverTypeEnum

GetApproverTypeEnumValues Enumerates the set of values for ApproverTypeEnum

func GetMappingApproverTypeEnum

func GetMappingApproverTypeEnum(val string) (ApproverTypeEnum, bool)

GetMappingApproverTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CancelWorkRequestRequest

type CancelWorkRequestRequest struct {

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

	// 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
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

func (CancelWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) 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 CancelWorkRequestResponse

type CancelWorkRequestResponse 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"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeApprovalTemplateCompartmentDetails

type ChangeApprovalTemplateCompartmentDetails struct {

	// The unique identifier (OCID) of the compartment where the resource is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeApprovalTemplateCompartmentDetails The information to be updated.

func (ChangeApprovalTemplateCompartmentDetails) String

func (ChangeApprovalTemplateCompartmentDetails) ValidateEnumValue

func (m ChangeApprovalTemplateCompartmentDetails) 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 ChangeApprovalTemplateCompartmentRequest

type ChangeApprovalTemplateCompartmentRequest struct {

	// The unique identifier (OCID) of the approval template.
	ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

	// The information to be updated.
	ChangeApprovalTemplateCompartmentDetails `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"`

	// 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"`

	// 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
}

ChangeApprovalTemplateCompartmentRequest wrapper for the ChangeApprovalTemplateCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ChangeApprovalTemplateCompartment.go.html to see an example of how to use ChangeApprovalTemplateCompartmentRequest.

func (ChangeApprovalTemplateCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeApprovalTemplateCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeApprovalTemplateCompartmentRequest) RetryPolicy

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

func (ChangeApprovalTemplateCompartmentRequest) String

func (ChangeApprovalTemplateCompartmentRequest) ValidateEnumValue

func (request ChangeApprovalTemplateCompartmentRequest) 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 ChangeApprovalTemplateCompartmentResponse

type ChangeApprovalTemplateCompartmentResponse 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"`
}

ChangeApprovalTemplateCompartmentResponse wrapper for the ChangeApprovalTemplateCompartment operation

func (ChangeApprovalTemplateCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeApprovalTemplateCompartmentResponse) String

type ChangeLockboxCompartmentDetails

type ChangeLockboxCompartmentDetails struct {

	// The unique identifier (OCID) of the compartment where the resource is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeLockboxCompartmentDetails The information to be updated.

func (ChangeLockboxCompartmentDetails) String

func (ChangeLockboxCompartmentDetails) ValidateEnumValue

func (m ChangeLockboxCompartmentDetails) 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 ChangeLockboxCompartmentRequest

type ChangeLockboxCompartmentRequest struct {

	// unique Lockbox identifier
	LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

	// The information to be updated.
	ChangeLockboxCompartmentDetails `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"`

	// 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"`

	// 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
}

ChangeLockboxCompartmentRequest wrapper for the ChangeLockboxCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ChangeLockboxCompartment.go.html to see an example of how to use ChangeLockboxCompartmentRequest.

func (ChangeLockboxCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeLockboxCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeLockboxCompartmentRequest) RetryPolicy

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

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

func (ChangeLockboxCompartmentRequest) String

func (request ChangeLockboxCompartmentRequest) String() string

func (ChangeLockboxCompartmentRequest) ValidateEnumValue

func (request ChangeLockboxCompartmentRequest) 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 ChangeLockboxCompartmentResponse

type ChangeLockboxCompartmentResponse 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"`
}

ChangeLockboxCompartmentResponse wrapper for the ChangeLockboxCompartment operation

func (ChangeLockboxCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeLockboxCompartmentResponse) String

func (response ChangeLockboxCompartmentResponse) String() string

type CreateAccessRequestDetails

type CreateAccessRequestDetails struct {

	// The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
	LockboxId *string `mandatory:"true" json:"lockboxId"`

	// The rationale for requesting the access request.
	Description *string `mandatory:"true" json:"description"`

	// The maximum amount of time operator has access to associated resources.
	AccessDuration *string `mandatory:"true" json:"accessDuration"`

	// The name of the access request.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The context object containing the access request specific details.
	Context map[string]string `mandatory:"false" json:"context"`
}

CreateAccessRequestDetails The configuration details for a new access request. We don't accept a compartmentId parameter because it is implied to be the same as the lockbox as a subsidiary resource. The requestorId is also based on the caller user info.

func (CreateAccessRequestDetails) String

func (CreateAccessRequestDetails) ValidateEnumValue

func (m CreateAccessRequestDetails) 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 CreateAccessRequestRequest

type CreateAccessRequestRequest struct {

	// Details for the new access request.
	CreateAccessRequestDetails `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
}

CreateAccessRequestRequest wrapper for the CreateAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateAccessRequest.go.html to see an example of how to use CreateAccessRequestRequest.

func (CreateAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateAccessRequestRequest) RetryPolicy

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

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

func (CreateAccessRequestRequest) String

func (request CreateAccessRequestRequest) String() string

func (CreateAccessRequestRequest) ValidateEnumValue

func (request CreateAccessRequestRequest) 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 CreateAccessRequestResponse

type CreateAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
	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"`

	// this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
	Location *string `presentIn:"header" name:"location"`

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

CreateAccessRequestResponse wrapper for the CreateAccessRequest operation

func (CreateAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateAccessRequestResponse) String

func (response CreateAccessRequestResponse) String() string

type CreateApprovalTemplateDetails

type CreateApprovalTemplateDetails struct {

	// The unique identifier (OCID) of the compartment where the resource is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// approval template identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

	// The auto approval state of the lockbox.
	AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

CreateApprovalTemplateDetails The configuration details for a new approval template.

func (CreateApprovalTemplateDetails) String

func (CreateApprovalTemplateDetails) ValidateEnumValue

func (m CreateApprovalTemplateDetails) 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 CreateApprovalTemplateRequest

type CreateApprovalTemplateRequest struct {

	// Details for the new approval template.
	CreateApprovalTemplateDetails `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
}

CreateApprovalTemplateRequest wrapper for the CreateApprovalTemplate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateApprovalTemplate.go.html to see an example of how to use CreateApprovalTemplateRequest.

func (CreateApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateApprovalTemplateRequest) RetryPolicy

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

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

func (CreateApprovalTemplateRequest) String

func (request CreateApprovalTemplateRequest) String() string

func (CreateApprovalTemplateRequest) ValidateEnumValue

func (request CreateApprovalTemplateRequest) 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 CreateApprovalTemplateResponse

type CreateApprovalTemplateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ApprovalTemplate instance
	ApprovalTemplate `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"`

	// this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
	Location *string `presentIn:"header" name:"location"`

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

CreateApprovalTemplateResponse wrapper for the CreateApprovalTemplate operation

func (CreateApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateApprovalTemplateResponse) String

func (response CreateApprovalTemplateResponse) String() string

type CreateLockboxDetails

type CreateLockboxDetails struct {

	// The unique identifier (OCID) of the customer's resource.
	ResourceId *string `mandatory:"true" json:"resourceId"`

	// The unique identifier (OCID) of the compartment where the resource is located.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	AccessContextAttributes *AccessContextAttributeCollection `mandatory:"true" json:"accessContextAttributes"`

	// Lockbox Identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The partner using this lockbox to lock a resource.
	LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

	// The unique identifier (OCID) of partner resource using this lockbox to lock a resource
	PartnerId *string `mandatory:"false" json:"partnerId"`

	// Compartment Identifier
	PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

	// Approval template ID
	ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

	// The maximum amount of time operator has access to associated resources.
	MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

CreateLockboxDetails The information about new Lockbox.

func (CreateLockboxDetails) String

func (m CreateLockboxDetails) String() string

func (CreateLockboxDetails) ValidateEnumValue

func (m CreateLockboxDetails) 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 CreateLockboxRequest

type CreateLockboxRequest struct {

	// Details for the new Lockbox.
	CreateLockboxDetails `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
}

CreateLockboxRequest wrapper for the CreateLockbox operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateLockbox.go.html to see an example of how to use CreateLockboxRequest.

func (CreateLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLockboxRequest) RetryPolicy

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

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

func (CreateLockboxRequest) String

func (request CreateLockboxRequest) String() string

func (CreateLockboxRequest) ValidateEnumValue

func (request CreateLockboxRequest) 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 CreateLockboxResponse

type CreateLockboxResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Lockbox instance
	Lockbox `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"`

	// this contains the full URI for the get request, e.g. "https://iaas.us-phoenix-1.oraclecloud.com/20210331/lockbox/<some-ocid>"
	Location *string `presentIn:"header" name:"location"`

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

CreateLockboxResponse wrapper for the CreateLockbox operation

func (CreateLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLockboxResponse) String

func (response CreateLockboxResponse) String() string

type DeleteApprovalTemplateRequest

type DeleteApprovalTemplateRequest struct {

	// The unique identifier (OCID) of the approval template.
	ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

	// 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
}

DeleteApprovalTemplateRequest wrapper for the DeleteApprovalTemplate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/DeleteApprovalTemplate.go.html to see an example of how to use DeleteApprovalTemplateRequest.

func (DeleteApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteApprovalTemplateRequest) RetryPolicy

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

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

func (DeleteApprovalTemplateRequest) String

func (request DeleteApprovalTemplateRequest) String() string

func (DeleteApprovalTemplateRequest) ValidateEnumValue

func (request DeleteApprovalTemplateRequest) 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 DeleteApprovalTemplateResponse

type DeleteApprovalTemplateResponse 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"`
}

DeleteApprovalTemplateResponse wrapper for the DeleteApprovalTemplate operation

func (DeleteApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteApprovalTemplateResponse) String

func (response DeleteApprovalTemplateResponse) String() string

type DeleteLockboxRequest

type DeleteLockboxRequest struct {

	// unique Lockbox identifier
	LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

	// 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"`

	// 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"`

	// 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
}

DeleteLockboxRequest wrapper for the DeleteLockbox operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/DeleteLockbox.go.html to see an example of how to use DeleteLockboxRequest.

func (DeleteLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLockboxRequest) RetryPolicy

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

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

func (DeleteLockboxRequest) String

func (request DeleteLockboxRequest) String() string

func (DeleteLockboxRequest) ValidateEnumValue

func (request DeleteLockboxRequest) 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 DeleteLockboxResponse

type DeleteLockboxResponse 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"`
}

DeleteLockboxResponse wrapper for the DeleteLockbox operation

func (DeleteLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLockboxResponse) String

func (response DeleteLockboxResponse) String() string

type ExportAccessRequestsDetails added in v65.50.0

type ExportAccessRequestsDetails struct {

	// The unique identifier (OCID) of the lockbox box that the access request is associated with which is immutable.
	LockboxId *string `mandatory:"true" json:"lockboxId"`

	// Date and time after which access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
	TimeCreatedAfter *common.SDKTime `mandatory:"true" json:"timeCreatedAfter"`

	// Date and time before which access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)s
	TimeCreatedBefore *common.SDKTime `mandatory:"true" json:"timeCreatedBefore"`
}

ExportAccessRequestsDetails Details for generating report of Access Requests to export action

func (ExportAccessRequestsDetails) String added in v65.50.0

func (ExportAccessRequestsDetails) ValidateEnumValue added in v65.50.0

func (m ExportAccessRequestsDetails) 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 ExportAccessRequestsLockboxPartnerEnum added in v65.50.0

type ExportAccessRequestsLockboxPartnerEnum string

ExportAccessRequestsLockboxPartnerEnum Enum with underlying type: string

const (
	ExportAccessRequestsLockboxPartnerFaaas  ExportAccessRequestsLockboxPartnerEnum = "FAAAS"
	ExportAccessRequestsLockboxPartnerCanary ExportAccessRequestsLockboxPartnerEnum = "CANARY"
)

Set of constants representing the allowable values for ExportAccessRequestsLockboxPartnerEnum

func GetExportAccessRequestsLockboxPartnerEnumValues added in v65.50.0

func GetExportAccessRequestsLockboxPartnerEnumValues() []ExportAccessRequestsLockboxPartnerEnum

GetExportAccessRequestsLockboxPartnerEnumValues Enumerates the set of values for ExportAccessRequestsLockboxPartnerEnum

func GetMappingExportAccessRequestsLockboxPartnerEnum added in v65.50.0

func GetMappingExportAccessRequestsLockboxPartnerEnum(val string) (ExportAccessRequestsLockboxPartnerEnum, bool)

GetMappingExportAccessRequestsLockboxPartnerEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportAccessRequestsRequest added in v65.50.0

type ExportAccessRequestsRequest struct {

	// Exports the list of access requests for given date range in text format
	ExportAccessRequestsDetails `contributesTo:"body"`

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

	// A generic Id query param used to filter lockbox, access request and approval template by Id.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

	// The name of the lockbox partner.
	LockboxPartner ExportAccessRequestsLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

	// The ID of the partner.
	PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

	// The unique identifier (OCID) of the requestor in which to list resources.
	RequestorId *string `mandatory:"false" contributesTo:"query" name:"requestorId"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ExportAccessRequestsSortOrderEnum `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.
	SortBy ExportAccessRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

ExportAccessRequestsRequest wrapper for the ExportAccessRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ExportAccessRequests.go.html to see an example of how to use ExportAccessRequestsRequest.

func (ExportAccessRequestsRequest) BinaryRequestBody added in v65.50.0

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

BinaryRequestBody implements the OCIRequest interface

func (ExportAccessRequestsRequest) HTTPRequest added in v65.50.0

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

HTTPRequest implements the OCIRequest interface

func (ExportAccessRequestsRequest) RetryPolicy added in v65.50.0

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

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

func (ExportAccessRequestsRequest) String added in v65.50.0

func (request ExportAccessRequestsRequest) String() string

func (ExportAccessRequestsRequest) ValidateEnumValue added in v65.50.0

func (request ExportAccessRequestsRequest) 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 ExportAccessRequestsResponse added in v65.50.0

type ExportAccessRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of io.ReadCloser instances
	Content io.ReadCloser `presentIn:"body" encoding:"binary"`

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

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

ExportAccessRequestsResponse wrapper for the ExportAccessRequests operation

func (ExportAccessRequestsResponse) HTTPResponse added in v65.50.0

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

HTTPResponse implements the OCIResponse interface

func (ExportAccessRequestsResponse) String added in v65.50.0

func (response ExportAccessRequestsResponse) String() string

type ExportAccessRequestsSortByEnum added in v65.50.0

type ExportAccessRequestsSortByEnum string

ExportAccessRequestsSortByEnum Enum with underlying type: string

const (
	ExportAccessRequestsSortByTimecreated ExportAccessRequestsSortByEnum = "timeCreated"
	ExportAccessRequestsSortByDisplayname ExportAccessRequestsSortByEnum = "displayName"
	ExportAccessRequestsSortById          ExportAccessRequestsSortByEnum = "id"
)

Set of constants representing the allowable values for ExportAccessRequestsSortByEnum

func GetExportAccessRequestsSortByEnumValues added in v65.50.0

func GetExportAccessRequestsSortByEnumValues() []ExportAccessRequestsSortByEnum

GetExportAccessRequestsSortByEnumValues Enumerates the set of values for ExportAccessRequestsSortByEnum

func GetMappingExportAccessRequestsSortByEnum added in v65.50.0

func GetMappingExportAccessRequestsSortByEnum(val string) (ExportAccessRequestsSortByEnum, bool)

GetMappingExportAccessRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ExportAccessRequestsSortOrderEnum added in v65.50.0

type ExportAccessRequestsSortOrderEnum string

ExportAccessRequestsSortOrderEnum Enum with underlying type: string

const (
	ExportAccessRequestsSortOrderAsc  ExportAccessRequestsSortOrderEnum = "ASC"
	ExportAccessRequestsSortOrderDesc ExportAccessRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ExportAccessRequestsSortOrderEnum

func GetExportAccessRequestsSortOrderEnumValues added in v65.50.0

func GetExportAccessRequestsSortOrderEnumValues() []ExportAccessRequestsSortOrderEnum

GetExportAccessRequestsSortOrderEnumValues Enumerates the set of values for ExportAccessRequestsSortOrderEnum

func GetMappingExportAccessRequestsSortOrderEnum added in v65.50.0

func GetMappingExportAccessRequestsSortOrderEnum(val string) (ExportAccessRequestsSortOrderEnum, bool)

GetMappingExportAccessRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type GetAccessMaterialsRequest

type GetAccessMaterialsRequest struct {

	// The unique identifier (OCID) of the access request.
	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
}

GetAccessMaterialsRequest wrapper for the GetAccessMaterials operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetAccessMaterials.go.html to see an example of how to use GetAccessMaterialsRequest.

func (GetAccessMaterialsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessMaterialsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessMaterialsRequest) RetryPolicy

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

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

func (GetAccessMaterialsRequest) String

func (request GetAccessMaterialsRequest) String() string

func (GetAccessMaterialsRequest) ValidateEnumValue

func (request GetAccessMaterialsRequest) 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 GetAccessMaterialsResponse

type GetAccessMaterialsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AccessMaterials instance
	AccessMaterials `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"`
}

GetAccessMaterialsResponse wrapper for the GetAccessMaterials operation

func (GetAccessMaterialsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessMaterialsResponse) String

func (response GetAccessMaterialsResponse) String() string

type GetAccessRequestInternalRequest added in v65.64.0

type GetAccessRequestInternalRequest struct {

	// The unique identifier (OCID) of the access request.
	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
}

GetAccessRequestInternalRequest wrapper for the GetAccessRequestInternal operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetAccessRequestInternal.go.html to see an example of how to use GetAccessRequestInternalRequest.

func (GetAccessRequestInternalRequest) BinaryRequestBody added in v65.64.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessRequestInternalRequest) HTTPRequest added in v65.64.0

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

HTTPRequest implements the OCIRequest interface

func (GetAccessRequestInternalRequest) RetryPolicy added in v65.64.0

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

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

func (GetAccessRequestInternalRequest) String added in v65.64.0

func (request GetAccessRequestInternalRequest) String() string

func (GetAccessRequestInternalRequest) ValidateEnumValue added in v65.64.0

func (request GetAccessRequestInternalRequest) 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 GetAccessRequestInternalResponse added in v65.64.0

type GetAccessRequestInternalResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The AccessRequestExt instance
	AccessRequestExt `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"`
}

GetAccessRequestInternalResponse wrapper for the GetAccessRequestInternal operation

func (GetAccessRequestInternalResponse) HTTPResponse added in v65.64.0

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

HTTPResponse implements the OCIResponse interface

func (GetAccessRequestInternalResponse) String added in v65.64.0

func (response GetAccessRequestInternalResponse) String() string

type GetAccessRequestRequest

type GetAccessRequestRequest struct {

	// The unique identifier (OCID) of the access request.
	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/lockbox/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"`

	// 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"`
}

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 GetApprovalTemplateRequest

type GetApprovalTemplateRequest struct {

	// The unique identifier (OCID) of the approval template.
	ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

	// 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
}

GetApprovalTemplateRequest wrapper for the GetApprovalTemplate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetApprovalTemplate.go.html to see an example of how to use GetApprovalTemplateRequest.

func (GetApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetApprovalTemplateRequest) RetryPolicy

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

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

func (GetApprovalTemplateRequest) String

func (request GetApprovalTemplateRequest) String() string

func (GetApprovalTemplateRequest) ValidateEnumValue

func (request GetApprovalTemplateRequest) 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 GetApprovalTemplateResponse

type GetApprovalTemplateResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The ApprovalTemplate instance
	ApprovalTemplate `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"`
}

GetApprovalTemplateResponse wrapper for the GetApprovalTemplate operation

func (GetApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetApprovalTemplateResponse) String

func (response GetApprovalTemplateResponse) String() string

type GetLockboxRequest

type GetLockboxRequest struct {

	// unique Lockbox identifier
	LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

	// 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
}

GetLockboxRequest wrapper for the GetLockbox operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetLockbox.go.html to see an example of how to use GetLockboxRequest.

func (GetLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLockboxRequest) RetryPolicy

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

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

func (GetLockboxRequest) String

func (request GetLockboxRequest) String() string

func (GetLockboxRequest) ValidateEnumValue

func (request GetLockboxRequest) 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 GetLockboxResponse

type GetLockboxResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Lockbox instance
	Lockbox `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"`
}

GetLockboxResponse wrapper for the GetLockbox operation

func (GetLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLockboxResponse) String

func (response GetLockboxResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

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

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) 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 GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The WorkRequest instance
	WorkRequest `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"`

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HandleAccessRequestDetails

type HandleAccessRequestDetails struct {

	// The action take by persona
	Action AccessRequestActionTypeEnum `mandatory:"true" json:"action"`

	// Action justification or details.
	Message *string `mandatory:"false" json:"message"`
}

HandleAccessRequestDetails The details for handling access request.

func (HandleAccessRequestDetails) String

func (HandleAccessRequestDetails) ValidateEnumValue

func (m HandleAccessRequestDetails) 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 HandleAccessRequestRequest

type HandleAccessRequestRequest struct {

	// The unique identifier (OCID) of the access request.
	AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"`

	// The details of handling access request
	HandleAccessRequestDetails `contributesTo:"body"`

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

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

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

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

HandleAccessRequestRequest wrapper for the HandleAccessRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/HandleAccessRequest.go.html to see an example of how to use HandleAccessRequestRequest.

func (HandleAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (HandleAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (HandleAccessRequestRequest) RetryPolicy

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

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

func (HandleAccessRequestRequest) String

func (request HandleAccessRequestRequest) String() string

func (HandleAccessRequestRequest) ValidateEnumValue

func (request HandleAccessRequestRequest) 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 HandleAccessRequestResponse

type HandleAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status.
	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"`
}

HandleAccessRequestResponse wrapper for the HandleAccessRequest operation

func (HandleAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (HandleAccessRequestResponse) String

func (response HandleAccessRequestResponse) String() string

type ListAccessRequestsLockboxPartnerEnum

type ListAccessRequestsLockboxPartnerEnum string

ListAccessRequestsLockboxPartnerEnum Enum with underlying type: string

const (
	ListAccessRequestsLockboxPartnerFaaas  ListAccessRequestsLockboxPartnerEnum = "FAAAS"
	ListAccessRequestsLockboxPartnerCanary ListAccessRequestsLockboxPartnerEnum = "CANARY"
)

Set of constants representing the allowable values for ListAccessRequestsLockboxPartnerEnum

func GetListAccessRequestsLockboxPartnerEnumValues

func GetListAccessRequestsLockboxPartnerEnumValues() []ListAccessRequestsLockboxPartnerEnum

GetListAccessRequestsLockboxPartnerEnumValues Enumerates the set of values for ListAccessRequestsLockboxPartnerEnum

func GetMappingListAccessRequestsLockboxPartnerEnum

func GetMappingListAccessRequestsLockboxPartnerEnum(val string) (ListAccessRequestsLockboxPartnerEnum, bool)

GetMappingListAccessRequestsLockboxPartnerEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAccessRequestsRequest

type ListAccessRequestsRequest struct {

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

	// The unique identifier (OCID) of the associated lockbox.
	LockboxId *string `mandatory:"false" contributesTo:"query" name:"lockboxId"`

	// A generic Id query param used to filter lockbox, access request and approval template by Id.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

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

	// The name of the lockbox partner.
	LockboxPartner ListAccessRequestsLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

	// The ID of the partner.
	PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

	// The unique identifier (OCID) of the requestor in which to list resources.
	RequestorId *string `mandatory:"false" contributesTo:"query" name:"requestorId"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	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.
	SortBy ListAccessRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// Date and time on or after which Access Requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
	TimeCreatedAfter *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedAfter"`

	// Date and time on or before which Access requests were created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339)
	TimeCreatedBefore *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedBefore"`

	// 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/lockbox/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"
	ListAccessRequestsSortById          ListAccessRequestsSortByEnum = "id"
)

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 ListApprovalTemplatesRequest

type ListApprovalTemplatesRequest struct {

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

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

	// A generic Id query param used to filter lockbox, access request and approval template by Id.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

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

	// A filter to return only resources for which their lifecycleState matches the given lifecycleState.
	LifecycleState ApprovalTemplateLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListApprovalTemplatesSortOrderEnum `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.
	SortBy ListApprovalTemplatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

ListApprovalTemplatesRequest wrapper for the ListApprovalTemplates operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListApprovalTemplates.go.html to see an example of how to use ListApprovalTemplatesRequest.

func (ListApprovalTemplatesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListApprovalTemplatesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListApprovalTemplatesRequest) RetryPolicy

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

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

func (ListApprovalTemplatesRequest) String

func (request ListApprovalTemplatesRequest) String() string

func (ListApprovalTemplatesRequest) ValidateEnumValue

func (request ListApprovalTemplatesRequest) 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 ListApprovalTemplatesResponse

type ListApprovalTemplatesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ApprovalTemplateCollection instances
	ApprovalTemplateCollection `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"`
}

ListApprovalTemplatesResponse wrapper for the ListApprovalTemplates operation

func (ListApprovalTemplatesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListApprovalTemplatesResponse) String

func (response ListApprovalTemplatesResponse) String() string

type ListApprovalTemplatesSortByEnum

type ListApprovalTemplatesSortByEnum string

ListApprovalTemplatesSortByEnum Enum with underlying type: string

const (
	ListApprovalTemplatesSortByTimecreated ListApprovalTemplatesSortByEnum = "timeCreated"
	ListApprovalTemplatesSortByDisplayname ListApprovalTemplatesSortByEnum = "displayName"
	ListApprovalTemplatesSortById          ListApprovalTemplatesSortByEnum = "id"
)

Set of constants representing the allowable values for ListApprovalTemplatesSortByEnum

func GetListApprovalTemplatesSortByEnumValues

func GetListApprovalTemplatesSortByEnumValues() []ListApprovalTemplatesSortByEnum

GetListApprovalTemplatesSortByEnumValues Enumerates the set of values for ListApprovalTemplatesSortByEnum

func GetMappingListApprovalTemplatesSortByEnum

func GetMappingListApprovalTemplatesSortByEnum(val string) (ListApprovalTemplatesSortByEnum, bool)

GetMappingListApprovalTemplatesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListApprovalTemplatesSortOrderEnum

type ListApprovalTemplatesSortOrderEnum string

ListApprovalTemplatesSortOrderEnum Enum with underlying type: string

const (
	ListApprovalTemplatesSortOrderAsc  ListApprovalTemplatesSortOrderEnum = "ASC"
	ListApprovalTemplatesSortOrderDesc ListApprovalTemplatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListApprovalTemplatesSortOrderEnum

func GetListApprovalTemplatesSortOrderEnumValues

func GetListApprovalTemplatesSortOrderEnumValues() []ListApprovalTemplatesSortOrderEnum

GetListApprovalTemplatesSortOrderEnumValues Enumerates the set of values for ListApprovalTemplatesSortOrderEnum

func GetMappingListApprovalTemplatesSortOrderEnum

func GetMappingListApprovalTemplatesSortOrderEnum(val string) (ListApprovalTemplatesSortOrderEnum, bool)

GetMappingListApprovalTemplatesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLockboxesLockboxPartnerEnum

type ListLockboxesLockboxPartnerEnum string

ListLockboxesLockboxPartnerEnum Enum with underlying type: string

const (
	ListLockboxesLockboxPartnerFaaas  ListLockboxesLockboxPartnerEnum = "FAAAS"
	ListLockboxesLockboxPartnerCanary ListLockboxesLockboxPartnerEnum = "CANARY"
)

Set of constants representing the allowable values for ListLockboxesLockboxPartnerEnum

func GetListLockboxesLockboxPartnerEnumValues

func GetListLockboxesLockboxPartnerEnumValues() []ListLockboxesLockboxPartnerEnum

GetListLockboxesLockboxPartnerEnumValues Enumerates the set of values for ListLockboxesLockboxPartnerEnum

func GetMappingListLockboxesLockboxPartnerEnum

func GetMappingListLockboxesLockboxPartnerEnum(val string) (ListLockboxesLockboxPartnerEnum, bool)

GetMappingListLockboxesLockboxPartnerEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLockboxesRequest

type ListLockboxesRequest struct {

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

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

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

	// unique Lockbox identifier
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// The ID of the resource associated with the lockbox.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// The name of the lockbox partner.
	LockboxPartner ListLockboxesLockboxPartnerEnum `mandatory:"false" contributesTo:"query" name:"lockboxPartner" omitEmpty:"true"`

	// The ID of the partner.
	PartnerId *string `mandatory:"false" contributesTo:"query" name:"partnerId"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListLockboxesSortOrderEnum `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.
	SortBy ListLockboxesSortByEnum `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
}

ListLockboxesRequest wrapper for the ListLockboxes operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListLockboxes.go.html to see an example of how to use ListLockboxesRequest.

func (ListLockboxesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLockboxesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLockboxesRequest) RetryPolicy

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

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

func (ListLockboxesRequest) String

func (request ListLockboxesRequest) String() string

func (ListLockboxesRequest) ValidateEnumValue

func (request ListLockboxesRequest) 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 ListLockboxesResponse

type ListLockboxesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of LockboxCollection instances
	LockboxCollection `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"`
}

ListLockboxesResponse wrapper for the ListLockboxes operation

func (ListLockboxesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLockboxesResponse) String

func (response ListLockboxesResponse) String() string

type ListLockboxesSortByEnum

type ListLockboxesSortByEnum string

ListLockboxesSortByEnum Enum with underlying type: string

const (
	ListLockboxesSortByTimecreated ListLockboxesSortByEnum = "timeCreated"
	ListLockboxesSortByDisplayname ListLockboxesSortByEnum = "displayName"
	ListLockboxesSortById          ListLockboxesSortByEnum = "id"
)

Set of constants representing the allowable values for ListLockboxesSortByEnum

func GetListLockboxesSortByEnumValues

func GetListLockboxesSortByEnumValues() []ListLockboxesSortByEnum

GetListLockboxesSortByEnumValues Enumerates the set of values for ListLockboxesSortByEnum

func GetMappingListLockboxesSortByEnum

func GetMappingListLockboxesSortByEnum(val string) (ListLockboxesSortByEnum, bool)

GetMappingListLockboxesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListLockboxesSortOrderEnum

type ListLockboxesSortOrderEnum string

ListLockboxesSortOrderEnum Enum with underlying type: string

const (
	ListLockboxesSortOrderAsc  ListLockboxesSortOrderEnum = "ASC"
	ListLockboxesSortOrderDesc ListLockboxesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLockboxesSortOrderEnum

func GetListLockboxesSortOrderEnumValues

func GetListLockboxesSortOrderEnumValues() []ListLockboxesSortOrderEnum

GetListLockboxesSortOrderEnumValues Enumerates the set of values for ListLockboxesSortOrderEnum

func GetMappingListLockboxesSortOrderEnum

func GetMappingListLockboxesSortOrderEnum(val string) (ListLockboxesSortOrderEnum, bool)

GetMappingListLockboxesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) 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 ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestErrorCollection instances
	WorkRequestErrorCollection `presentIn:"body"`

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

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

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) 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 ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestLogEntryCollection instances
	WorkRequestLogEntryCollection `presentIn:"body"`

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

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

	// The ID of the asynchronous work request.
	WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

	// A filter to return only resources their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The ID of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

	// A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

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

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) 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 ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestSummaryCollection instances
	WorkRequestSummaryCollection `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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
	ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type Lockbox

type Lockbox struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Lockbox Identifier, can be renamed
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The unique identifier (OCID) of associated resource that the lockbox is created for.
	ResourceId *string `mandatory:"true" json:"resourceId"`

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

	// The current state of the Lockbox.
	LifecycleState LockboxLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

	// The unique identifier (OCID) of partner resource using this lockbox to lock a resource
	PartnerId *string `mandatory:"false" json:"partnerId"`

	// The unique identifier (OCID) of lockbox resource using to reference parent lockbox in hybrid oma setup
	ParentLockboxId *string `mandatory:"false" json:"parentLockboxId"`

	// Compartment Identifier
	PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

	// The partner using this lockbox to lock a resource.
	LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

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

	AccessContextAttributes *AccessContextAttributeCollection `mandatory:"false" json:"accessContextAttributes"`

	// Approval template ID
	ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

	// The maximum amount of time operator has access to associated resources.
	MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Lockbox Description of Lockbox.

func (Lockbox) String

func (m Lockbox) String() string

func (Lockbox) ValidateEnumValue

func (m Lockbox) 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 LockboxAutoApprovalStateEnum

type LockboxAutoApprovalStateEnum string

LockboxAutoApprovalStateEnum Enum with underlying type: string

const (
	LockboxAutoApprovalStateEnabled  LockboxAutoApprovalStateEnum = "ENABLED"
	LockboxAutoApprovalStateDisabled LockboxAutoApprovalStateEnum = "DISABLED"
)

Set of constants representing the allowable values for LockboxAutoApprovalStateEnum

func GetLockboxAutoApprovalStateEnumValues

func GetLockboxAutoApprovalStateEnumValues() []LockboxAutoApprovalStateEnum

GetLockboxAutoApprovalStateEnumValues Enumerates the set of values for LockboxAutoApprovalStateEnum

func GetMappingLockboxAutoApprovalStateEnum

func GetMappingLockboxAutoApprovalStateEnum(val string) (LockboxAutoApprovalStateEnum, bool)

GetMappingLockboxAutoApprovalStateEnum performs case Insensitive comparison on enum value and return the desired enum

type LockboxClient

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

LockboxClient a client for Lockbox

func NewLockboxClientWithConfigurationProvider

func NewLockboxClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LockboxClient, err error)

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

func NewLockboxClientWithOboToken

func NewLockboxClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LockboxClient, err error)

NewLockboxClientWithOboToken Creates a new default Lockbox 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 (LockboxClient) CancelWorkRequest

func (client LockboxClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels the work request with the given ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (LockboxClient) ChangeApprovalTemplateCompartment

func (client LockboxClient) ChangeApprovalTemplateCompartment(ctx context.Context, request ChangeApprovalTemplateCompartmentRequest) (response ChangeApprovalTemplateCompartmentResponse, err error)

ChangeApprovalTemplateCompartment Moves an ApprovalTemplate resource from one compartment identifier to another. 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/lockbox/ChangeApprovalTemplateCompartment.go.html to see an example of how to use ChangeApprovalTemplateCompartment API. A default retry strategy applies to this operation ChangeApprovalTemplateCompartment()

func (LockboxClient) ChangeLockboxCompartment

func (client LockboxClient) ChangeLockboxCompartment(ctx context.Context, request ChangeLockboxCompartmentRequest) (response ChangeLockboxCompartmentResponse, err error)

ChangeLockboxCompartment Moves a Lockbox resource from one compartment identifier to another. 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/lockbox/ChangeLockboxCompartment.go.html to see an example of how to use ChangeLockboxCompartment API. A default retry strategy applies to this operation ChangeLockboxCompartment()

func (*LockboxClient) ConfigurationProvider

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

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

func (LockboxClient) CreateAccessRequest

func (client LockboxClient) CreateAccessRequest(ctx context.Context, request CreateAccessRequestRequest) (response CreateAccessRequestResponse, err error)

CreateAccessRequest Creates a new access request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateAccessRequest.go.html to see an example of how to use CreateAccessRequest API. A default retry strategy applies to this operation CreateAccessRequest()

func (LockboxClient) CreateApprovalTemplate

func (client LockboxClient) CreateApprovalTemplate(ctx context.Context, request CreateApprovalTemplateRequest) (response CreateApprovalTemplateResponse, err error)

CreateApprovalTemplate Creates a new approval template.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateApprovalTemplate.go.html to see an example of how to use CreateApprovalTemplate API. A default retry strategy applies to this operation CreateApprovalTemplate()

func (LockboxClient) CreateLockbox

func (client LockboxClient) CreateLockbox(ctx context.Context, request CreateLockboxRequest) (response CreateLockboxResponse, err error)

CreateLockbox Creates a new Lockbox.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/CreateLockbox.go.html to see an example of how to use CreateLockbox API. A default retry strategy applies to this operation CreateLockbox()

func (LockboxClient) DeleteApprovalTemplate

func (client LockboxClient) DeleteApprovalTemplate(ctx context.Context, request DeleteApprovalTemplateRequest) (response DeleteApprovalTemplateResponse, err error)

DeleteApprovalTemplate Deletes an ApprovalTemplate resource by identifier

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/DeleteApprovalTemplate.go.html to see an example of how to use DeleteApprovalTemplate API. A default retry strategy applies to this operation DeleteApprovalTemplate()

func (LockboxClient) DeleteLockbox

func (client LockboxClient) DeleteLockbox(ctx context.Context, request DeleteLockboxRequest) (response DeleteLockboxResponse, err error)

DeleteLockbox Deletes a Lockbox resource by identifier

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/DeleteLockbox.go.html to see an example of how to use DeleteLockbox API. A default retry strategy applies to this operation DeleteLockbox()

func (LockboxClient) ExportAccessRequests added in v65.50.0

func (client LockboxClient) ExportAccessRequests(ctx context.Context, request ExportAccessRequestsRequest) (response ExportAccessRequestsResponse, err error)

ExportAccessRequests Exports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format. You can filter the results by problem severity.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ExportAccessRequests.go.html to see an example of how to use ExportAccessRequests API. A default retry strategy applies to this operation ExportAccessRequests()

func (LockboxClient) GetAccessMaterials

func (client LockboxClient) GetAccessMaterials(ctx context.Context, request GetAccessMaterialsRequest) (response GetAccessMaterialsResponse, err error)

GetAccessMaterials Retrieves the access credential/material associated with the access request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetAccessMaterials.go.html to see an example of how to use GetAccessMaterials API. A default retry strategy applies to this operation GetAccessMaterials()

func (LockboxClient) GetAccessRequest

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

GetAccessRequest Retrieves an access request identified by the access request ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetAccessRequest.go.html to see an example of how to use GetAccessRequest API. A default retry strategy applies to this operation GetAccessRequest()

func (LockboxClient) GetAccessRequestInternal added in v65.64.0

func (client LockboxClient) GetAccessRequestInternal(ctx context.Context, request GetAccessRequestInternalRequest) (response GetAccessRequestInternalResponse, err error)

GetAccessRequestInternal Retrieves an access request identified by the access request ID for internal use.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetAccessRequestInternal.go.html to see an example of how to use GetAccessRequestInternal API. A default retry strategy applies to this operation GetAccessRequestInternal()

func (LockboxClient) GetApprovalTemplate

func (client LockboxClient) GetApprovalTemplate(ctx context.Context, request GetApprovalTemplateRequest) (response GetApprovalTemplateResponse, err error)

GetApprovalTemplate Retrieves an approval template identified by the approval template ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetApprovalTemplate.go.html to see an example of how to use GetApprovalTemplate API. A default retry strategy applies to this operation GetApprovalTemplate()

func (LockboxClient) GetLockbox

func (client LockboxClient) GetLockbox(ctx context.Context, request GetLockboxRequest) (response GetLockboxResponse, err error)

GetLockbox Gets a Lockbox by identifier

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetLockbox.go.html to see an example of how to use GetLockbox API. A default retry strategy applies to this operation GetLockbox()

func (LockboxClient) GetWorkRequest

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (LockboxClient) HandleAccessRequest

func (client LockboxClient) HandleAccessRequest(ctx context.Context, request HandleAccessRequestRequest) (response HandleAccessRequestResponse, err error)

HandleAccessRequest Handle the AccessRequest

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/HandleAccessRequest.go.html to see an example of how to use HandleAccessRequest API. A default retry strategy applies to this operation HandleAccessRequest()

func (LockboxClient) ListAccessRequests

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

ListAccessRequests Retrieves a list of AccessRequestSummary objects in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListAccessRequests.go.html to see an example of how to use ListAccessRequests API. A default retry strategy applies to this operation ListAccessRequests()

func (LockboxClient) ListApprovalTemplates

func (client LockboxClient) ListApprovalTemplates(ctx context.Context, request ListApprovalTemplatesRequest) (response ListApprovalTemplatesResponse, err error)

ListApprovalTemplates Retrieves a list of ApprovalTemplateSummary objects in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListApprovalTemplates.go.html to see an example of how to use ListApprovalTemplates API. A default retry strategy applies to this operation ListApprovalTemplates()

func (LockboxClient) ListLockboxes

func (client LockboxClient) ListLockboxes(ctx context.Context, request ListLockboxesRequest) (response ListLockboxesResponse, err error)

ListLockboxes Returns a list of Lockboxes.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListLockboxes.go.html to see an example of how to use ListLockboxes API. A default retry strategy applies to this operation ListLockboxes()

func (LockboxClient) ListWorkRequestErrors

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

ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (LockboxClient) ListWorkRequestLogs

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

ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (LockboxClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*LockboxClient) SetRegion

func (client *LockboxClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (LockboxClient) UpdateApprovalTemplate

func (client LockboxClient) UpdateApprovalTemplate(ctx context.Context, request UpdateApprovalTemplateRequest) (response UpdateApprovalTemplateResponse, err error)

UpdateApprovalTemplate Updates the ApprovalTemplate

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/UpdateApprovalTemplate.go.html to see an example of how to use UpdateApprovalTemplate API. A default retry strategy applies to this operation UpdateApprovalTemplate()

func (LockboxClient) UpdateLockbox

func (client LockboxClient) UpdateLockbox(ctx context.Context, request UpdateLockboxRequest) (response UpdateLockboxResponse, err error)

UpdateLockbox Updates the Lockbox

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/UpdateLockbox.go.html to see an example of how to use UpdateLockbox API. A default retry strategy applies to this operation UpdateLockbox()

type LockboxCollection

type LockboxCollection struct {

	// List of lockboxes.
	Items []LockboxSummary `mandatory:"true" json:"items"`
}

LockboxCollection Results of a lockbox search. Contains both LockboxSummary items and other information, such as metadata.

func (LockboxCollection) String

func (m LockboxCollection) String() string

func (LockboxCollection) ValidateEnumValue

func (m LockboxCollection) 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 LockboxLifecycleStateEnum

type LockboxLifecycleStateEnum string

LockboxLifecycleStateEnum Enum with underlying type: string

const (
	LockboxLifecycleStateActive   LockboxLifecycleStateEnum = "ACTIVE"
	LockboxLifecycleStateCreating LockboxLifecycleStateEnum = "CREATING"
	LockboxLifecycleStateUpdating LockboxLifecycleStateEnum = "UPDATING"
	LockboxLifecycleStateDeleting LockboxLifecycleStateEnum = "DELETING"
	LockboxLifecycleStateDeleted  LockboxLifecycleStateEnum = "DELETED"
	LockboxLifecycleStateFailed   LockboxLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LockboxLifecycleStateEnum

func GetLockboxLifecycleStateEnumValues

func GetLockboxLifecycleStateEnumValues() []LockboxLifecycleStateEnum

GetLockboxLifecycleStateEnumValues Enumerates the set of values for LockboxLifecycleStateEnum

func GetMappingLockboxLifecycleStateEnum

func GetMappingLockboxLifecycleStateEnum(val string) (LockboxLifecycleStateEnum, bool)

GetMappingLockboxLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type LockboxPartnerEnum

type LockboxPartnerEnum string

LockboxPartnerEnum Enum with underlying type: string

const (
	LockboxPartnerFaaas  LockboxPartnerEnum = "FAAAS"
	LockboxPartnerCanary LockboxPartnerEnum = "CANARY"
)

Set of constants representing the allowable values for LockboxPartnerEnum

func GetLockboxPartnerEnumValues

func GetLockboxPartnerEnumValues() []LockboxPartnerEnum

GetLockboxPartnerEnumValues Enumerates the set of values for LockboxPartnerEnum

func GetMappingLockboxPartnerEnum

func GetMappingLockboxPartnerEnum(val string) (LockboxPartnerEnum, bool)

GetMappingLockboxPartnerEnum performs case Insensitive comparison on enum value and return the desired enum

type LockboxSummary

type LockboxSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Lockbox Identifier, can be renamed
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The unique identifier (OCID) of associated resource that the lockbox is created for.
	ResourceId *string `mandatory:"true" json:"resourceId"`

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

	// The current state of the Lockbox.
	LifecycleState LockboxLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

	// The partner using this lockbox to lock a resource.
	LockboxPartner LockboxPartnerEnum `mandatory:"false" json:"lockboxPartner,omitempty"`

	// The unique identifier (OCID) of partner resource using this lockbox to lock a resource
	PartnerId *string `mandatory:"false" json:"partnerId"`

	// Compartment Identifier
	PartnerCompartmentId *string `mandatory:"false" json:"partnerCompartmentId"`

	// Approval template ID
	ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

	// The maximum amount of time operator has access to associated resources.
	MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

LockboxSummary Summary of the Lockbox.

func (LockboxSummary) String

func (m LockboxSummary) String() string

func (LockboxSummary) ValidateEnumValue

func (m LockboxSummary) 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 OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting        OperationStatusEnum = "WAITING"
	OperationStatusFailed         OperationStatusEnum = "FAILED"
	OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling      OperationStatusEnum = "CANCELING"
	OperationStatusCanceled       OperationStatusEnum = "CANCELED"
	OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateLockbox                OperationTypeEnum = "CREATE_LOCKBOX"
	OperationTypeUpdateLockbox                OperationTypeEnum = "UPDATE_LOCKBOX"
	OperationTypeDeleteLockbox                OperationTypeEnum = "DELETE_LOCKBOX"
	OperationTypeMoveLockbox                  OperationTypeEnum = "MOVE_LOCKBOX"
	OperationTypeCreateAccessRequest          OperationTypeEnum = "CREATE_ACCESS_REQUEST"
	OperationTypeApproveAccessRequest         OperationTypeEnum = "APPROVE_ACCESS_REQUEST"
	OperationTypeRevokeAccessRequest          OperationTypeEnum = "REVOKE_ACCESS_REQUEST"
	OperationTypeCreateApprovalTemplate       OperationTypeEnum = "CREATE_APPROVAL_TEMPLATE"
	OperationTypeMoveApprovalTemplate         OperationTypeEnum = "MOVE_APPROVAL_TEMPLATE"
	OperationTypeUpdateApprovalTemplate       OperationTypeEnum = "UPDATE_APPROVAL_TEMPLATE"
	OperationTypeDeleteApprovalTemplate       OperationTypeEnum = "DELETE_APPROVAL_TEMPLATE"
	OperationTypeCreatePartner                OperationTypeEnum = "CREATE_PARTNER"
	OperationTypeRemindAccessRequest          OperationTypeEnum = "REMIND_ACCESS_REQUEST"
	OperationTypeCreateAccesscontextattribute OperationTypeEnum = "CREATE_ACCESSCONTEXTATTRIBUTE"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PersonaLevelEnum

type PersonaLevelEnum string

PersonaLevelEnum Enum with underlying type: string

const (
	PersonaLevelLevel1   PersonaLevelEnum = "LEVEL1"
	PersonaLevelLevel2   PersonaLevelEnum = "LEVEL2"
	PersonaLevelLevel3   PersonaLevelEnum = "LEVEL3"
	PersonaLevelAdmin    PersonaLevelEnum = "ADMIN"
	PersonaLevelOperator PersonaLevelEnum = "OPERATOR"
)

Set of constants representing the allowable values for PersonaLevelEnum

func GetMappingPersonaLevelEnum

func GetMappingPersonaLevelEnum(val string) (PersonaLevelEnum, bool)

GetMappingPersonaLevelEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPersonaLevelEnumValues

func GetPersonaLevelEnumValues() []PersonaLevelEnum

GetPersonaLevelEnumValues Enumerates the set of values for PersonaLevelEnum

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateApprovalTemplateDetails

type UpdateApprovalTemplateDetails struct {
	ApproverLevels *ApproverLevels `mandatory:"false" json:"approverLevels"`

	// approval template identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The auto approval state of the lockbox.
	AutoApprovalState LockboxAutoApprovalStateEnum `mandatory:"false" json:"autoApprovalState,omitempty"`

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

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

UpdateApprovalTemplateDetails The action to be updated.

func (UpdateApprovalTemplateDetails) String

func (UpdateApprovalTemplateDetails) ValidateEnumValue

func (m UpdateApprovalTemplateDetails) 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 UpdateApprovalTemplateRequest

type UpdateApprovalTemplateRequest struct {

	// The unique identifier (OCID) of the approval template.
	ApprovalTemplateId *string `mandatory:"true" contributesTo:"path" name:"approvalTemplateId"`

	// The information to be updated.
	UpdateApprovalTemplateDetails `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
}

UpdateApprovalTemplateRequest wrapper for the UpdateApprovalTemplate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/UpdateApprovalTemplate.go.html to see an example of how to use UpdateApprovalTemplateRequest.

func (UpdateApprovalTemplateRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateApprovalTemplateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateApprovalTemplateRequest) RetryPolicy

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

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

func (UpdateApprovalTemplateRequest) String

func (request UpdateApprovalTemplateRequest) String() string

func (UpdateApprovalTemplateRequest) ValidateEnumValue

func (request UpdateApprovalTemplateRequest) 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 UpdateApprovalTemplateResponse

type UpdateApprovalTemplateResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateApprovalTemplateResponse wrapper for the UpdateApprovalTemplate operation

func (UpdateApprovalTemplateResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateApprovalTemplateResponse) String

func (response UpdateApprovalTemplateResponse) String() string

type UpdateLockboxDetails

type UpdateLockboxDetails struct {

	// Lockbox Identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Approval template ID
	ApprovalTemplateId *string `mandatory:"false" json:"approvalTemplateId"`

	// The maximum amount of time operator has access to associated resources.
	MaxAccessDuration *string `mandatory:"false" json:"maxAccessDuration"`

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

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

UpdateLockboxDetails The information to be updated.

func (UpdateLockboxDetails) String

func (m UpdateLockboxDetails) String() string

func (UpdateLockboxDetails) ValidateEnumValue

func (m UpdateLockboxDetails) 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 UpdateLockboxRequest

type UpdateLockboxRequest struct {

	// unique Lockbox identifier
	LockboxId *string `mandatory:"true" contributesTo:"path" name:"lockboxId"`

	// The information to be updated.
	UpdateLockboxDetails `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
}

UpdateLockboxRequest wrapper for the UpdateLockbox operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lockbox/UpdateLockbox.go.html to see an example of how to use UpdateLockboxRequest.

func (UpdateLockboxRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLockboxRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLockboxRequest) RetryPolicy

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

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

func (UpdateLockboxRequest) String

func (request UpdateLockboxRequest) String() string

func (UpdateLockboxRequest) ValidateEnumValue

func (request UpdateLockboxRequest) 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 UpdateLockboxResponse

type UpdateLockboxResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateLockboxResponse wrapper for the UpdateLockbox operation

func (UpdateLockboxResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLockboxResponse) String

func (response UpdateLockboxResponse) String() string

type WorkRequest

type WorkRequest struct {

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

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

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

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

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

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

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

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

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

WorkRequest A description of workrequest status

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) 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 WorkRequestError

type WorkRequestError struct {

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

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

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

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) 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 WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// List of workRequestError objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) 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 WorkRequestLogEntry

type WorkRequestLogEntry struct {

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

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

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

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) 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 WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// List of workRequestLogEntries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) 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 WorkRequestResource

type WorkRequestResource struct {

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

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

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

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

	// Additional information that helps to explain the resource.
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) 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 WorkRequestResourceMetadataKeyEnum

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

type WorkRequestSummary struct {

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

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

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

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

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

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

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

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

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

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) 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 WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

	// List of workRequestSummary objects.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL