AccessRequest An Oracle operator raises access request when they need access to any infrastructure resource governed by Operator Access Control. The access request identifies the target resource and the set of operator actions. Access request handling depends upon the Operator Control that governs the target resource, and the set of operator actions listed for approval in the access request. If all of the operator actions listed in the access request are in the pre-approved list in the Operator Control that governs the target resource, then the access request is automatically approved. If not, then the access request requires explicit approval from the approver group specified by the Operator Control governing the target resource. You can approve or reject an access request. You can also revoke the approval of an already approved access request. While creating an access request, the operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration. An operator can also request for an extension. The approval for such an extension is processed the same way the original access request was processed.
type AccessRequest struct { // The OCID of the access request. Id *string `mandatory:"true" json:"id"` // Summary comment by the operator creating the access request. AccessReasonSummary *string `mandatory:"true" json:"accessReasonSummary"` // The OCID of the target resource associated with the access request. The operator raises an access request to get approval to // access the target resource. ResourceId *string `mandatory:"true" json:"resourceId"` // This is an automatic identifier generated by the system which is easier for human comprehension. RequestId *string `mandatory:"false" json:"requestId"` // A unique identifier associated with the operator who raised the request. This identifier can not be used directly to identify the operator. // You need to provide this identifier if you would like Oracle to provide additional information about the operator action within Oracle tenancy. OperatorId *string `mandatory:"false" json:"operatorId"` // The name of the target resource. ResourceName *string `mandatory:"false" json:"resourceName"` // The OCID of the compartment that contains the access request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // List of operator actions for which approval is sought by the operator user. ActionRequestsList []string `mandatory:"false" json:"actionRequestsList"` // Summary reason for which the operator is requesting access on the target resource. Reason *string `mandatory:"false" json:"reason"` // Priority assigned to the access request by the operator Severity AccessRequestSeveritiesEnum `mandatory:"false" json:"severity,omitempty"` // Duration in hours for which access is sought on the target resource. Duration *int `mandatory:"false" json:"duration"` // Duration in hours for which extension access is sought on the target resource. ExtendDuration *int `mandatory:"false" json:"extendDuration"` // The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request // or for an access request that encounters an internal error. WorkflowId []string `mandatory:"false" json:"workflowId"` // Whether the access request was automatically approved. IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"` // The current state of the AccessRequest. LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Time when the access request was created in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"` // Time when the access request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"` // The OCID of the user that last modified the access request. UserId *string `mandatory:"false" json:"userId"` // The last recent Comment entered by the approver of the request. ApproverComment *string `mandatory:"false" json:"approverComment"` // The comment entered by the operator while closing the request. ClosureComment *string `mandatory:"false" json:"closureComment"` // The OCID of the operator control governing the target resource. OpctlId *string `mandatory:"false" json:"opctlId"` // Name of the Operator control governing the target resource. OpctlName *string `mandatory:"false" json:"opctlName"` // System message that will be displayed to the operator at login to the target resource. SystemMessage *string `mandatory:"false" json:"systemMessage"` // Additional message specific to the access request that can be specified by the approver at the time of approval. OpctlAdditionalMessage *string `mandatory:"false" json:"opctlAdditionalMessage"` // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. // By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, // in addition to command level logging, key strokes are also logged. AuditType []string `mandatory:"false" json:"auditType"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m AccessRequest) String() string
AccessRequestCollection Results of access request search, which contains summary of access request.
type AccessRequestCollection struct { // contains AccessRequestSummary Items []AccessRequestSummary `mandatory:"true" json:"items"` }
func (m AccessRequestCollection) String() string
AccessRequestHistoryCollection Results of access request history search, which contains summary of the access request.
type AccessRequestHistoryCollection struct { // contains AccessRequestHistorySummary Items []AccessRequestHistorySummary `mandatory:"true" json:"items"` }
func (m AccessRequestHistoryCollection) String() string
AccessRequestHistorySummary Summary of access request status.
type AccessRequestHistorySummary struct { // The current state of the AccessRequest. LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Approver who modified the access request. UserId *string `mandatory:"false" json:"userId"` // Reason or description about the cause of change. Description *string `mandatory:"false" json:"description"` // Duration for approval of request or extension depending on the type of action. Duration *int `mandatory:"false" json:"duration"` // Whether the access request was automatically approved. IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"` // List of operator actions for which approvals were requested by the operator. ActionsList []string `mandatory:"false" json:"actionsList"` // Time when the respective action happened in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfAction *common.SDKTime `mandatory:"false" json:"timeOfAction"` }
func (m AccessRequestHistorySummary) String() string
AccessRequestLifecycleStatesEnum Enum with underlying type: string
type AccessRequestLifecycleStatesEnum string
Set of constants representing the allowable values for AccessRequestLifecycleStatesEnum
const ( AccessRequestLifecycleStatesCreated AccessRequestLifecycleStatesEnum = "CREATED" AccessRequestLifecycleStatesApprovalwaiting AccessRequestLifecycleStatesEnum = "APPROVALWAITING" AccessRequestLifecycleStatesPreapproved AccessRequestLifecycleStatesEnum = "PREAPPROVED" AccessRequestLifecycleStatesApproved AccessRequestLifecycleStatesEnum = "APPROVED" AccessRequestLifecycleStatesRejected AccessRequestLifecycleStatesEnum = "REJECTED" AccessRequestLifecycleStatesDeployed AccessRequestLifecycleStatesEnum = "DEPLOYED" AccessRequestLifecycleStatesDeployfailed AccessRequestLifecycleStatesEnum = "DEPLOYFAILED" AccessRequestLifecycleStatesUndeployed AccessRequestLifecycleStatesEnum = "UNDEPLOYED" AccessRequestLifecycleStatesUndeployfailed AccessRequestLifecycleStatesEnum = "UNDEPLOYFAILED" AccessRequestLifecycleStatesClosefailed AccessRequestLifecycleStatesEnum = "CLOSEFAILED" AccessRequestLifecycleStatesRevokefailed AccessRequestLifecycleStatesEnum = "REVOKEFAILED" AccessRequestLifecycleStatesExpiryfailed AccessRequestLifecycleStatesEnum = "EXPIRYFAILED" AccessRequestLifecycleStatesRevoking AccessRequestLifecycleStatesEnum = "REVOKING" AccessRequestLifecycleStatesRevoked AccessRequestLifecycleStatesEnum = "REVOKED" AccessRequestLifecycleStatesExtending AccessRequestLifecycleStatesEnum = "EXTENDING" AccessRequestLifecycleStatesExtended AccessRequestLifecycleStatesEnum = "EXTENDED" AccessRequestLifecycleStatesExtensionrejected AccessRequestLifecycleStatesEnum = "EXTENSIONREJECTED" AccessRequestLifecycleStatesCompleting AccessRequestLifecycleStatesEnum = "COMPLETING" AccessRequestLifecycleStatesCompleted AccessRequestLifecycleStatesEnum = "COMPLETED" AccessRequestLifecycleStatesExpired AccessRequestLifecycleStatesEnum = "EXPIRED" )
func GetAccessRequestLifecycleStatesEnumValues() []AccessRequestLifecycleStatesEnum
GetAccessRequestLifecycleStatesEnumValues Enumerates the set of values for AccessRequestLifecycleStatesEnum
AccessRequestSeveritiesEnum Enum with underlying type: string
type AccessRequestSeveritiesEnum string
Set of constants representing the allowable values for AccessRequestSeveritiesEnum
const ( AccessRequestSeveritiesS1 AccessRequestSeveritiesEnum = "S1" AccessRequestSeveritiesS2 AccessRequestSeveritiesEnum = "S2" AccessRequestSeveritiesS3 AccessRequestSeveritiesEnum = "S3" AccessRequestSeveritiesS4 AccessRequestSeveritiesEnum = "S4" )
func GetAccessRequestSeveritiesEnumValues() []AccessRequestSeveritiesEnum
GetAccessRequestSeveritiesEnumValues Enumerates the set of values for AccessRequestSeveritiesEnum
AccessRequestSummary Summary of access request.
type AccessRequestSummary struct { // The OCID of the access request. Id *string `mandatory:"true" json:"id"` // Comment associated with the access request. AccessReasonSummary *string `mandatory:"true" json:"accessReasonSummary"` // The OCID of the target resource associated with the access request. The operator raises an access request to get approval to // access the target resource. ResourceId *string `mandatory:"true" json:"resourceId"` // This is a system-generated identifier. RequestId *string `mandatory:"false" json:"requestId"` // The OCID of the compartment that contains the access request. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The name of the target resource. ResourceName *string `mandatory:"false" json:"resourceName"` // The current state of the AccessRequest. LifecycleState AccessRequestLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Time when the access request was created by the operator user in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"` // Time when the access request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"` // Duration in hours for which access is sought on the target resource. Duration *int `mandatory:"false" json:"duration"` // Duration in hours for which extension access is sought on the target resource. ExtendDuration *int `mandatory:"false" json:"extendDuration"` // Priority assigned to the access request by the operator Severity AccessRequestSeveritiesEnum `mandatory:"false" json:"severity,omitempty"` // Whether the access request was automatically approved. IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m AccessRequestSummary) String() string
AccessRequestsClient a client for AccessRequests
type AccessRequestsClient struct { common.BaseClient // contains filtered or unexported fields }
func NewAccessRequestsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client AccessRequestsClient, err error)
NewAccessRequestsClientWithConfigurationProvider Creates a new default AccessRequests client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewAccessRequestsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client AccessRequestsClient, err error)
NewAccessRequestsClientWithOboToken Creates a new default AccessRequests client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client AccessRequestsClient) ApproveAccessRequest(ctx context.Context, request ApproveAccessRequestRequest) (response ApproveAccessRequestResponse, err error)
ApproveAccessRequest Approves an access request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ApproveAccessRequest.go.html to see an example of how to use ApproveAccessRequest API.
func (client *AccessRequestsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client AccessRequestsClient) GetAccessRequest(ctx context.Context, request GetAccessRequestRequest) (response GetAccessRequestResponse, err error)
GetAccessRequest Gets details of an access request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetAccessRequest.go.html to see an example of how to use GetAccessRequest API.
func (client AccessRequestsClient) ListAccessRequestHistories(ctx context.Context, request ListAccessRequestHistoriesRequest) (response ListAccessRequestHistoriesResponse, err error)
ListAccessRequestHistories Returns a history of all status associated with the accessRequestId.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListAccessRequestHistories.go.html to see an example of how to use ListAccessRequestHistories API.
func (client AccessRequestsClient) ListAccessRequests(ctx context.Context, request ListAccessRequestsRequest) (response ListAccessRequestsResponse, err error)
ListAccessRequests Lists all access requests in the compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListAccessRequests.go.html to see an example of how to use ListAccessRequests API.
func (client AccessRequestsClient) RejectAccessRequest(ctx context.Context, request RejectAccessRequestRequest) (response RejectAccessRequestResponse, err error)
RejectAccessRequest Rejects an access request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/RejectAccessRequest.go.html to see an example of how to use RejectAccessRequest API.
func (client AccessRequestsClient) RevokeAccessRequest(ctx context.Context, request RevokeAccessRequestRequest) (response RevokeAccessRequestResponse, err error)
RevokeAccessRequest Revokes an already approved access request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/RevokeAccessRequest.go.html to see an example of how to use RevokeAccessRequest API.
func (client *AccessRequestsClient) SetRegion(region string)
SetRegion overrides the region of this client.
ApproveAccessRequestDetails Details of the access request approval.
type ApproveAccessRequestDetails struct { // Comment by the approver during approval. ApproverComment *string `mandatory:"false" json:"approverComment"` // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. // By default, auditing is enabled at the command level i.e., each command issued by the operator is audited. When keystroke-level is chosen, // in addition to command level logging, key strokes are also logged. AuditType []string `mandatory:"false" json:"auditType"` // Message that needs to be displayed to the Ops User. AdditionalMessage *string `mandatory:"false" json:"additionalMessage"` }
func (m ApproveAccessRequestDetails) String() string
ApproveAccessRequestRequest wrapper for the ApproveAccessRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ApproveAccessRequest.go.html to see an example of how to use ApproveAccessRequestRequest.
type ApproveAccessRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // Details regarding the approval of an access request created by the operator. ApproveAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ApproveAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ApproveAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ApproveAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ApproveAccessRequestRequest) String() string
ApproveAccessRequestResponse wrapper for the ApproveAccessRequest operation
type ApproveAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ApproveAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ApproveAccessRequestResponse) String() string
ChangeOperatorControlAssignmentCompartmentDetails Details of the new compartment to contain the operator control assignment.
type ChangeOperatorControlAssignmentCompartmentDetails struct { // The OCID of the new compartment to contain the operator contol assignment. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeOperatorControlAssignmentCompartmentDetails) String() string
ChangeOperatorControlAssignmentCompartmentRequest wrapper for the ChangeOperatorControlAssignmentCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.go.html to see an example of how to use ChangeOperatorControlAssignmentCompartmentRequest.
type ChangeOperatorControlAssignmentCompartmentRequest struct { // unique OperatorControl identifier OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"` // Changes the compartment for the given operator control assignment. ChangeOperatorControlAssignmentCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeOperatorControlAssignmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOperatorControlAssignmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOperatorControlAssignmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOperatorControlAssignmentCompartmentRequest) String() string
ChangeOperatorControlAssignmentCompartmentResponse wrapper for the ChangeOperatorControlAssignmentCompartment operation
type ChangeOperatorControlAssignmentCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOperatorControlAssignmentCompartmentResponse) String() string
ChangeOperatorControlCompartmentDetails Details of the new compartment to contain the operator control.
type ChangeOperatorControlCompartmentDetails struct { // The OCID of the new compartment to contain the operator contol. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeOperatorControlCompartmentDetails) String() string
ChangeOperatorControlCompartmentRequest wrapper for the ChangeOperatorControlCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ChangeOperatorControlCompartment.go.html to see an example of how to use ChangeOperatorControlCompartmentRequest.
type ChangeOperatorControlCompartmentRequest struct { // unique OperatorControl identifier OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"` // Moves the Operator Control resource into a different compartment. ChangeOperatorControlCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeOperatorControlCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeOperatorControlCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeOperatorControlCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeOperatorControlCompartmentRequest) String() string
ChangeOperatorControlCompartmentResponse wrapper for the ChangeOperatorControlCompartment operation
type ChangeOperatorControlCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeOperatorControlCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeOperatorControlCompartmentResponse) String() string
CreateOperatorControlAssignmentDetails Details of the Operator Control assignment. An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.
type CreateOperatorControlAssignmentDetails struct { // The OCID of the operator control that is being assigned to a target resource. OperatorControlId *string `mandatory:"true" json:"operatorControlId"` // The OCID of the target resource being brought under the governance of the operator control. ResourceId *string `mandatory:"true" json:"resourceId"` // Name of the target resource. ResourceName *string `mandatory:"true" json:"resourceName"` // The OCID of the compartment that contains the target resource. ResourceCompartmentId *string `mandatory:"true" json:"resourceCompartmentId"` // The OCID of the compartment that contains the operator control assignment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of the target resource. ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"` // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"` // If set, then the target resource is always governed by the operator control. IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"` // Comment about the assignment of the operator control to this target resource. Comment *string `mandatory:"false" json:"comment"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateOperatorControlAssignmentDetails) String() string
CreateOperatorControlAssignmentRequest wrapper for the CreateOperatorControlAssignment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/CreateOperatorControlAssignment.go.html to see an example of how to use CreateOperatorControlAssignmentRequest.
type CreateOperatorControlAssignmentRequest struct { // Details of the Operator Control Assignment. CreateOperatorControlAssignmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOperatorControlAssignmentRequest) String() string
CreateOperatorControlAssignmentResponse wrapper for the CreateOperatorControlAssignment operation
type CreateOperatorControlAssignmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOperatorControlAssignmentResponse) String() string
CreateOperatorControlDetails While creating the operator control, specify how operator actions are approved and the users who have the privilege of approving the operator actions associated with the Operator Control. You must specify which operator actions must be pre-approved. The rest of the operator actions associated with the Operator Control will require an explicit approval from the users selected either through the approver groups or individually. You must name your Operator Control appropriately so it reflects the resources that will be governed by the Operator Control. Neither the Operator Controls nor their assignments to resources are visible to the Oracle operators.
type CreateOperatorControlDetails struct { // Name of the operator control. OperatorControlName *string `mandatory:"true" json:"operatorControlName"` // The OCID of the compartment that contains this operator control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Description of the operator control. Description *string `mandatory:"false" json:"description"` // List of users who can approve an access request associated with a resource governed by this operator control. ApproversList []string `mandatory:"false" json:"approversList"` // List of user groups who can approve an access request associated with a resource governed by this operator control. ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"` // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be // auto-approved if the access request only contain operator actions in the pre-approved list. PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"` // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control // will be auto-approved. IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"` // List of emailId. EmailIdList []string `mandatory:"false" json:"emailIdList"` // This is the message that will be displayed to the operator users while accessing the system. SystemMessage *string `mandatory:"false" json:"systemMessage"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateOperatorControlDetails) String() string
CreateOperatorControlRequest wrapper for the CreateOperatorControl operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/CreateOperatorControl.go.html to see an example of how to use CreateOperatorControlRequest.
type CreateOperatorControlRequest struct { // Details for the new Operator Control. CreateOperatorControlDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateOperatorControlRequest) String() string
CreateOperatorControlResponse wrapper for the CreateOperatorControl operation
type CreateOperatorControlResponse struct { // The underlying http response RawResponse *http.Response // The OperatorControl instance OperatorControl `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateOperatorControlResponse) String() string
DeleteOperatorControlAssignmentRequest wrapper for the DeleteOperatorControlAssignment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/DeleteOperatorControlAssignment.go.html to see an example of how to use DeleteOperatorControlAssignmentRequest.
type DeleteOperatorControlAssignmentRequest struct { // unique OperatorControl identifier OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"` // reason for detachment of OperatorAssignment. Description *string `mandatory:"false" contributesTo:"query" name:"description"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOperatorControlAssignmentRequest) String() string
DeleteOperatorControlAssignmentResponse wrapper for the DeleteOperatorControlAssignment operation
type DeleteOperatorControlAssignmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOperatorControlAssignmentResponse) String() string
DeleteOperatorControlRequest wrapper for the DeleteOperatorControl operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/DeleteOperatorControl.go.html to see an example of how to use DeleteOperatorControlRequest.
type DeleteOperatorControlRequest struct { // unique OperatorControl identifier OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"` // reason for deletion of OperatorControl. Description *string `mandatory:"false" contributesTo:"query" name:"description"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteOperatorControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteOperatorControlRequest) String() string
DeleteOperatorControlResponse wrapper for the DeleteOperatorControl operation
type DeleteOperatorControlResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteOperatorControlResponse) String() string
GetAccessRequestRequest wrapper for the GetAccessRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetAccessRequest.go.html to see an example of how to use GetAccessRequestRequest.
type GetAccessRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAccessRequestRequest) String() string
GetAccessRequestResponse wrapper for the GetAccessRequest operation
type GetAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // The AccessRequest instance AccessRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAccessRequestResponse) String() string
GetOperatorActionRequest wrapper for the GetOperatorAction operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorAction.go.html to see an example of how to use GetOperatorActionRequest.
type GetOperatorActionRequest struct { // Unique Oracle supplied identifier associated with the operator action. OperatorActionId *string `mandatory:"true" contributesTo:"path" name:"operatorActionId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetOperatorActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperatorActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperatorActionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperatorActionRequest) String() string
GetOperatorActionResponse wrapper for the GetOperatorAction operation
type GetOperatorActionResponse struct { // The underlying http response RawResponse *http.Response // The OperatorAction instance OperatorAction `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOperatorActionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperatorActionResponse) String() string
GetOperatorControlAssignmentRequest wrapper for the GetOperatorControlAssignment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorControlAssignment.go.html to see an example of how to use GetOperatorControlAssignmentRequest.
type GetOperatorControlAssignmentRequest struct { // unique OperatorControl identifier OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperatorControlAssignmentRequest) String() string
GetOperatorControlAssignmentResponse wrapper for the GetOperatorControlAssignment operation
type GetOperatorControlAssignmentResponse struct { // The underlying http response RawResponse *http.Response // The OperatorControlAssignment instance OperatorControlAssignment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperatorControlAssignmentResponse) String() string
GetOperatorControlRequest wrapper for the GetOperatorControl operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorControl.go.html to see an example of how to use GetOperatorControlRequest.
type GetOperatorControlRequest struct { // unique OperatorControl identifier OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetOperatorControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetOperatorControlRequest) String() string
GetOperatorControlResponse wrapper for the GetOperatorControl operation
type GetOperatorControlResponse struct { // The underlying http response RawResponse *http.Response // The OperatorControl instance OperatorControl `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetOperatorControlResponse) String() string
InfrastrcutureLayersEnum Enum with underlying type: string
type InfrastrcutureLayersEnum string
Set of constants representing the allowable values for InfrastrcutureLayersEnum
const ( InfrastrcutureLayersDom0 InfrastrcutureLayersEnum = "DOM0" InfrastrcutureLayersCellserver InfrastrcutureLayersEnum = "CELLSERVER" InfrastrcutureLayersCps InfrastrcutureLayersEnum = "CPS" )
func GetInfrastrcutureLayersEnumValues() []InfrastrcutureLayersEnum
GetInfrastrcutureLayersEnumValues Enumerates the set of values for InfrastrcutureLayersEnum
ListAccessRequestHistoriesRequest wrapper for the ListAccessRequestHistories operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListAccessRequestHistories.go.html to see an example of how to use ListAccessRequestHistoriesRequest.
type ListAccessRequestHistoriesRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAccessRequestHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAccessRequestHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAccessRequestHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAccessRequestHistoriesRequest) String() string
ListAccessRequestHistoriesResponse wrapper for the ListAccessRequestHistories operation
type ListAccessRequestHistoriesResponse struct { // The underlying http response RawResponse *http.Response // A list of AccessRequestHistoryCollection instances AccessRequestHistoryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAccessRequestHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAccessRequestHistoriesResponse) String() string
ListAccessRequestsLifecycleStateEnum Enum with underlying type: string
type ListAccessRequestsLifecycleStateEnum string
Set of constants representing the allowable values for ListAccessRequestsLifecycleStateEnum
const ( ListAccessRequestsLifecycleStateCreated ListAccessRequestsLifecycleStateEnum = "CREATED" ListAccessRequestsLifecycleStateApprovalwaiting ListAccessRequestsLifecycleStateEnum = "APPROVALWAITING" ListAccessRequestsLifecycleStatePreapproved ListAccessRequestsLifecycleStateEnum = "PREAPPROVED" ListAccessRequestsLifecycleStateApproved ListAccessRequestsLifecycleStateEnum = "APPROVED" ListAccessRequestsLifecycleStateRejected ListAccessRequestsLifecycleStateEnum = "REJECTED" ListAccessRequestsLifecycleStateDeployed ListAccessRequestsLifecycleStateEnum = "DEPLOYED" ListAccessRequestsLifecycleStateDeployfailed ListAccessRequestsLifecycleStateEnum = "DEPLOYFAILED" ListAccessRequestsLifecycleStateUndeployed ListAccessRequestsLifecycleStateEnum = "UNDEPLOYED" ListAccessRequestsLifecycleStateUndeployfailed ListAccessRequestsLifecycleStateEnum = "UNDEPLOYFAILED" ListAccessRequestsLifecycleStateClosefailed ListAccessRequestsLifecycleStateEnum = "CLOSEFAILED" ListAccessRequestsLifecycleStateRevokefailed ListAccessRequestsLifecycleStateEnum = "REVOKEFAILED" ListAccessRequestsLifecycleStateExpiryfailed ListAccessRequestsLifecycleStateEnum = "EXPIRYFAILED" ListAccessRequestsLifecycleStateRevoking ListAccessRequestsLifecycleStateEnum = "REVOKING" ListAccessRequestsLifecycleStateRevoked ListAccessRequestsLifecycleStateEnum = "REVOKED" ListAccessRequestsLifecycleStateExtending ListAccessRequestsLifecycleStateEnum = "EXTENDING" ListAccessRequestsLifecycleStateExtended ListAccessRequestsLifecycleStateEnum = "EXTENDED" ListAccessRequestsLifecycleStateExtensionrejected ListAccessRequestsLifecycleStateEnum = "EXTENSIONREJECTED" ListAccessRequestsLifecycleStateCompleting ListAccessRequestsLifecycleStateEnum = "COMPLETING" ListAccessRequestsLifecycleStateCompleted ListAccessRequestsLifecycleStateEnum = "COMPLETED" ListAccessRequestsLifecycleStateExpired ListAccessRequestsLifecycleStateEnum = "EXPIRED" )
func GetListAccessRequestsLifecycleStateEnumValues() []ListAccessRequestsLifecycleStateEnum
GetListAccessRequestsLifecycleStateEnumValues Enumerates the set of values for ListAccessRequestsLifecycleStateEnum
ListAccessRequestsRequest wrapper for the ListAccessRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListAccessRequests.go.html to see an example of how to use ListAccessRequestsRequest.
type ListAccessRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given ResourceName. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // A filter to return only resources whose lifecycleState matches the given AccessRequest lifecycleState. LifecycleState ListAccessRequestsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListAccessRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListAccessRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAccessRequestsRequest) String() string
ListAccessRequestsResponse wrapper for the ListAccessRequests operation
type ListAccessRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of AccessRequestCollection instances AccessRequestCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListAccessRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAccessRequestsResponse) String() string
ListAccessRequestsSortByEnum Enum with underlying type: string
type ListAccessRequestsSortByEnum string
Set of constants representing the allowable values for ListAccessRequestsSortByEnum
const ( ListAccessRequestsSortByTimecreated ListAccessRequestsSortByEnum = "timeCreated" ListAccessRequestsSortByDisplayname ListAccessRequestsSortByEnum = "displayName" )
func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum
GetListAccessRequestsSortByEnumValues Enumerates the set of values for ListAccessRequestsSortByEnum
ListAccessRequestsSortOrderEnum Enum with underlying type: string
type ListAccessRequestsSortOrderEnum string
Set of constants representing the allowable values for ListAccessRequestsSortOrderEnum
const ( ListAccessRequestsSortOrderAsc ListAccessRequestsSortOrderEnum = "ASC" ListAccessRequestsSortOrderDesc ListAccessRequestsSortOrderEnum = "DESC" )
func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum
GetListAccessRequestsSortOrderEnumValues Enumerates the set of values for ListAccessRequestsSortOrderEnum
ListOperatorActionsLifecycleStateEnum Enum with underlying type: string
type ListOperatorActionsLifecycleStateEnum string
Set of constants representing the allowable values for ListOperatorActionsLifecycleStateEnum
const ( ListOperatorActionsLifecycleStateActive ListOperatorActionsLifecycleStateEnum = "ACTIVE" ListOperatorActionsLifecycleStateInactive ListOperatorActionsLifecycleStateEnum = "INACTIVE" )
func GetListOperatorActionsLifecycleStateEnumValues() []ListOperatorActionsLifecycleStateEnum
GetListOperatorActionsLifecycleStateEnumValues Enumerates the set of values for ListOperatorActionsLifecycleStateEnum
ListOperatorActionsRequest wrapper for the ListOperatorActions operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorActions.go.html to see an example of how to use ListOperatorActionsRequest.
type ListOperatorActionsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire display name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState. LifecycleState ListOperatorActionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListOperatorActionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListOperatorActionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListOperatorActionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperatorActionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperatorActionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperatorActionsRequest) String() string
ListOperatorActionsResponse wrapper for the ListOperatorActions operation
type ListOperatorActionsResponse struct { // The underlying http response RawResponse *http.Response // A list of OperatorActionCollection instances OperatorActionCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListOperatorActionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperatorActionsResponse) String() string
ListOperatorActionsSortByEnum Enum with underlying type: string
type ListOperatorActionsSortByEnum string
Set of constants representing the allowable values for ListOperatorActionsSortByEnum
const ( ListOperatorActionsSortByTimecreated ListOperatorActionsSortByEnum = "timeCreated" ListOperatorActionsSortByDisplayname ListOperatorActionsSortByEnum = "displayName" )
func GetListOperatorActionsSortByEnumValues() []ListOperatorActionsSortByEnum
GetListOperatorActionsSortByEnumValues Enumerates the set of values for ListOperatorActionsSortByEnum
ListOperatorActionsSortOrderEnum Enum with underlying type: string
type ListOperatorActionsSortOrderEnum string
Set of constants representing the allowable values for ListOperatorActionsSortOrderEnum
const ( ListOperatorActionsSortOrderAsc ListOperatorActionsSortOrderEnum = "ASC" ListOperatorActionsSortOrderDesc ListOperatorActionsSortOrderEnum = "DESC" )
func GetListOperatorActionsSortOrderEnumValues() []ListOperatorActionsSortOrderEnum
GetListOperatorActionsSortOrderEnumValues Enumerates the set of values for ListOperatorActionsSortOrderEnum
ListOperatorControlAssignmentsLifecycleStateEnum Enum with underlying type: string
type ListOperatorControlAssignmentsLifecycleStateEnum string
Set of constants representing the allowable values for ListOperatorControlAssignmentsLifecycleStateEnum
const ( ListOperatorControlAssignmentsLifecycleStateCreated ListOperatorControlAssignmentsLifecycleStateEnum = "CREATED" ListOperatorControlAssignmentsLifecycleStateApplied ListOperatorControlAssignmentsLifecycleStateEnum = "APPLIED" ListOperatorControlAssignmentsLifecycleStateApplyfailed ListOperatorControlAssignmentsLifecycleStateEnum = "APPLYFAILED" ListOperatorControlAssignmentsLifecycleStateDeleted ListOperatorControlAssignmentsLifecycleStateEnum = "DELETED" )
func GetListOperatorControlAssignmentsLifecycleStateEnumValues() []ListOperatorControlAssignmentsLifecycleStateEnum
GetListOperatorControlAssignmentsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlAssignmentsLifecycleStateEnum
ListOperatorControlAssignmentsRequest wrapper for the ListOperatorControlAssignments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorControlAssignments.go.html to see an example of how to use ListOperatorControlAssignmentsRequest.
type ListOperatorControlAssignmentsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return OperatorControl that match the given operatorControlName. OperatorControlName *string `mandatory:"false" contributesTo:"query" name:"operatorControlName"` // A filter to return only resources that match the given ResourceName. ResourceName *string `mandatory:"false" contributesTo:"query" name:"resourceName"` // A filter to return only resources whose lifecycleState matches the given OperatorControlAssignment lifecycleState. LifecycleState ListOperatorControlAssignmentsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListOperatorControlAssignmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListOperatorControlAssignmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListOperatorControlAssignmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperatorControlAssignmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperatorControlAssignmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperatorControlAssignmentsRequest) String() string
ListOperatorControlAssignmentsResponse wrapper for the ListOperatorControlAssignments operation
type ListOperatorControlAssignmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of OperatorControlAssignmentCollection instances OperatorControlAssignmentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListOperatorControlAssignmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperatorControlAssignmentsResponse) String() string
ListOperatorControlAssignmentsSortByEnum Enum with underlying type: string
type ListOperatorControlAssignmentsSortByEnum string
Set of constants representing the allowable values for ListOperatorControlAssignmentsSortByEnum
const ( ListOperatorControlAssignmentsSortByTimecreated ListOperatorControlAssignmentsSortByEnum = "timeCreated" ListOperatorControlAssignmentsSortByDisplayname ListOperatorControlAssignmentsSortByEnum = "displayName" )
func GetListOperatorControlAssignmentsSortByEnumValues() []ListOperatorControlAssignmentsSortByEnum
GetListOperatorControlAssignmentsSortByEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortByEnum
ListOperatorControlAssignmentsSortOrderEnum Enum with underlying type: string
type ListOperatorControlAssignmentsSortOrderEnum string
Set of constants representing the allowable values for ListOperatorControlAssignmentsSortOrderEnum
const ( ListOperatorControlAssignmentsSortOrderAsc ListOperatorControlAssignmentsSortOrderEnum = "ASC" ListOperatorControlAssignmentsSortOrderDesc ListOperatorControlAssignmentsSortOrderEnum = "DESC" )
func GetListOperatorControlAssignmentsSortOrderEnumValues() []ListOperatorControlAssignmentsSortOrderEnum
GetListOperatorControlAssignmentsSortOrderEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortOrderEnum
ListOperatorControlsLifecycleStateEnum Enum with underlying type: string
type ListOperatorControlsLifecycleStateEnum string
Set of constants representing the allowable values for ListOperatorControlsLifecycleStateEnum
const ( ListOperatorControlsLifecycleStateCreated ListOperatorControlsLifecycleStateEnum = "CREATED" ListOperatorControlsLifecycleStateAssigned ListOperatorControlsLifecycleStateEnum = "ASSIGNED" ListOperatorControlsLifecycleStateUnassigned ListOperatorControlsLifecycleStateEnum = "UNASSIGNED" ListOperatorControlsLifecycleStateDeleted ListOperatorControlsLifecycleStateEnum = "DELETED" )
func GetListOperatorControlsLifecycleStateEnumValues() []ListOperatorControlsLifecycleStateEnum
GetListOperatorControlsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlsLifecycleStateEnum
ListOperatorControlsRequest wrapper for the ListOperatorControls operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorControls.go.html to see an example of how to use ListOperatorControlsRequest.
type ListOperatorControlsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources whose lifecycleState matches the given OperatorControl lifecycleState. LifecycleState ListOperatorControlsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return OperatorControl that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListOperatorControlsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. SortBy ListOperatorControlsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListOperatorControlsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListOperatorControlsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListOperatorControlsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListOperatorControlsRequest) String() string
ListOperatorControlsResponse wrapper for the ListOperatorControls operation
type ListOperatorControlsResponse struct { // The underlying http response RawResponse *http.Response // A list of OperatorControlCollection instances OperatorControlCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListOperatorControlsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListOperatorControlsResponse) String() string
ListOperatorControlsSortByEnum Enum with underlying type: string
type ListOperatorControlsSortByEnum string
Set of constants representing the allowable values for ListOperatorControlsSortByEnum
const ( ListOperatorControlsSortByTimecreated ListOperatorControlsSortByEnum = "timeCreated" ListOperatorControlsSortByDisplayname ListOperatorControlsSortByEnum = "displayName" )
func GetListOperatorControlsSortByEnumValues() []ListOperatorControlsSortByEnum
GetListOperatorControlsSortByEnumValues Enumerates the set of values for ListOperatorControlsSortByEnum
ListOperatorControlsSortOrderEnum Enum with underlying type: string
type ListOperatorControlsSortOrderEnum string
Set of constants representing the allowable values for ListOperatorControlsSortOrderEnum
const ( ListOperatorControlsSortOrderAsc ListOperatorControlsSortOrderEnum = "ASC" ListOperatorControlsSortOrderDesc ListOperatorControlsSortOrderEnum = "DESC" )
func GetListOperatorControlsSortOrderEnumValues() []ListOperatorControlsSortOrderEnum
GetListOperatorControlsSortOrderEnumValues Enumerates the set of values for ListOperatorControlsSortOrderEnum
OperatorAction Details of the operator action. Operator actions are a pre-defined set of commands available to the operator on different layers of the infrastructure. Although the groupings may differ depending on the infrastructure layers, the groups are designed to enable the operator access to commands to resolve a specific set of issues. The infrastructure layers controlled by the Operator Control include Dom0, CellServer, and Control Plane Server (CPS). There are five groups available to the operator. x-obmcs-top-level-enum: '#/definitions/OperatorActionCategories' enum: *OPERATORACTIONCATEGORIES The following infrastructure layers are controlled by the operator actions x-obmcs-top-level-enum: '#/definitions/InfrastructureLayers' enum: *INFRASTRUCTURELAYERS
type OperatorAction struct { // Unique Oracle assigned identifier for the operator action. Id *string `mandatory:"true" json:"id"` // Name of the operator action. Name *string `mandatory:"true" json:"name"` // Name of the infrastructure layer associated with the operator action. Component *string `mandatory:"false" json:"component"` // Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made // available to the operator under this operator action. Description *string `mandatory:"false" json:"description"` // Fine grained properties associated with the operator control. Properties []OperatorActionProperties `mandatory:"false" json:"properties"` }
func (m OperatorAction) String() string
OperatorActionCategoriesEnum Enum with underlying type: string
type OperatorActionCategoriesEnum string
Set of constants representing the allowable values for OperatorActionCategoriesEnum
const ( OperatorActionCategoriesServicediagnostics OperatorActionCategoriesEnum = "SERVICEDIAGNOSTICS" OperatorActionCategoriesServicemanagement OperatorActionCategoriesEnum = "SERVICEMANAGEMENT" OperatorActionCategoriesSystemmanagement OperatorActionCategoriesEnum = "SYSTEMMANAGEMENT" OperatorActionCategoriesFulladministration OperatorActionCategoriesEnum = "FULLADMINISTRATION" OperatorActionCategoriesCellmanagement OperatorActionCategoriesEnum = "CELLMANAGEMENT" )
func GetOperatorActionCategoriesEnumValues() []OperatorActionCategoriesEnum
GetOperatorActionCategoriesEnumValues Enumerates the set of values for OperatorActionCategoriesEnum
OperatorActionCollection Results of operator action search, which contains summary of the action.
type OperatorActionCollection struct { // contains OperatorActionSummary Items []OperatorActionSummary `mandatory:"true" json:"items"` }
func (m OperatorActionCollection) String() string
OperatorActionLifecycleStatesEnum Enum with underlying type: string
type OperatorActionLifecycleStatesEnum string
Set of constants representing the allowable values for OperatorActionLifecycleStatesEnum
const ( OperatorActionLifecycleStatesActive OperatorActionLifecycleStatesEnum = "ACTIVE" OperatorActionLifecycleStatesInactive OperatorActionLifecycleStatesEnum = "INACTIVE" )
func GetOperatorActionLifecycleStatesEnumValues() []OperatorActionLifecycleStatesEnum
GetOperatorActionLifecycleStatesEnumValues Enumerates the set of values for OperatorActionLifecycleStatesEnum
OperatorActionProperties Details of the properties of operator action.
type OperatorActionProperties struct { // Name of the property Name *string `mandatory:"false" json:"name"` // value of the property Value *string `mandatory:"false" json:"value"` }
func (m OperatorActionProperties) String() string
OperatorActionSummary Details of the operator action. Operator actions are pre-defined set of commands available to the operator on different layers of the infrastructure.
type OperatorActionSummary struct { // Unique identifier assigned by Oracle to an operator action. Id *string `mandatory:"true" json:"id"` // Name of the operator action. Name *string `mandatory:"true" json:"name"` // Name of the component for which the operator action is applicable. Component *string `mandatory:"false" json:"component"` // compartmentId for which the OperatorAction is applicable CompartmentId *string `mandatory:"false" json:"compartmentId"` // The current lifecycle state of the operator action. LifecycleState OperatorActionLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the operator action in terms of associated risk profile, and characteristics of the operating system commands made // available to the operator under this operator action. Description *string `mandatory:"false" json:"description"` }
func (m OperatorActionSummary) String() string
OperatorActionsClient a client for OperatorActions
type OperatorActionsClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOperatorActionsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorActionsClient, err error)
NewOperatorActionsClientWithConfigurationProvider Creates a new default OperatorActions client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOperatorActionsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorActionsClient, err error)
NewOperatorActionsClientWithOboToken Creates a new default OperatorActions client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client *OperatorActionsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OperatorActionsClient) GetOperatorAction(ctx context.Context, request GetOperatorActionRequest) (response GetOperatorActionResponse, err error)
GetOperatorAction Gets the operator action associated with the specified operator action ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorAction.go.html to see an example of how to use GetOperatorAction API.
func (client OperatorActionsClient) ListOperatorActions(ctx context.Context, request ListOperatorActionsRequest) (response ListOperatorActionsResponse, err error)
ListOperatorActions Lists all the OperatorActions available in the system.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorActions.go.html to see an example of how to use ListOperatorActions API.
func (client *OperatorActionsClient) SetRegion(region string)
SetRegion overrides the region of this client.
OperatorControl Operator Access Control enables you to grant, audit, or revoke the access Oracle has to your Exadata Cloud@Customer infrastructure, and obtain audit reports of all actions taken by a human operator, in a near real-time manner.
type OperatorControl struct { // The OCID of the operator control. Id *string `mandatory:"true" json:"id"` // Name of the operator control. The name must be unique. OperatorControlName *string `mandatory:"true" json:"operatorControlName"` // The OCID of the compartment that contains the operator control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Description of operator control. Description *string `mandatory:"false" json:"description"` // List of users who can approve an access request associated with a target resource under the governance of this operator control. ApproversList []string `mandatory:"false" json:"approversList"` // List of user groups who can approve an access request associated with a target resource under the governance of this operator control. ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"` // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be // automatically approved if the access request only contain operator actions in the pre-approved list. PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"` // List of operator actions that need explicit approval. Any operator action not in the pre-approved list will require explicit // approval. Access requests associated with a resource governed by this operator control will be // require explicit approval if the access request contains any operator action in this list. ApprovalRequiredOpActionList []string `mandatory:"false" json:"approvalRequiredOpActionList"` // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control // will be auto-approved. IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"` // System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control. SystemMessage *string `mandatory:"false" json:"systemMessage"` // The current lifecycle state of the operator control. LifecycleState OperatorControlLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Time when the operator control was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"` // Time when the operator control was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"` // Time when deleted expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'. // Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests // raised on target resources governed by the deleted operator control. TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"` // Description associated with the latest modification of the operator control. LastModifiedInfo *string `mandatory:"false" json:"lastModifiedInfo"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m OperatorControl) String() string
OperatorControlAssignment An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified.
type OperatorControlAssignment struct { // The OCID of the operator control assignment. Id *string `mandatory:"true" json:"id"` // The OCID of the operator control. OperatorControlId *string `mandatory:"true" json:"operatorControlId"` // The OCID of the target resource. ResourceId *string `mandatory:"true" json:"resourceId"` // Name of the target resource. ResourceName *string `mandatory:"true" json:"resourceName"` // Type of the target resource. ResourceType ResourceTypesEnum `mandatory:"false" json:"resourceType,omitempty"` // The OCID of the compartment that contains the target resource. ResourceCompartmentId *string `mandatory:"false" json:"resourceCompartmentId"` // The OCID of the comparment that contains the operator control assignment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The time at which the target resource will be brought under the governance of the operator control expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: '2020-05-22T21:10:29.600Z' TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"` // The time at which the target resource will leave the governance of the operator control expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. // Example: '2020-05-22T21:10:29.600Z' TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"` // If set, then the target resource is always governed by the operator control. IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"` // The current lifcycle state of the OperatorControl. LifecycleState OperatorControlAssignmentLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The OCID of the user who created this operator control assignment. AssignerId *string `mandatory:"false" json:"assignerId"` // Time when the operator control assignment is created in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfAssignment *common.SDKTime `mandatory:"false" json:"timeOfAssignment"` // Comment about the assignment of the operator control to this target resource. Comment *string `mandatory:"false" json:"comment"` // User id who released the operatorControl. UnassignerId *string `mandatory:"false" json:"unassignerId"` // Time on which the operator control assignment was deleted in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"` // description containing reason for releasing of OperatorControl. DetachmentDescription *string `mandatory:"false" json:"detachmentDescription"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m OperatorControlAssignment) String() string
OperatorControlAssignmentClient a client for OperatorControlAssignment
type OperatorControlAssignmentClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOperatorControlAssignmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlAssignmentClient, err error)
NewOperatorControlAssignmentClientWithConfigurationProvider Creates a new default OperatorControlAssignment client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOperatorControlAssignmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlAssignmentClient, err error)
NewOperatorControlAssignmentClientWithOboToken Creates a new default OperatorControlAssignment client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client OperatorControlAssignmentClient) ChangeOperatorControlAssignmentCompartment(ctx context.Context, request ChangeOperatorControlAssignmentCompartmentRequest) (response ChangeOperatorControlAssignmentCompartmentResponse, err error)
ChangeOperatorControlAssignmentCompartment Changes the compartment of the specified Operator Control assignment ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ChangeOperatorControlAssignmentCompartment.go.html to see an example of how to use ChangeOperatorControlAssignmentCompartment API.
func (client *OperatorControlAssignmentClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OperatorControlAssignmentClient) CreateOperatorControlAssignment(ctx context.Context, request CreateOperatorControlAssignmentRequest) (response CreateOperatorControlAssignmentResponse, err error)
CreateOperatorControlAssignment Creates an Operator Control Assignment resource. In effect, this brings the target resource under the governance of the Operator Control for specified time duration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/CreateOperatorControlAssignment.go.html to see an example of how to use CreateOperatorControlAssignment API.
func (client OperatorControlAssignmentClient) DeleteOperatorControlAssignment(ctx context.Context, request DeleteOperatorControlAssignmentRequest) (response DeleteOperatorControlAssignmentResponse, err error)
DeleteOperatorControlAssignment Deletes the specified Operator Control Assignment. This has the effect of unassigning the specific Operator Control from the target resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/DeleteOperatorControlAssignment.go.html to see an example of how to use DeleteOperatorControlAssignment API.
func (client OperatorControlAssignmentClient) GetOperatorControlAssignment(ctx context.Context, request GetOperatorControlAssignmentRequest) (response GetOperatorControlAssignmentResponse, err error)
GetOperatorControlAssignment Gets the details of an Operator Control Assignment of the specified ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorControlAssignment.go.html to see an example of how to use GetOperatorControlAssignment API.
func (client OperatorControlAssignmentClient) ListOperatorControlAssignments(ctx context.Context, request ListOperatorControlAssignmentsRequest) (response ListOperatorControlAssignmentsResponse, err error)
ListOperatorControlAssignments Lists all Operator Control Assignments.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorControlAssignments.go.html to see an example of how to use ListOperatorControlAssignments API.
func (client *OperatorControlAssignmentClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OperatorControlAssignmentClient) UpdateOperatorControlAssignment(ctx context.Context, request UpdateOperatorControlAssignmentRequest) (response UpdateOperatorControlAssignmentResponse, err error)
UpdateOperatorControlAssignment Modifies the existing Operator Control assignment of the specified Operator Control assignment ID. Modifying the assignment does not change the Operator Control assignment ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/UpdateOperatorControlAssignment.go.html to see an example of how to use UpdateOperatorControlAssignment API.
OperatorControlAssignmentCollection Results of Operator Control assignment search, which contains summary of the assignment.
type OperatorControlAssignmentCollection struct { // contains OperatorControlAssignmentSummary Items []OperatorControlAssignmentSummary `mandatory:"true" json:"items"` }
func (m OperatorControlAssignmentCollection) String() string
OperatorControlAssignmentLifecycleStatesEnum Enum with underlying type: string
type OperatorControlAssignmentLifecycleStatesEnum string
Set of constants representing the allowable values for OperatorControlAssignmentLifecycleStatesEnum
const ( OperatorControlAssignmentLifecycleStatesCreated OperatorControlAssignmentLifecycleStatesEnum = "CREATED" OperatorControlAssignmentLifecycleStatesApplied OperatorControlAssignmentLifecycleStatesEnum = "APPLIED" OperatorControlAssignmentLifecycleStatesApplyfailed OperatorControlAssignmentLifecycleStatesEnum = "APPLYFAILED" OperatorControlAssignmentLifecycleStatesDeleted OperatorControlAssignmentLifecycleStatesEnum = "DELETED" )
func GetOperatorControlAssignmentLifecycleStatesEnumValues() []OperatorControlAssignmentLifecycleStatesEnum
GetOperatorControlAssignmentLifecycleStatesEnumValues Enumerates the set of values for OperatorControlAssignmentLifecycleStatesEnum
OperatorControlAssignmentSummary Details of the operator control assignment.
type OperatorControlAssignmentSummary struct { // The OCID of the operator control assignment. Id *string `mandatory:"true" json:"id"` // The OCID of the operator control. OperatorControlId *string `mandatory:"true" json:"operatorControlId"` // The OCID of the target resource being governed by the operator control. ResourceId *string `mandatory:"true" json:"resourceId"` // The OCID of the compartment that contains the operator control assignment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of the target resource being governed by the operator control. ResourceType *string `mandatory:"false" json:"resourceType"` // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"` // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"` // If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom. IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"` // Time when the operator control assignment is created in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfAssignment *common.SDKTime `mandatory:"false" json:"timeOfAssignment"` // The current lifcycle state of the OperatorControl. LifecycleState OperatorControlAssignmentLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m OperatorControlAssignmentSummary) String() string
OperatorControlClient a client for OperatorControl
type OperatorControlClient struct { common.BaseClient // contains filtered or unexported fields }
func NewOperatorControlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OperatorControlClient, err error)
NewOperatorControlClientWithConfigurationProvider Creates a new default OperatorControl client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewOperatorControlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OperatorControlClient, err error)
NewOperatorControlClientWithOboToken Creates a new default OperatorControl client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client OperatorControlClient) ChangeOperatorControlCompartment(ctx context.Context, request ChangeOperatorControlCompartmentRequest) (response ChangeOperatorControlCompartmentResponse, err error)
ChangeOperatorControlCompartment Moves the Operator Control resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ChangeOperatorControlCompartment.go.html to see an example of how to use ChangeOperatorControlCompartment API.
func (client *OperatorControlClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client OperatorControlClient) CreateOperatorControl(ctx context.Context, request CreateOperatorControlRequest) (response CreateOperatorControlResponse, err error)
CreateOperatorControl Creates an Operator Control.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/CreateOperatorControl.go.html to see an example of how to use CreateOperatorControl API.
func (client OperatorControlClient) DeleteOperatorControl(ctx context.Context, request DeleteOperatorControlRequest) (response DeleteOperatorControlResponse, err error)
DeleteOperatorControl Deletes an Operator Control. You cannot delete an Operator Control if it is assigned to govern any target resource currently or in the future. In that case, first, delete all of the current and future assignments before deleting the Operator Control. An Operator Control that was previously assigned to a target resource is marked as DELETED following a successful deletion. However, it is not completely deleted from the system. This is to ensure auditing information for the accesses done under the Operator Control is preserved for future needs. The system purges the deleted Operator Control only when all of the audit data associated with the Operator Control are also deleted. Therefore, you cannot reuse the name of the deleted Operator Control until the system purges the Operator Control.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/DeleteOperatorControl.go.html to see an example of how to use DeleteOperatorControl API.
func (client OperatorControlClient) GetOperatorControl(ctx context.Context, request GetOperatorControlRequest) (response GetOperatorControlResponse, err error)
GetOperatorControl Gets the Operator Control associated with the specified Operator Control ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/GetOperatorControl.go.html to see an example of how to use GetOperatorControl API.
func (client OperatorControlClient) ListOperatorControls(ctx context.Context, request ListOperatorControlsRequest) (response ListOperatorControlsResponse, err error)
ListOperatorControls Lists the operator controls in the compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/ListOperatorControls.go.html to see an example of how to use ListOperatorControls API.
func (client *OperatorControlClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client OperatorControlClient) UpdateOperatorControl(ctx context.Context, request UpdateOperatorControlRequest) (response UpdateOperatorControlResponse, err error)
UpdateOperatorControl Modifies the existing OperatorControl for a given operator control id except the operator control id.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/UpdateOperatorControl.go.html to see an example of how to use UpdateOperatorControl API.
OperatorControlCollection Results of Operator Control search, which contains summary of the operator control.
type OperatorControlCollection struct { // contains OperatorControlSummary Items []OperatorControlSummary `mandatory:"true" json:"items"` }
func (m OperatorControlCollection) String() string
OperatorControlLifecycleStatesEnum Enum with underlying type: string
type OperatorControlLifecycleStatesEnum string
Set of constants representing the allowable values for OperatorControlLifecycleStatesEnum
const ( OperatorControlLifecycleStatesCreated OperatorControlLifecycleStatesEnum = "CREATED" OperatorControlLifecycleStatesAssigned OperatorControlLifecycleStatesEnum = "ASSIGNED" OperatorControlLifecycleStatesUnassigned OperatorControlLifecycleStatesEnum = "UNASSIGNED" OperatorControlLifecycleStatesDeleted OperatorControlLifecycleStatesEnum = "DELETED" )
func GetOperatorControlLifecycleStatesEnumValues() []OperatorControlLifecycleStatesEnum
GetOperatorControlLifecycleStatesEnumValues Enumerates the set of values for OperatorControlLifecycleStatesEnum
OperatorControlSummary Summary of the OperatorControl.
type OperatorControlSummary struct { // The OCID of the operator control. Id *string `mandatory:"true" json:"id"` // Name of the operator control. OperatorControlName *string `mandatory:"true" json:"operatorControlName"` // The OCID of the compartment that contains the operator control. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Whether all operator actions are pre-approved. If yes, an access request associated with a resource governed by the operator control will be automatically approved by the system. IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"` // Time when the operator control was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfCreation *common.SDKTime `mandatory:"false" json:"timeOfCreation"` // Time when the operator control was last modified, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfModification *common.SDKTime `mandatory:"false" json:"timeOfModification"` // Time when the operator control was deleted, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeOfDeletion *common.SDKTime `mandatory:"false" json:"timeOfDeletion"` // The current lifecycle state of the operator control. LifecycleState OperatorControlLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m OperatorControlSummary) String() string
RejectAccessRequestDetails Summary of why the access request was rejected.
type RejectAccessRequestDetails struct { // Comment by the approver explaining why the request is rejected. ApproverComment *string `mandatory:"false" json:"approverComment"` }
func (m RejectAccessRequestDetails) String() string
RejectAccessRequestRequest wrapper for the RejectAccessRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/RejectAccessRequest.go.html to see an example of how to use RejectAccessRequestRequest.
type RejectAccessRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // Details regarding the rejection of an access request created by the operator. RejectAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RejectAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RejectAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RejectAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RejectAccessRequestRequest) String() string
RejectAccessRequestResponse wrapper for the RejectAccessRequest operation
type RejectAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RejectAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RejectAccessRequestResponse) String() string
ResourceTypesEnum Enum with underlying type: string
type ResourceTypesEnum string
Set of constants representing the allowable values for ResourceTypesEnum
const ( ResourceTypesExacc ResourceTypesEnum = "EXACC" )
func GetResourceTypesEnumValues() []ResourceTypesEnum
GetResourceTypesEnumValues Enumerates the set of values for ResourceTypesEnum
RevokeAccessRequestDetails Summary of why the already approved access request was revoked.
type RevokeAccessRequestDetails struct { // Comment specified by the approver explaining why the approval is revoked. ApproverComment *string `mandatory:"false" json:"approverComment"` }
func (m RevokeAccessRequestDetails) String() string
RevokeAccessRequestRequest wrapper for the RevokeAccessRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/RevokeAccessRequest.go.html to see an example of how to use RevokeAccessRequestRequest.
type RevokeAccessRequestRequest struct { // unique AccessRequest identifier AccessRequestId *string `mandatory:"true" contributesTo:"path" name:"accessRequestId"` // Details regarding the revocation of an access request created by the operator. RevokeAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request RevokeAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RevokeAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RevokeAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RevokeAccessRequestRequest) String() string
RevokeAccessRequestResponse wrapper for the RevokeAccessRequest operation
type RevokeAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RevokeAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RevokeAccessRequestResponse) String() string
SortOrdersEnum Enum with underlying type: string
type SortOrdersEnum string
Set of constants representing the allowable values for SortOrdersEnum
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
UpdateOperatorControlAssignmentDetails Details for modifying the Operator Control assignment.
type UpdateOperatorControlAssignmentDetails struct { // The time at which the target resource will be brought under the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' TimeAssignmentFrom *common.SDKTime `mandatory:"false" json:"timeAssignmentFrom"` // The time at which the target resource will leave the governance of the operator control in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' TimeAssignmentTo *common.SDKTime `mandatory:"false" json:"timeAssignmentTo"` // If true, then the target resource is always governed by the operator control. Otherwise governance is time-based as specified by timeAssignmentTo and timeAssignmentFrom. IsEnforcedAlways *bool `mandatory:"false" json:"isEnforcedAlways"` // Comment about the modification of the operator control assignment. Comment *string `mandatory:"false" json:"comment"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateOperatorControlAssignmentDetails) String() string
UpdateOperatorControlAssignmentRequest wrapper for the UpdateOperatorControlAssignment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/UpdateOperatorControlAssignment.go.html to see an example of how to use UpdateOperatorControlAssignmentRequest.
type UpdateOperatorControlAssignmentRequest struct { // unique OperatorControl identifier OperatorControlAssignmentId *string `mandatory:"true" contributesTo:"path" name:"operatorControlAssignmentId"` // Details for the new operator control assignment. UpdateOperatorControlAssignmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateOperatorControlAssignmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOperatorControlAssignmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOperatorControlAssignmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOperatorControlAssignmentRequest) String() string
UpdateOperatorControlAssignmentResponse wrapper for the UpdateOperatorControlAssignment operation
type UpdateOperatorControlAssignmentResponse struct { // The underlying http response RawResponse *http.Response // The OperatorControlAssignment instance OperatorControlAssignment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateOperatorControlAssignmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOperatorControlAssignmentResponse) String() string
UpdateOperatorControlDetails Information about the new operator control.
type UpdateOperatorControlDetails struct { // Name of the operator control. OperatorControlName *string `mandatory:"false" json:"operatorControlName"` // Description of the operator control. Description *string `mandatory:"false" json:"description"` // List of users who can approve an access request associated with a target resource under the governance of this operator control. ApproversList []string `mandatory:"false" json:"approversList"` // List of user groups who can approve an access request associated with a target resource under the governance of this operator control. ApproverGroupsList []string `mandatory:"false" json:"approverGroupsList"` // List of pre-approved operator actions. Access requests associated with a resource governed by this operator control will be // automatically approved if the access request only contain operator actions in the pre-approved list. PreApprovedOpActionList []string `mandatory:"false" json:"preApprovedOpActionList"` // Whether all the operator actions have been pre-approved. If yes, all access requests associated with a resource governed by this operator control // will be auto-approved. IsFullyPreApproved *bool `mandatory:"false" json:"isFullyPreApproved"` // List of emailId. EmailIdList []string `mandatory:"false" json:"emailIdList"` // System message that would be displayed to the operator users on accessing the target resource under the governance of this operator control. SystemMessage *string `mandatory:"false" json:"systemMessage"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateOperatorControlDetails) String() string
UpdateOperatorControlRequest wrapper for the UpdateOperatorControl operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/49.1.0/operatoraccesscontrol/UpdateOperatorControl.go.html to see an example of how to use UpdateOperatorControlRequest.
type UpdateOperatorControlRequest struct { // unique OperatorControl identifier OperatorControlId *string `mandatory:"true" contributesTo:"path" name:"operatorControlId"` // Details for the new OperatorControl. UpdateOperatorControlDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateOperatorControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateOperatorControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateOperatorControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateOperatorControlRequest) String() string
UpdateOperatorControlResponse wrapper for the UpdateOperatorControl operation
type UpdateOperatorControlResponse struct { // The underlying http response RawResponse *http.Response // The OperatorControl instance OperatorControl `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateOperatorControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateOperatorControlResponse) String() string