operatoraccesscontrol

package
v46.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: Apache-2.0, UPL-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRequest

type AccessRequest struct {

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

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

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

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

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

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

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

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

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

func (AccessRequest) String

func (m AccessRequest) String() string

type AccessRequestCollection

type AccessRequestCollection struct {

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

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

func (AccessRequestCollection) String

func (m AccessRequestCollection) String() string

type AccessRequestHistoryCollection

type AccessRequestHistoryCollection struct {

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

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

func (AccessRequestHistoryCollection) String

type AccessRequestHistorySummary

type AccessRequestHistorySummary struct {

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

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

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

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

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

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

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

AccessRequestHistorySummary Summary of access request status.

func (AccessRequestHistorySummary) String

type AccessRequestLifecycleStatesEnum

type AccessRequestLifecycleStatesEnum string

AccessRequestLifecycleStatesEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for AccessRequestLifecycleStatesEnum

func GetAccessRequestLifecycleStatesEnumValues

func GetAccessRequestLifecycleStatesEnumValues() []AccessRequestLifecycleStatesEnum

GetAccessRequestLifecycleStatesEnumValues Enumerates the set of values for AccessRequestLifecycleStatesEnum

type AccessRequestSeveritiesEnum

type AccessRequestSeveritiesEnum string

AccessRequestSeveritiesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for AccessRequestSeveritiesEnum

func GetAccessRequestSeveritiesEnumValues

func GetAccessRequestSeveritiesEnumValues() []AccessRequestSeveritiesEnum

GetAccessRequestSeveritiesEnumValues Enumerates the set of values for AccessRequestSeveritiesEnum

type AccessRequestSummary

type AccessRequestSummary struct {

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

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

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

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

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

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

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

AccessRequestSummary Summary of access request.

func (AccessRequestSummary) String

func (m AccessRequestSummary) String() string

type AccessRequestsClient

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

AccessRequestsClient a client for AccessRequests

func NewAccessRequestsClientWithConfigurationProvider

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

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

func NewAccessRequestsClientWithOboToken

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

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

as well as reading the region

func (AccessRequestsClient) ApproveAccessRequest

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

ApproveAccessRequest Approves an access request.

See also

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

func (*AccessRequestsClient) ConfigurationProvider

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

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

func (AccessRequestsClient) GetAccessRequest

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

GetAccessRequest Gets details of an access request.

See also

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

func (AccessRequestsClient) ListAccessRequestHistories

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

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

See also

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

func (AccessRequestsClient) ListAccessRequests

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

ListAccessRequests Lists all access requests in the compartment.

See also

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

func (AccessRequestsClient) RejectAccessRequest

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

RejectAccessRequest Rejects an access request.

See also

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

func (AccessRequestsClient) RevokeAccessRequest

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

RevokeAccessRequest Revokes an already approved access request.

See also

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

func (*AccessRequestsClient) SetRegion

func (client *AccessRequestsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type ApproveAccessRequestDetails

type ApproveAccessRequestDetails struct {

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

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

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

ApproveAccessRequestDetails Details of the access request approval.

func (ApproveAccessRequestDetails) String

type ApproveAccessRequestRequest

type ApproveAccessRequestRequest struct {

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

	// Details regarding the approval of an access request created by the operator.
	ApproveAccessRequestDetails `contributesTo:"body"`

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

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

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

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

ApproveAccessRequestRequest wrapper for the ApproveAccessRequest operation

See also

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

func (ApproveAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ApproveAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ApproveAccessRequestRequest) RetryPolicy

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

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

func (ApproveAccessRequestRequest) String

func (request ApproveAccessRequestRequest) String() string

type ApproveAccessRequestResponse

type ApproveAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

ApproveAccessRequestResponse wrapper for the ApproveAccessRequest operation

func (ApproveAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ApproveAccessRequestResponse) String

func (response ApproveAccessRequestResponse) String() string

type ChangeOperatorControlAssignmentCompartmentDetails

type ChangeOperatorControlAssignmentCompartmentDetails struct {

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

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

func (ChangeOperatorControlAssignmentCompartmentDetails) String

type ChangeOperatorControlAssignmentCompartmentRequest

type ChangeOperatorControlAssignmentCompartmentRequest struct {

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

	// Changes the compartment for the given operator control assignment.
	ChangeOperatorControlAssignmentCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeOperatorControlAssignmentCompartmentRequest wrapper for the ChangeOperatorControlAssignmentCompartment operation

See also

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

func (ChangeOperatorControlAssignmentCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeOperatorControlAssignmentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOperatorControlAssignmentCompartmentRequest) RetryPolicy

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

func (ChangeOperatorControlAssignmentCompartmentRequest) String

type ChangeOperatorControlAssignmentCompartmentResponse

type ChangeOperatorControlAssignmentCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeOperatorControlAssignmentCompartmentResponse wrapper for the ChangeOperatorControlAssignmentCompartment operation

func (ChangeOperatorControlAssignmentCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeOperatorControlAssignmentCompartmentResponse) String

type ChangeOperatorControlCompartmentDetails

type ChangeOperatorControlCompartmentDetails struct {

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

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

func (ChangeOperatorControlCompartmentDetails) String

type ChangeOperatorControlCompartmentRequest

type ChangeOperatorControlCompartmentRequest struct {

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

	// Moves the Operator Control resource into a different compartment.
	ChangeOperatorControlCompartmentDetails `contributesTo:"body"`

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

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

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

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

ChangeOperatorControlCompartmentRequest wrapper for the ChangeOperatorControlCompartment operation

See also

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

func (ChangeOperatorControlCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeOperatorControlCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeOperatorControlCompartmentRequest) RetryPolicy

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

func (ChangeOperatorControlCompartmentRequest) String

type ChangeOperatorControlCompartmentResponse

type ChangeOperatorControlCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeOperatorControlCompartmentResponse wrapper for the ChangeOperatorControlCompartment operation

func (ChangeOperatorControlCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeOperatorControlCompartmentResponse) String

type CreateOperatorControlAssignmentDetails

type CreateOperatorControlAssignmentDetails struct {

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

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

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

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

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

func (CreateOperatorControlAssignmentDetails) String

type CreateOperatorControlAssignmentRequest

type CreateOperatorControlAssignmentRequest struct {

	// Details of the Operator Control Assignment.
	CreateOperatorControlAssignmentDetails `contributesTo:"body"`

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

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

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

CreateOperatorControlAssignmentRequest wrapper for the CreateOperatorControlAssignment operation

See also

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

func (CreateOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOperatorControlAssignmentRequest) RetryPolicy

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

func (CreateOperatorControlAssignmentRequest) String

type CreateOperatorControlAssignmentResponse

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

CreateOperatorControlAssignmentResponse wrapper for the CreateOperatorControlAssignment operation

func (CreateOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOperatorControlAssignmentResponse) String

type CreateOperatorControlDetails

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

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

func (CreateOperatorControlDetails) String

type CreateOperatorControlRequest

type CreateOperatorControlRequest struct {

	// Details for the new Operator Control.
	CreateOperatorControlDetails `contributesTo:"body"`

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

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

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

CreateOperatorControlRequest wrapper for the CreateOperatorControl operation

See also

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

func (CreateOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateOperatorControlRequest) RetryPolicy

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

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

func (CreateOperatorControlRequest) String

func (request CreateOperatorControlRequest) String() string

type CreateOperatorControlResponse

type CreateOperatorControlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

CreateOperatorControlResponse wrapper for the CreateOperatorControl operation

func (CreateOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateOperatorControlResponse) String

func (response CreateOperatorControlResponse) String() string

type DeleteOperatorControlAssignmentRequest

type DeleteOperatorControlAssignmentRequest struct {

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

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

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

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

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

DeleteOperatorControlAssignmentRequest wrapper for the DeleteOperatorControlAssignment operation

See also

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

func (DeleteOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOperatorControlAssignmentRequest) RetryPolicy

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

func (DeleteOperatorControlAssignmentRequest) String

type DeleteOperatorControlAssignmentResponse

type DeleteOperatorControlAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteOperatorControlAssignmentResponse wrapper for the DeleteOperatorControlAssignment operation

func (DeleteOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOperatorControlAssignmentResponse) String

type DeleteOperatorControlRequest

type DeleteOperatorControlRequest struct {

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

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

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

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

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

DeleteOperatorControlRequest wrapper for the DeleteOperatorControl operation

See also

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

func (DeleteOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteOperatorControlRequest) RetryPolicy

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

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

func (DeleteOperatorControlRequest) String

func (request DeleteOperatorControlRequest) String() string

type DeleteOperatorControlResponse

type DeleteOperatorControlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

DeleteOperatorControlResponse wrapper for the DeleteOperatorControl operation

func (DeleteOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteOperatorControlResponse) String

func (response DeleteOperatorControlResponse) String() string

type GetAccessRequestRequest

type GetAccessRequestRequest struct {

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

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

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

GetAccessRequestRequest wrapper for the GetAccessRequest operation

See also

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

func (GetAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAccessRequestRequest) RetryPolicy

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

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

func (GetAccessRequestRequest) String

func (request GetAccessRequestRequest) String() string

type GetAccessRequestResponse

type GetAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetAccessRequestResponse wrapper for the GetAccessRequest operation

func (GetAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAccessRequestResponse) String

func (response GetAccessRequestResponse) String() string

type GetOperatorActionRequest

type GetOperatorActionRequest struct {

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

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

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

GetOperatorActionRequest wrapper for the GetOperatorAction operation

See also

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

func (GetOperatorActionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorActionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorActionRequest) RetryPolicy

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

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

func (GetOperatorActionRequest) String

func (request GetOperatorActionRequest) String() string

type GetOperatorActionResponse

type GetOperatorActionResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

GetOperatorActionResponse wrapper for the GetOperatorAction operation

func (GetOperatorActionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorActionResponse) String

func (response GetOperatorActionResponse) String() string

type GetOperatorControlAssignmentRequest

type GetOperatorControlAssignmentRequest struct {

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

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

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

GetOperatorControlAssignmentRequest wrapper for the GetOperatorControlAssignment operation

See also

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

func (GetOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorControlAssignmentRequest) RetryPolicy

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

func (GetOperatorControlAssignmentRequest) String

type GetOperatorControlAssignmentResponse

type GetOperatorControlAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetOperatorControlAssignmentResponse wrapper for the GetOperatorControlAssignment operation

func (GetOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorControlAssignmentResponse) String

func (response GetOperatorControlAssignmentResponse) String() string

type GetOperatorControlRequest

type GetOperatorControlRequest struct {

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

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

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

GetOperatorControlRequest wrapper for the GetOperatorControl operation

See also

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

func (GetOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetOperatorControlRequest) RetryPolicy

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

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

func (GetOperatorControlRequest) String

func (request GetOperatorControlRequest) String() string

type GetOperatorControlResponse

type GetOperatorControlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetOperatorControlResponse wrapper for the GetOperatorControl operation

func (GetOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetOperatorControlResponse) String

func (response GetOperatorControlResponse) String() string

type InfrastrcutureLayersEnum

type InfrastrcutureLayersEnum string

InfrastrcutureLayersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for InfrastrcutureLayersEnum

func GetInfrastrcutureLayersEnumValues

func GetInfrastrcutureLayersEnumValues() []InfrastrcutureLayersEnum

GetInfrastrcutureLayersEnumValues Enumerates the set of values for InfrastrcutureLayersEnum

type ListAccessRequestHistoriesRequest

type ListAccessRequestHistoriesRequest struct {

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

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

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

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

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

ListAccessRequestHistoriesRequest wrapper for the ListAccessRequestHistories operation

See also

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

func (ListAccessRequestHistoriesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAccessRequestHistoriesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAccessRequestHistoriesRequest) RetryPolicy

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

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

func (ListAccessRequestHistoriesRequest) String

func (request ListAccessRequestHistoriesRequest) String() string

type ListAccessRequestHistoriesResponse

type ListAccessRequestHistoriesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListAccessRequestHistoriesResponse wrapper for the ListAccessRequestHistories operation

func (ListAccessRequestHistoriesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAccessRequestHistoriesResponse) String

func (response ListAccessRequestHistoriesResponse) String() string

type ListAccessRequestsLifecycleStateEnum

type ListAccessRequestsLifecycleStateEnum string

ListAccessRequestsLifecycleStateEnum Enum with underlying type: string

const (
	ListAccessRequestsLifecycleStateCreated           ListAccessRequestsLifecycleStateEnum = "CREATED"
	ListAccessRequestsLifecycleStateApprovalwaiting   ListAccessRequestsLifecycleStateEnum = "APPROVALWAITING"
	ListAccessRequestsLifecycleStatePreapproved       ListAccessRequestsLifecycleStateEnum = "PREAPPROVED"
	ListAccessRequestsLifecycleStateApproved          ListAccessRequestsLifecycleStateEnum = "APPROVED"
	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"
)

Set of constants representing the allowable values for ListAccessRequestsLifecycleStateEnum

func GetListAccessRequestsLifecycleStateEnumValues

func GetListAccessRequestsLifecycleStateEnumValues() []ListAccessRequestsLifecycleStateEnum

GetListAccessRequestsLifecycleStateEnumValues Enumerates the set of values for ListAccessRequestsLifecycleStateEnum

type ListAccessRequestsRequest

type ListAccessRequestsRequest struct {

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

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

	// A filter to return only 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
}

ListAccessRequestsRequest wrapper for the ListAccessRequests operation

See also

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

func (ListAccessRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAccessRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAccessRequestsRequest) RetryPolicy

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

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

func (ListAccessRequestsRequest) String

func (request ListAccessRequestsRequest) String() string

type ListAccessRequestsResponse

type ListAccessRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListAccessRequestsResponse wrapper for the ListAccessRequests operation

func (ListAccessRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAccessRequestsResponse) String

func (response ListAccessRequestsResponse) String() string

type ListAccessRequestsSortByEnum

type ListAccessRequestsSortByEnum string

ListAccessRequestsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListAccessRequestsSortByEnum

func GetListAccessRequestsSortByEnumValues

func GetListAccessRequestsSortByEnumValues() []ListAccessRequestsSortByEnum

GetListAccessRequestsSortByEnumValues Enumerates the set of values for ListAccessRequestsSortByEnum

type ListAccessRequestsSortOrderEnum

type ListAccessRequestsSortOrderEnum string

ListAccessRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListAccessRequestsSortOrderEnum

func GetListAccessRequestsSortOrderEnumValues

func GetListAccessRequestsSortOrderEnumValues() []ListAccessRequestsSortOrderEnum

GetListAccessRequestsSortOrderEnumValues Enumerates the set of values for ListAccessRequestsSortOrderEnum

type ListOperatorActionsLifecycleStateEnum

type ListOperatorActionsLifecycleStateEnum string

ListOperatorActionsLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorActionsLifecycleStateEnum

func GetListOperatorActionsLifecycleStateEnumValues

func GetListOperatorActionsLifecycleStateEnumValues() []ListOperatorActionsLifecycleStateEnum

GetListOperatorActionsLifecycleStateEnumValues Enumerates the set of values for ListOperatorActionsLifecycleStateEnum

type ListOperatorActionsRequest

type ListOperatorActionsRequest struct {

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

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

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

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

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

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

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

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

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

ListOperatorActionsRequest wrapper for the ListOperatorActions operation

See also

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

func (ListOperatorActionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorActionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorActionsRequest) RetryPolicy

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

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

func (ListOperatorActionsRequest) String

func (request ListOperatorActionsRequest) String() string

type ListOperatorActionsResponse

type ListOperatorActionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListOperatorActionsResponse wrapper for the ListOperatorActions operation

func (ListOperatorActionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorActionsResponse) String

func (response ListOperatorActionsResponse) String() string

type ListOperatorActionsSortByEnum

type ListOperatorActionsSortByEnum string

ListOperatorActionsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorActionsSortByEnum

func GetListOperatorActionsSortByEnumValues

func GetListOperatorActionsSortByEnumValues() []ListOperatorActionsSortByEnum

GetListOperatorActionsSortByEnumValues Enumerates the set of values for ListOperatorActionsSortByEnum

type ListOperatorActionsSortOrderEnum

type ListOperatorActionsSortOrderEnum string

ListOperatorActionsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorActionsSortOrderEnum

func GetListOperatorActionsSortOrderEnumValues

func GetListOperatorActionsSortOrderEnumValues() []ListOperatorActionsSortOrderEnum

GetListOperatorActionsSortOrderEnumValues Enumerates the set of values for ListOperatorActionsSortOrderEnum

type ListOperatorControlAssignmentsLifecycleStateEnum

type ListOperatorControlAssignmentsLifecycleStateEnum string

ListOperatorControlAssignmentsLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlAssignmentsLifecycleStateEnum

func GetListOperatorControlAssignmentsLifecycleStateEnumValues

func GetListOperatorControlAssignmentsLifecycleStateEnumValues() []ListOperatorControlAssignmentsLifecycleStateEnum

GetListOperatorControlAssignmentsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlAssignmentsLifecycleStateEnum

type ListOperatorControlAssignmentsRequest

type ListOperatorControlAssignmentsRequest struct {

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

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

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

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

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

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

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

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

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

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

ListOperatorControlAssignmentsRequest wrapper for the ListOperatorControlAssignments operation

See also

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

func (ListOperatorControlAssignmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorControlAssignmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorControlAssignmentsRequest) RetryPolicy

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

func (ListOperatorControlAssignmentsRequest) String

type ListOperatorControlAssignmentsResponse

type ListOperatorControlAssignmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListOperatorControlAssignmentsResponse wrapper for the ListOperatorControlAssignments operation

func (ListOperatorControlAssignmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorControlAssignmentsResponse) String

type ListOperatorControlAssignmentsSortByEnum

type ListOperatorControlAssignmentsSortByEnum string

ListOperatorControlAssignmentsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlAssignmentsSortByEnum

func GetListOperatorControlAssignmentsSortByEnumValues

func GetListOperatorControlAssignmentsSortByEnumValues() []ListOperatorControlAssignmentsSortByEnum

GetListOperatorControlAssignmentsSortByEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortByEnum

type ListOperatorControlAssignmentsSortOrderEnum

type ListOperatorControlAssignmentsSortOrderEnum string

ListOperatorControlAssignmentsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlAssignmentsSortOrderEnum

func GetListOperatorControlAssignmentsSortOrderEnumValues

func GetListOperatorControlAssignmentsSortOrderEnumValues() []ListOperatorControlAssignmentsSortOrderEnum

GetListOperatorControlAssignmentsSortOrderEnumValues Enumerates the set of values for ListOperatorControlAssignmentsSortOrderEnum

type ListOperatorControlsLifecycleStateEnum

type ListOperatorControlsLifecycleStateEnum string

ListOperatorControlsLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlsLifecycleStateEnum

func GetListOperatorControlsLifecycleStateEnumValues

func GetListOperatorControlsLifecycleStateEnumValues() []ListOperatorControlsLifecycleStateEnum

GetListOperatorControlsLifecycleStateEnumValues Enumerates the set of values for ListOperatorControlsLifecycleStateEnum

type ListOperatorControlsRequest

type ListOperatorControlsRequest struct {

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

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

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

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

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

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

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

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

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

ListOperatorControlsRequest wrapper for the ListOperatorControls operation

See also

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

func (ListOperatorControlsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListOperatorControlsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListOperatorControlsRequest) RetryPolicy

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

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

func (ListOperatorControlsRequest) String

func (request ListOperatorControlsRequest) String() string

type ListOperatorControlsResponse

type ListOperatorControlsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

ListOperatorControlsResponse wrapper for the ListOperatorControls operation

func (ListOperatorControlsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListOperatorControlsResponse) String

func (response ListOperatorControlsResponse) String() string

type ListOperatorControlsSortByEnum

type ListOperatorControlsSortByEnum string

ListOperatorControlsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlsSortByEnum

func GetListOperatorControlsSortByEnumValues

func GetListOperatorControlsSortByEnumValues() []ListOperatorControlsSortByEnum

GetListOperatorControlsSortByEnumValues Enumerates the set of values for ListOperatorControlsSortByEnum

type ListOperatorControlsSortOrderEnum

type ListOperatorControlsSortOrderEnum string

ListOperatorControlsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListOperatorControlsSortOrderEnum

func GetListOperatorControlsSortOrderEnumValues

func GetListOperatorControlsSortOrderEnumValues() []ListOperatorControlsSortOrderEnum

GetListOperatorControlsSortOrderEnumValues Enumerates the set of values for ListOperatorControlsSortOrderEnum

type OperatorAction

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

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

func (OperatorAction) String

func (m OperatorAction) String() string

type OperatorActionCategoriesEnum

type OperatorActionCategoriesEnum string

OperatorActionCategoriesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperatorActionCategoriesEnum

func GetOperatorActionCategoriesEnumValues

func GetOperatorActionCategoriesEnumValues() []OperatorActionCategoriesEnum

GetOperatorActionCategoriesEnumValues Enumerates the set of values for OperatorActionCategoriesEnum

type OperatorActionCollection

type OperatorActionCollection struct {

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

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

func (OperatorActionCollection) String

func (m OperatorActionCollection) String() string

type OperatorActionLifecycleStatesEnum

type OperatorActionLifecycleStatesEnum string

OperatorActionLifecycleStatesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperatorActionLifecycleStatesEnum

func GetOperatorActionLifecycleStatesEnumValues

func GetOperatorActionLifecycleStatesEnumValues() []OperatorActionLifecycleStatesEnum

GetOperatorActionLifecycleStatesEnumValues Enumerates the set of values for OperatorActionLifecycleStatesEnum

type OperatorActionProperties

type OperatorActionProperties struct {

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

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

OperatorActionProperties Details of the properties of operator action.

func (OperatorActionProperties) String

func (m OperatorActionProperties) String() string

type OperatorActionSummary

type OperatorActionSummary struct {

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

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

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

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

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

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

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

func (OperatorActionSummary) String

func (m OperatorActionSummary) String() string

type OperatorActionsClient

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

OperatorActionsClient a client for OperatorActions

func NewOperatorActionsClientWithConfigurationProvider

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

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

func NewOperatorActionsClientWithOboToken

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

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

as well as reading the region

func (*OperatorActionsClient) ConfigurationProvider

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

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

func (OperatorActionsClient) GetOperatorAction

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

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

See also

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

func (OperatorActionsClient) ListOperatorActions

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

ListOperatorActions Lists all the OperatorActions available in the system.

See also

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

func (*OperatorActionsClient) SetRegion

func (client *OperatorActionsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type OperatorControl

type OperatorControl struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (OperatorControl) String

func (m OperatorControl) String() string

type OperatorControlAssignment

type OperatorControlAssignment struct {

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

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

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

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

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

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

func (OperatorControlAssignment) String

func (m OperatorControlAssignment) String() string

type OperatorControlAssignmentClient

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

OperatorControlAssignmentClient a client for OperatorControlAssignment

func NewOperatorControlAssignmentClientWithConfigurationProvider

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

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

func NewOperatorControlAssignmentClientWithOboToken

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

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

as well as reading the region

func (OperatorControlAssignmentClient) ChangeOperatorControlAssignmentCompartment

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

See also

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

func (*OperatorControlAssignmentClient) ConfigurationProvider

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

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

func (OperatorControlAssignmentClient) CreateOperatorControlAssignment

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

See also

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

func (OperatorControlAssignmentClient) DeleteOperatorControlAssignment

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

See also

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

func (OperatorControlAssignmentClient) GetOperatorControlAssignment

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

See also

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

func (OperatorControlAssignmentClient) ListOperatorControlAssignments

ListOperatorControlAssignments Lists all Operator Control Assignments.

See also

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

func (*OperatorControlAssignmentClient) SetRegion

func (client *OperatorControlAssignmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OperatorControlAssignmentClient) UpdateOperatorControlAssignment

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

See also

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

type OperatorControlAssignmentCollection

type OperatorControlAssignmentCollection struct {

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

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

func (OperatorControlAssignmentCollection) String

type OperatorControlAssignmentLifecycleStatesEnum

type OperatorControlAssignmentLifecycleStatesEnum string

OperatorControlAssignmentLifecycleStatesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperatorControlAssignmentLifecycleStatesEnum

func GetOperatorControlAssignmentLifecycleStatesEnumValues

func GetOperatorControlAssignmentLifecycleStatesEnumValues() []OperatorControlAssignmentLifecycleStatesEnum

GetOperatorControlAssignmentLifecycleStatesEnumValues Enumerates the set of values for OperatorControlAssignmentLifecycleStatesEnum

type OperatorControlAssignmentSummary

type OperatorControlAssignmentSummary struct {

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

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

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

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

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

OperatorControlAssignmentSummary Details of the operator control assignment.

func (OperatorControlAssignmentSummary) String

type OperatorControlClient

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

OperatorControlClient a client for OperatorControl

func NewOperatorControlClientWithConfigurationProvider

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

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

func NewOperatorControlClientWithOboToken

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

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

as well as reading the region

func (OperatorControlClient) ChangeOperatorControlCompartment

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

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

See also

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

func (*OperatorControlClient) ConfigurationProvider

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

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

func (OperatorControlClient) CreateOperatorControl

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

CreateOperatorControl Creates an Operator Control.

See also

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

func (OperatorControlClient) DeleteOperatorControl

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

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

See also

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

func (OperatorControlClient) GetOperatorControl

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

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

See also

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

func (OperatorControlClient) ListOperatorControls

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

ListOperatorControls Lists the operator controls in the compartment.

See also

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

func (*OperatorControlClient) SetRegion

func (client *OperatorControlClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (OperatorControlClient) UpdateOperatorControl

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

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

See also

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

type OperatorControlCollection

type OperatorControlCollection struct {

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

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

func (OperatorControlCollection) String

func (m OperatorControlCollection) String() string

type OperatorControlLifecycleStatesEnum

type OperatorControlLifecycleStatesEnum string

OperatorControlLifecycleStatesEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperatorControlLifecycleStatesEnum

func GetOperatorControlLifecycleStatesEnumValues

func GetOperatorControlLifecycleStatesEnumValues() []OperatorControlLifecycleStatesEnum

GetOperatorControlLifecycleStatesEnumValues Enumerates the set of values for OperatorControlLifecycleStatesEnum

type OperatorControlSummary

type OperatorControlSummary struct {

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

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

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

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

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

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

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

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

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

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

OperatorControlSummary Summary of the OperatorControl.

func (OperatorControlSummary) String

func (m OperatorControlSummary) String() string

type RejectAccessRequestDetails

type RejectAccessRequestDetails struct {

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

RejectAccessRequestDetails Summary of why the access request was rejected.

func (RejectAccessRequestDetails) String

type RejectAccessRequestRequest

type RejectAccessRequestRequest struct {

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

	// Details regarding the rejection of an access request created by the operator.
	RejectAccessRequestDetails `contributesTo:"body"`

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

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

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

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

RejectAccessRequestRequest wrapper for the RejectAccessRequest operation

See also

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

func (RejectAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RejectAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RejectAccessRequestRequest) RetryPolicy

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

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

func (RejectAccessRequestRequest) String

func (request RejectAccessRequestRequest) String() string

type RejectAccessRequestResponse

type RejectAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

RejectAccessRequestResponse wrapper for the RejectAccessRequest operation

func (RejectAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RejectAccessRequestResponse) String

func (response RejectAccessRequestResponse) String() string

type ResourceTypesEnum

type ResourceTypesEnum string

ResourceTypesEnum Enum with underlying type: string

const (
	ResourceTypesExacc ResourceTypesEnum = "EXACC"
)

Set of constants representing the allowable values for ResourceTypesEnum

func GetResourceTypesEnumValues

func GetResourceTypesEnumValues() []ResourceTypesEnum

GetResourceTypesEnumValues Enumerates the set of values for ResourceTypesEnum

type RevokeAccessRequestDetails

type RevokeAccessRequestDetails struct {

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

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

func (RevokeAccessRequestDetails) String

type RevokeAccessRequestRequest

type RevokeAccessRequestRequest struct {

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

	// Details regarding the revocation of an access request created by the operator.
	RevokeAccessRequestDetails `contributesTo:"body"`

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

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

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

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

RevokeAccessRequestRequest wrapper for the RevokeAccessRequest operation

See also

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

func (RevokeAccessRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RevokeAccessRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RevokeAccessRequestRequest) RetryPolicy

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

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

func (RevokeAccessRequestRequest) String

func (request RevokeAccessRequestRequest) String() string

type RevokeAccessRequestResponse

type RevokeAccessRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

RevokeAccessRequestResponse wrapper for the RevokeAccessRequest operation

func (RevokeAccessRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RevokeAccessRequestResponse) String

func (response RevokeAccessRequestResponse) String() string

type SortOrdersEnum

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrdersEnum

func GetSortOrdersEnumValues

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type UpdateOperatorControlAssignmentDetails

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

UpdateOperatorControlAssignmentDetails Details for modifying the Operator Control assignment.

func (UpdateOperatorControlAssignmentDetails) String

type UpdateOperatorControlAssignmentRequest

type UpdateOperatorControlAssignmentRequest struct {

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

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

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

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

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

UpdateOperatorControlAssignmentRequest wrapper for the UpdateOperatorControlAssignment operation

See also

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

func (UpdateOperatorControlAssignmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOperatorControlAssignmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOperatorControlAssignmentRequest) RetryPolicy

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

func (UpdateOperatorControlAssignmentRequest) String

type UpdateOperatorControlAssignmentResponse

type UpdateOperatorControlAssignmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateOperatorControlAssignmentResponse wrapper for the UpdateOperatorControlAssignment operation

func (UpdateOperatorControlAssignmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOperatorControlAssignmentResponse) String

type UpdateOperatorControlDetails

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

UpdateOperatorControlDetails Information about the new operator control.

func (UpdateOperatorControlDetails) String

type UpdateOperatorControlRequest

type UpdateOperatorControlRequest struct {

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

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

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

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

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

UpdateOperatorControlRequest wrapper for the UpdateOperatorControl operation

See also

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

func (UpdateOperatorControlRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateOperatorControlRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateOperatorControlRequest) RetryPolicy

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

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

func (UpdateOperatorControlRequest) String

func (request UpdateOperatorControlRequest) String() string

type UpdateOperatorControlResponse

type UpdateOperatorControlResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

UpdateOperatorControlResponse wrapper for the UpdateOperatorControl operation

func (UpdateOperatorControlResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateOperatorControlResponse) String

func (response UpdateOperatorControlResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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