...

Package psa

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetListPrivateServiceAccessesSortByEnumStringValues() []string
func GetListPrivateServiceAccessesSortOrderEnumStringValues() []string
func GetListPsaServicesSortByEnumStringValues() []string
func GetListPsaServicesSortOrderEnumStringValues() []string
func GetListPsaWorkRequestErrorsSortByEnumStringValues() []string
func GetListPsaWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListPsaWorkRequestLogsSortByEnumStringValues() []string
func GetListPsaWorkRequestLogsSortOrderEnumStringValues() []string
func GetListPsaWorkRequestsSortByEnumStringValues() []string
func GetListPsaWorkRequestsSortOrderEnumStringValues() []string
func GetListPsaWorkRequestsStatusEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPrivateServiceAccessLifecycleStateEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type CancelPsaWorkRequestRequest
    func (request CancelPsaWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelPsaWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelPsaWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelPsaWorkRequestRequest) String() string
    func (request CancelPsaWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelPsaWorkRequestResponse
    func (response CancelPsaWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelPsaWorkRequestResponse) String() string
type ChangePrivateServiceAccessCompartmentDetails
    func (m ChangePrivateServiceAccessCompartmentDetails) String() string
    func (m ChangePrivateServiceAccessCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangePrivateServiceAccessCompartmentRequest
    func (request ChangePrivateServiceAccessCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangePrivateServiceAccessCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangePrivateServiceAccessCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangePrivateServiceAccessCompartmentRequest) String() string
    func (request ChangePrivateServiceAccessCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangePrivateServiceAccessCompartmentResponse
    func (response ChangePrivateServiceAccessCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangePrivateServiceAccessCompartmentResponse) String() string
type CreatePrivateServiceAccessDetails
    func (m CreatePrivateServiceAccessDetails) String() string
    func (m CreatePrivateServiceAccessDetails) ValidateEnumValue() (bool, error)
type CreatePrivateServiceAccessRequest
    func (request CreatePrivateServiceAccessRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreatePrivateServiceAccessRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreatePrivateServiceAccessRequest) RetryPolicy() *common.RetryPolicy
    func (request CreatePrivateServiceAccessRequest) String() string
    func (request CreatePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)
type CreatePrivateServiceAccessResponse
    func (response CreatePrivateServiceAccessResponse) HTTPResponse() *http.Response
    func (response CreatePrivateServiceAccessResponse) String() string
type DeletePrivateServiceAccessRequest
    func (request DeletePrivateServiceAccessRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeletePrivateServiceAccessRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeletePrivateServiceAccessRequest) RetryPolicy() *common.RetryPolicy
    func (request DeletePrivateServiceAccessRequest) String() string
    func (request DeletePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)
type DeletePrivateServiceAccessResponse
    func (response DeletePrivateServiceAccessResponse) HTTPResponse() *http.Response
    func (response DeletePrivateServiceAccessResponse) String() string
type GetPrivateServiceAccessRequest
    func (request GetPrivateServiceAccessRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPrivateServiceAccessRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPrivateServiceAccessRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPrivateServiceAccessRequest) String() string
    func (request GetPrivateServiceAccessRequest) ValidateEnumValue() (bool, error)
type GetPrivateServiceAccessResponse
    func (response GetPrivateServiceAccessResponse) HTTPResponse() *http.Response
    func (response GetPrivateServiceAccessResponse) String() string
type GetPsaWorkRequestRequest
    func (request GetPsaWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPsaWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPsaWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPsaWorkRequestRequest) String() string
    func (request GetPsaWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetPsaWorkRequestResponse
    func (response GetPsaWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetPsaWorkRequestResponse) String() string
type ListPrivateServiceAccessesRequest
    func (request ListPrivateServiceAccessesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPrivateServiceAccessesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPrivateServiceAccessesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPrivateServiceAccessesRequest) String() string
    func (request ListPrivateServiceAccessesRequest) ValidateEnumValue() (bool, error)
type ListPrivateServiceAccessesResponse
    func (response ListPrivateServiceAccessesResponse) HTTPResponse() *http.Response
    func (response ListPrivateServiceAccessesResponse) String() string
type ListPrivateServiceAccessesSortByEnum
    func GetListPrivateServiceAccessesSortByEnumValues() []ListPrivateServiceAccessesSortByEnum
    func GetMappingListPrivateServiceAccessesSortByEnum(val string) (ListPrivateServiceAccessesSortByEnum, bool)
type ListPrivateServiceAccessesSortOrderEnum
    func GetListPrivateServiceAccessesSortOrderEnumValues() []ListPrivateServiceAccessesSortOrderEnum
    func GetMappingListPrivateServiceAccessesSortOrderEnum(val string) (ListPrivateServiceAccessesSortOrderEnum, bool)
type ListPsaServicesRequest
    func (request ListPsaServicesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPsaServicesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPsaServicesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPsaServicesRequest) String() string
    func (request ListPsaServicesRequest) ValidateEnumValue() (bool, error)
type ListPsaServicesResponse
    func (response ListPsaServicesResponse) HTTPResponse() *http.Response
    func (response ListPsaServicesResponse) String() string
type ListPsaServicesSortByEnum
    func GetListPsaServicesSortByEnumValues() []ListPsaServicesSortByEnum
    func GetMappingListPsaServicesSortByEnum(val string) (ListPsaServicesSortByEnum, bool)
type ListPsaServicesSortOrderEnum
    func GetListPsaServicesSortOrderEnumValues() []ListPsaServicesSortOrderEnum
    func GetMappingListPsaServicesSortOrderEnum(val string) (ListPsaServicesSortOrderEnum, bool)
type ListPsaWorkRequestErrorsRequest
    func (request ListPsaWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPsaWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPsaWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPsaWorkRequestErrorsRequest) String() string
    func (request ListPsaWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListPsaWorkRequestErrorsResponse
    func (response ListPsaWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListPsaWorkRequestErrorsResponse) String() string
type ListPsaWorkRequestErrorsSortByEnum
    func GetListPsaWorkRequestErrorsSortByEnumValues() []ListPsaWorkRequestErrorsSortByEnum
    func GetMappingListPsaWorkRequestErrorsSortByEnum(val string) (ListPsaWorkRequestErrorsSortByEnum, bool)
type ListPsaWorkRequestErrorsSortOrderEnum
    func GetListPsaWorkRequestErrorsSortOrderEnumValues() []ListPsaWorkRequestErrorsSortOrderEnum
    func GetMappingListPsaWorkRequestErrorsSortOrderEnum(val string) (ListPsaWorkRequestErrorsSortOrderEnum, bool)
type ListPsaWorkRequestLogsRequest
    func (request ListPsaWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPsaWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPsaWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPsaWorkRequestLogsRequest) String() string
    func (request ListPsaWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListPsaWorkRequestLogsResponse
    func (response ListPsaWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListPsaWorkRequestLogsResponse) String() string
type ListPsaWorkRequestLogsSortByEnum
    func GetListPsaWorkRequestLogsSortByEnumValues() []ListPsaWorkRequestLogsSortByEnum
    func GetMappingListPsaWorkRequestLogsSortByEnum(val string) (ListPsaWorkRequestLogsSortByEnum, bool)
type ListPsaWorkRequestLogsSortOrderEnum
    func GetListPsaWorkRequestLogsSortOrderEnumValues() []ListPsaWorkRequestLogsSortOrderEnum
    func GetMappingListPsaWorkRequestLogsSortOrderEnum(val string) (ListPsaWorkRequestLogsSortOrderEnum, bool)
type ListPsaWorkRequestsRequest
    func (request ListPsaWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPsaWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPsaWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPsaWorkRequestsRequest) String() string
    func (request ListPsaWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListPsaWorkRequestsResponse
    func (response ListPsaWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListPsaWorkRequestsResponse) String() string
type ListPsaWorkRequestsSortByEnum
    func GetListPsaWorkRequestsSortByEnumValues() []ListPsaWorkRequestsSortByEnum
    func GetMappingListPsaWorkRequestsSortByEnum(val string) (ListPsaWorkRequestsSortByEnum, bool)
type ListPsaWorkRequestsSortOrderEnum
    func GetListPsaWorkRequestsSortOrderEnumValues() []ListPsaWorkRequestsSortOrderEnum
    func GetMappingListPsaWorkRequestsSortOrderEnum(val string) (ListPsaWorkRequestsSortOrderEnum, bool)
type ListPsaWorkRequestsStatusEnum
    func GetListPsaWorkRequestsStatusEnumValues() []ListPsaWorkRequestsStatusEnum
    func GetMappingListPsaWorkRequestsStatusEnum(val string) (ListPsaWorkRequestsStatusEnum, bool)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PrivateServiceAccess
    func (m PrivateServiceAccess) String() string
    func (m PrivateServiceAccess) ValidateEnumValue() (bool, error)
type PrivateServiceAccessClient
    func NewPrivateServiceAccessClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client PrivateServiceAccessClient, err error)
    func NewPrivateServiceAccessClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client PrivateServiceAccessClient, err error)
    func (client PrivateServiceAccessClient) CancelPsaWorkRequest(ctx context.Context, request CancelPsaWorkRequestRequest) (response CancelPsaWorkRequestResponse, err error)
    func (client PrivateServiceAccessClient) ChangePrivateServiceAccessCompartment(ctx context.Context, request ChangePrivateServiceAccessCompartmentRequest) (response ChangePrivateServiceAccessCompartmentResponse, err error)
    func (client *PrivateServiceAccessClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client PrivateServiceAccessClient) CreatePrivateServiceAccess(ctx context.Context, request CreatePrivateServiceAccessRequest) (response CreatePrivateServiceAccessResponse, err error)
    func (client PrivateServiceAccessClient) DeletePrivateServiceAccess(ctx context.Context, request DeletePrivateServiceAccessRequest) (response DeletePrivateServiceAccessResponse, err error)
    func (client PrivateServiceAccessClient) GetPrivateServiceAccess(ctx context.Context, request GetPrivateServiceAccessRequest) (response GetPrivateServiceAccessResponse, err error)
    func (client PrivateServiceAccessClient) GetPsaWorkRequest(ctx context.Context, request GetPsaWorkRequestRequest) (response GetPsaWorkRequestResponse, err error)
    func (client PrivateServiceAccessClient) ListPrivateServiceAccesses(ctx context.Context, request ListPrivateServiceAccessesRequest) (response ListPrivateServiceAccessesResponse, err error)
    func (client PrivateServiceAccessClient) ListPsaServices(ctx context.Context, request ListPsaServicesRequest) (response ListPsaServicesResponse, err error)
    func (client PrivateServiceAccessClient) ListPsaWorkRequestErrors(ctx context.Context, request ListPsaWorkRequestErrorsRequest) (response ListPsaWorkRequestErrorsResponse, err error)
    func (client PrivateServiceAccessClient) ListPsaWorkRequestLogs(ctx context.Context, request ListPsaWorkRequestLogsRequest) (response ListPsaWorkRequestLogsResponse, err error)
    func (client PrivateServiceAccessClient) ListPsaWorkRequests(ctx context.Context, request ListPsaWorkRequestsRequest) (response ListPsaWorkRequestsResponse, err error)
    func (client *PrivateServiceAccessClient) SetRegion(region string)
    func (client PrivateServiceAccessClient) UpdatePrivateServiceAccess(ctx context.Context, request UpdatePrivateServiceAccessRequest) (response UpdatePrivateServiceAccessResponse, err error)
type PrivateServiceAccessCollection
    func (m PrivateServiceAccessCollection) String() string
    func (m PrivateServiceAccessCollection) ValidateEnumValue() (bool, error)
type PrivateServiceAccessLifecycleStateEnum
    func GetMappingPrivateServiceAccessLifecycleStateEnum(val string) (PrivateServiceAccessLifecycleStateEnum, bool)
    func GetPrivateServiceAccessLifecycleStateEnumValues() []PrivateServiceAccessLifecycleStateEnum
type PrivateServiceAccessSummary
    func (m PrivateServiceAccessSummary) String() string
    func (m PrivateServiceAccessSummary) ValidateEnumValue() (bool, error)
type PsaServiceCollection
    func (m PsaServiceCollection) String() string
    func (m PsaServiceCollection) ValidateEnumValue() (bool, error)
type PsaServiceSummary
    func (m PsaServiceSummary) String() string
    func (m PsaServiceSummary) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdatePrivateServiceAccessDetails
    func (m UpdatePrivateServiceAccessDetails) String() string
    func (m UpdatePrivateServiceAccessDetails) ValidateEnumValue() (bool, error)
type UpdatePrivateServiceAccessRequest
    func (request UpdatePrivateServiceAccessRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdatePrivateServiceAccessRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdatePrivateServiceAccessRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdatePrivateServiceAccessRequest) String() string
    func (request UpdatePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)
type UpdatePrivateServiceAccessResponse
    func (response UpdatePrivateServiceAccessResponse) HTTPResponse() *http.Response
    func (response UpdatePrivateServiceAccessResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go cancel_psa_work_request_request_response.go change_private_service_access_compartment_details.go change_private_service_access_compartment_request_response.go create_private_service_access_details.go create_private_service_access_request_response.go delete_private_service_access_request_response.go get_private_service_access_request_response.go get_psa_work_request_request_response.go list_private_service_accesses_request_response.go list_psa_services_request_response.go list_psa_work_request_errors_request_response.go list_psa_work_request_logs_request_response.go list_psa_work_requests_request_response.go operation_status.go operation_type.go private_service_access.go private_service_access_collection.go private_service_access_summary.go psa_privateserviceaccess_client.go psa_service_collection.go psa_service_summary.go sort_order.go update_private_service_access_details.go update_private_service_access_request_response.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetListPrivateServiceAccessesSortByEnumStringValues

func GetListPrivateServiceAccessesSortByEnumStringValues() []string

GetListPrivateServiceAccessesSortByEnumStringValues Enumerates the set of values in String for ListPrivateServiceAccessesSortByEnum

func GetListPrivateServiceAccessesSortOrderEnumStringValues

func GetListPrivateServiceAccessesSortOrderEnumStringValues() []string

GetListPrivateServiceAccessesSortOrderEnumStringValues Enumerates the set of values in String for ListPrivateServiceAccessesSortOrderEnum

func GetListPsaServicesSortByEnumStringValues

func GetListPsaServicesSortByEnumStringValues() []string

GetListPsaServicesSortByEnumStringValues Enumerates the set of values in String for ListPsaServicesSortByEnum

func GetListPsaServicesSortOrderEnumStringValues

func GetListPsaServicesSortOrderEnumStringValues() []string

GetListPsaServicesSortOrderEnumStringValues Enumerates the set of values in String for ListPsaServicesSortOrderEnum

func GetListPsaWorkRequestErrorsSortByEnumStringValues

func GetListPsaWorkRequestErrorsSortByEnumStringValues() []string

GetListPsaWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestErrorsSortByEnum

func GetListPsaWorkRequestErrorsSortOrderEnumStringValues

func GetListPsaWorkRequestErrorsSortOrderEnumStringValues() []string

GetListPsaWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestErrorsSortOrderEnum

func GetListPsaWorkRequestLogsSortByEnumStringValues

func GetListPsaWorkRequestLogsSortByEnumStringValues() []string

GetListPsaWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestLogsSortByEnum

func GetListPsaWorkRequestLogsSortOrderEnumStringValues

func GetListPsaWorkRequestLogsSortOrderEnumStringValues() []string

GetListPsaWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestLogsSortOrderEnum

func GetListPsaWorkRequestsSortByEnumStringValues

func GetListPsaWorkRequestsSortByEnumStringValues() []string

GetListPsaWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestsSortByEnum

func GetListPsaWorkRequestsSortOrderEnumStringValues

func GetListPsaWorkRequestsSortOrderEnumStringValues() []string

GetListPsaWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestsSortOrderEnum

func GetListPsaWorkRequestsStatusEnumStringValues

func GetListPsaWorkRequestsStatusEnumStringValues() []string

GetListPsaWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListPsaWorkRequestsStatusEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPrivateServiceAccessLifecycleStateEnumStringValues

func GetPrivateServiceAccessLifecycleStateEnumStringValues() []string

GetPrivateServiceAccessLifecycleStateEnumStringValues Enumerates the set of values in String for PrivateServiceAccessLifecycleStateEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

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

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type CancelPsaWorkRequestRequest

CancelPsaWorkRequestRequest wrapper for the CancelPsaWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/CancelPsaWorkRequest.go.html to see an example of how to use CancelPsaWorkRequestRequest.

type CancelPsaWorkRequestRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CancelPsaWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelPsaWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelPsaWorkRequestRequest) RetryPolicy

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

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

func (CancelPsaWorkRequestRequest) String

func (request CancelPsaWorkRequestRequest) String() string

func (CancelPsaWorkRequestRequest) ValidateEnumValue

func (request CancelPsaWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelPsaWorkRequestResponse

CancelPsaWorkRequestResponse wrapper for the CancelPsaWorkRequest operation

type CancelPsaWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (CancelPsaWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelPsaWorkRequestResponse) String

func (response CancelPsaWorkRequestResponse) String() string

type ChangePrivateServiceAccessCompartmentDetails

ChangePrivateServiceAccessCompartmentDetails The configuration details for the move operation.

type ChangePrivateServiceAccessCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the private service access should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangePrivateServiceAccessCompartmentDetails) String

func (m ChangePrivateServiceAccessCompartmentDetails) String() string

func (ChangePrivateServiceAccessCompartmentDetails) ValidateEnumValue

func (m ChangePrivateServiceAccessCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangePrivateServiceAccessCompartmentRequest

ChangePrivateServiceAccessCompartmentRequest wrapper for the ChangePrivateServiceAccessCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ChangePrivateServiceAccessCompartment.go.html to see an example of how to use ChangePrivateServiceAccessCompartmentRequest.

type ChangePrivateServiceAccessCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess.
    PrivateServiceAccessId *string `mandatory:"true" contributesTo:"path" name:"privateServiceAccessId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of running 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 removed from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

func (ChangePrivateServiceAccessCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangePrivateServiceAccessCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangePrivateServiceAccessCompartmentRequest) RetryPolicy

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

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

func (ChangePrivateServiceAccessCompartmentRequest) String

func (request ChangePrivateServiceAccessCompartmentRequest) String() string

func (ChangePrivateServiceAccessCompartmentRequest) ValidateEnumValue

func (request ChangePrivateServiceAccessCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangePrivateServiceAccessCompartmentResponse

ChangePrivateServiceAccessCompartmentResponse wrapper for the ChangePrivateServiceAccessCompartment operation

type ChangePrivateServiceAccessCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangePrivateServiceAccessCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangePrivateServiceAccessCompartmentResponse) String

func (response ChangePrivateServiceAccessCompartmentResponse) String() string

type CreatePrivateServiceAccessDetails

CreatePrivateServiceAccessDetails Details to create a private service access.

type CreatePrivateServiceAccessDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the
    // private service access.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN's
    // subnet where the private service access's VNIC will reside.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A unique service identifier for which the private service access was created.
    ServiceId *string `mandatory:"true" json:"serviceId"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels
    // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm)
    // (ZPR) policy to control access to ZPR-supported resources.
    // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
    SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A description of this private service accesss.
    Description *string `mandatory:"false" json:"description"`

    // A list of the OCIDs of the network security groups (NSGs) to add the private
    // service access's VNIC to.
    // For more information about NSGs, see
    // NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The private IPv4 address (in the consumer's VCN) that represents the access point for the
    // associated service.
    Ipv4Ip *string `mandatory:"false" json:"ipv4Ip"`
}

func (CreatePrivateServiceAccessDetails) String

func (m CreatePrivateServiceAccessDetails) String() string

func (CreatePrivateServiceAccessDetails) ValidateEnumValue

func (m CreatePrivateServiceAccessDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreatePrivateServiceAccessRequest

CreatePrivateServiceAccessRequest wrapper for the CreatePrivateServiceAccess operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/CreatePrivateServiceAccess.go.html to see an example of how to use CreatePrivateServiceAccessRequest.

type CreatePrivateServiceAccessRequest struct {

    // Details for the new PrivateServiceAccess.
    CreatePrivateServiceAccessDetails `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 running 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 removed from the system, then a retry of the original creation request
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreatePrivateServiceAccessRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreatePrivateServiceAccessRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreatePrivateServiceAccessRequest) RetryPolicy

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

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

func (CreatePrivateServiceAccessRequest) String

func (request CreatePrivateServiceAccessRequest) String() string

func (CreatePrivateServiceAccessRequest) ValidateEnumValue

func (request CreatePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreatePrivateServiceAccessResponse

CreatePrivateServiceAccessResponse wrapper for the CreatePrivateServiceAccess operation

type CreatePrivateServiceAccessResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // URL for the created privateServiceAccess. The privateServiceAccess OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CreatePrivateServiceAccessResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreatePrivateServiceAccessResponse) String

func (response CreatePrivateServiceAccessResponse) String() string

type DeletePrivateServiceAccessRequest

DeletePrivateServiceAccessRequest wrapper for the DeletePrivateServiceAccess operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/DeletePrivateServiceAccess.go.html to see an example of how to use DeletePrivateServiceAccessRequest.

type DeletePrivateServiceAccessRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess.
    PrivateServiceAccessId *string `mandatory:"true" contributesTo:"path" name:"privateServiceAccessId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeletePrivateServiceAccessRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeletePrivateServiceAccessRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeletePrivateServiceAccessRequest) RetryPolicy

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

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

func (DeletePrivateServiceAccessRequest) String

func (request DeletePrivateServiceAccessRequest) String() string

func (DeletePrivateServiceAccessRequest) ValidateEnumValue

func (request DeletePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeletePrivateServiceAccessResponse

DeletePrivateServiceAccessResponse wrapper for the DeletePrivateServiceAccess operation

type DeletePrivateServiceAccessResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (DeletePrivateServiceAccessResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeletePrivateServiceAccessResponse) String

func (response DeletePrivateServiceAccessResponse) String() string

type GetPrivateServiceAccessRequest

GetPrivateServiceAccessRequest wrapper for the GetPrivateServiceAccess operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/GetPrivateServiceAccess.go.html to see an example of how to use GetPrivateServiceAccessRequest.

type GetPrivateServiceAccessRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess.
    PrivateServiceAccessId *string `mandatory:"true" contributesTo:"path" name:"privateServiceAccessId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetPrivateServiceAccessRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPrivateServiceAccessRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPrivateServiceAccessRequest) RetryPolicy

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

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

func (GetPrivateServiceAccessRequest) String

func (request GetPrivateServiceAccessRequest) String() string

func (GetPrivateServiceAccessRequest) ValidateEnumValue

func (request GetPrivateServiceAccessRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPrivateServiceAccessResponse

GetPrivateServiceAccessResponse wrapper for the GetPrivateServiceAccess operation

type GetPrivateServiceAccessResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetPrivateServiceAccessResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPrivateServiceAccessResponse) String

func (response GetPrivateServiceAccessResponse) String() string

type GetPsaWorkRequestRequest

GetPsaWorkRequestRequest wrapper for the GetPsaWorkRequest operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/GetPsaWorkRequest.go.html to see an example of how to use GetPsaWorkRequestRequest.

type GetPsaWorkRequestRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetPsaWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetPsaWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetPsaWorkRequestRequest) RetryPolicy

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

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

func (GetPsaWorkRequestRequest) String

func (request GetPsaWorkRequestRequest) String() string

func (GetPsaWorkRequestRequest) ValidateEnumValue

func (request GetPsaWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPsaWorkRequestResponse

GetPsaWorkRequestResponse wrapper for the GetPsaWorkRequest operation

type GetPsaWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (GetPsaWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetPsaWorkRequestResponse) String

func (response GetPsaWorkRequestResponse) String() string

type ListPrivateServiceAccessesRequest

ListPrivateServiceAccessesRequest wrapper for the ListPrivateServiceAccesses operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ListPrivateServiceAccesses.go.html to see an example of how to use ListPrivateServiceAccessesRequest.

type ListPrivateServiceAccessesRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState PrivateServiceAccessLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
    VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`

    // The unique identifier of the OCI service.
    ServiceId *string `mandatory:"false" contributesTo:"query" name:"serviceId"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListPrivateServiceAccessesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListPrivateServiceAccessesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListPrivateServiceAccessesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPrivateServiceAccessesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPrivateServiceAccessesRequest) RetryPolicy

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

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

func (ListPrivateServiceAccessesRequest) String

func (request ListPrivateServiceAccessesRequest) String() string

func (ListPrivateServiceAccessesRequest) ValidateEnumValue

func (request ListPrivateServiceAccessesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPrivateServiceAccessesResponse

ListPrivateServiceAccessesResponse wrapper for the ListPrivateServiceAccesses operation

type ListPrivateServiceAccessesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of PrivateServiceAccessCollection instances
    PrivateServiceAccessCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListPrivateServiceAccessesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPrivateServiceAccessesResponse) String

func (response ListPrivateServiceAccessesResponse) String() string

type ListPrivateServiceAccessesSortByEnum

ListPrivateServiceAccessesSortByEnum Enum with underlying type: string

type ListPrivateServiceAccessesSortByEnum string

Set of constants representing the allowable values for ListPrivateServiceAccessesSortByEnum

const (
    ListPrivateServiceAccessesSortByTimecreated ListPrivateServiceAccessesSortByEnum = "timeCreated"
    ListPrivateServiceAccessesSortByDisplayname ListPrivateServiceAccessesSortByEnum = "displayName"
)

func GetListPrivateServiceAccessesSortByEnumValues

func GetListPrivateServiceAccessesSortByEnumValues() []ListPrivateServiceAccessesSortByEnum

GetListPrivateServiceAccessesSortByEnumValues Enumerates the set of values for ListPrivateServiceAccessesSortByEnum

func GetMappingListPrivateServiceAccessesSortByEnum

func GetMappingListPrivateServiceAccessesSortByEnum(val string) (ListPrivateServiceAccessesSortByEnum, bool)

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

type ListPrivateServiceAccessesSortOrderEnum

ListPrivateServiceAccessesSortOrderEnum Enum with underlying type: string

type ListPrivateServiceAccessesSortOrderEnum string

Set of constants representing the allowable values for ListPrivateServiceAccessesSortOrderEnum

const (
    ListPrivateServiceAccessesSortOrderAsc  ListPrivateServiceAccessesSortOrderEnum = "ASC"
    ListPrivateServiceAccessesSortOrderDesc ListPrivateServiceAccessesSortOrderEnum = "DESC"
)

func GetListPrivateServiceAccessesSortOrderEnumValues

func GetListPrivateServiceAccessesSortOrderEnumValues() []ListPrivateServiceAccessesSortOrderEnum

GetListPrivateServiceAccessesSortOrderEnumValues Enumerates the set of values for ListPrivateServiceAccessesSortOrderEnum

func GetMappingListPrivateServiceAccessesSortOrderEnum

func GetMappingListPrivateServiceAccessesSortOrderEnum(val string) (ListPrivateServiceAccessesSortOrderEnum, bool)

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

type ListPsaServicesRequest

ListPsaServicesRequest wrapper for the ListPsaServices operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ListPsaServices.go.html to see an example of how to use ListPsaServicesRequest.

type ListPsaServicesRequest struct {

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

    // The unique identifier of the OCI service.
    ServiceId *string `mandatory:"false" contributesTo:"query" name:"serviceId"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListPsaServicesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListPsaServicesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPsaServicesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPsaServicesRequest) RetryPolicy

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

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

func (ListPsaServicesRequest) String

func (request ListPsaServicesRequest) String() string

func (ListPsaServicesRequest) ValidateEnumValue

func (request ListPsaServicesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPsaServicesResponse

ListPsaServicesResponse wrapper for the ListPsaServices operation

type ListPsaServicesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of PsaServiceCollection instances
    PsaServiceCollection `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 list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListPsaServicesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPsaServicesResponse) String

func (response ListPsaServicesResponse) String() string

type ListPsaServicesSortByEnum

ListPsaServicesSortByEnum Enum with underlying type: string

type ListPsaServicesSortByEnum string

Set of constants representing the allowable values for ListPsaServicesSortByEnum

const (
    ListPsaServicesSortByDisplayname ListPsaServicesSortByEnum = "displayName"
)

func GetListPsaServicesSortByEnumValues

func GetListPsaServicesSortByEnumValues() []ListPsaServicesSortByEnum

GetListPsaServicesSortByEnumValues Enumerates the set of values for ListPsaServicesSortByEnum

func GetMappingListPsaServicesSortByEnum

func GetMappingListPsaServicesSortByEnum(val string) (ListPsaServicesSortByEnum, bool)

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

type ListPsaServicesSortOrderEnum

ListPsaServicesSortOrderEnum Enum with underlying type: string

type ListPsaServicesSortOrderEnum string

Set of constants representing the allowable values for ListPsaServicesSortOrderEnum

const (
    ListPsaServicesSortOrderAsc  ListPsaServicesSortOrderEnum = "ASC"
    ListPsaServicesSortOrderDesc ListPsaServicesSortOrderEnum = "DESC"
)

func GetListPsaServicesSortOrderEnumValues

func GetListPsaServicesSortOrderEnumValues() []ListPsaServicesSortOrderEnum

GetListPsaServicesSortOrderEnumValues Enumerates the set of values for ListPsaServicesSortOrderEnum

func GetMappingListPsaServicesSortOrderEnum

func GetMappingListPsaServicesSortOrderEnum(val string) (ListPsaServicesSortOrderEnum, bool)

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

type ListPsaWorkRequestErrorsRequest

ListPsaWorkRequestErrorsRequest wrapper for the ListPsaWorkRequestErrors operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ListPsaWorkRequestErrors.go.html to see an example of how to use ListPsaWorkRequestErrorsRequest.

type ListPsaWorkRequestErrorsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListPsaWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListPsaWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPsaWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPsaWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListPsaWorkRequestErrorsRequest) String

func (request ListPsaWorkRequestErrorsRequest) String() string

func (ListPsaWorkRequestErrorsRequest) ValidateEnumValue

func (request ListPsaWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPsaWorkRequestErrorsResponse

ListPsaWorkRequestErrorsResponse wrapper for the ListPsaWorkRequestErrors operation

type ListPsaWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListPsaWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPsaWorkRequestErrorsResponse) String

func (response ListPsaWorkRequestErrorsResponse) String() string

type ListPsaWorkRequestErrorsSortByEnum

ListPsaWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListPsaWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListPsaWorkRequestErrorsSortByEnum

const (
    ListPsaWorkRequestErrorsSortByTimecreated ListPsaWorkRequestErrorsSortByEnum = "timeCreated"
)

func GetListPsaWorkRequestErrorsSortByEnumValues

func GetListPsaWorkRequestErrorsSortByEnumValues() []ListPsaWorkRequestErrorsSortByEnum

GetListPsaWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListPsaWorkRequestErrorsSortByEnum

func GetMappingListPsaWorkRequestErrorsSortByEnum

func GetMappingListPsaWorkRequestErrorsSortByEnum(val string) (ListPsaWorkRequestErrorsSortByEnum, bool)

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

type ListPsaWorkRequestErrorsSortOrderEnum

ListPsaWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListPsaWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListPsaWorkRequestErrorsSortOrderEnum

const (
    ListPsaWorkRequestErrorsSortOrderAsc  ListPsaWorkRequestErrorsSortOrderEnum = "ASC"
    ListPsaWorkRequestErrorsSortOrderDesc ListPsaWorkRequestErrorsSortOrderEnum = "DESC"
)

func GetListPsaWorkRequestErrorsSortOrderEnumValues

func GetListPsaWorkRequestErrorsSortOrderEnumValues() []ListPsaWorkRequestErrorsSortOrderEnum

GetListPsaWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListPsaWorkRequestErrorsSortOrderEnum

func GetMappingListPsaWorkRequestErrorsSortOrderEnum

func GetMappingListPsaWorkRequestErrorsSortOrderEnum(val string) (ListPsaWorkRequestErrorsSortOrderEnum, bool)

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

type ListPsaWorkRequestLogsRequest

ListPsaWorkRequestLogsRequest wrapper for the ListPsaWorkRequestLogs operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ListPsaWorkRequestLogs.go.html to see an example of how to use ListPsaWorkRequestLogsRequest.

type ListPsaWorkRequestLogsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListPsaWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListPsaWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPsaWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPsaWorkRequestLogsRequest) RetryPolicy

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

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

func (ListPsaWorkRequestLogsRequest) String

func (request ListPsaWorkRequestLogsRequest) String() string

func (ListPsaWorkRequestLogsRequest) ValidateEnumValue

func (request ListPsaWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPsaWorkRequestLogsResponse

ListPsaWorkRequestLogsResponse wrapper for the ListPsaWorkRequestLogs operation

type ListPsaWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

func (ListPsaWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPsaWorkRequestLogsResponse) String

func (response ListPsaWorkRequestLogsResponse) String() string

type ListPsaWorkRequestLogsSortByEnum

ListPsaWorkRequestLogsSortByEnum Enum with underlying type: string

type ListPsaWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListPsaWorkRequestLogsSortByEnum

const (
    ListPsaWorkRequestLogsSortByTimecreated ListPsaWorkRequestLogsSortByEnum = "timeCreated"
)

func GetListPsaWorkRequestLogsSortByEnumValues

func GetListPsaWorkRequestLogsSortByEnumValues() []ListPsaWorkRequestLogsSortByEnum

GetListPsaWorkRequestLogsSortByEnumValues Enumerates the set of values for ListPsaWorkRequestLogsSortByEnum

func GetMappingListPsaWorkRequestLogsSortByEnum

func GetMappingListPsaWorkRequestLogsSortByEnum(val string) (ListPsaWorkRequestLogsSortByEnum, bool)

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

type ListPsaWorkRequestLogsSortOrderEnum

ListPsaWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListPsaWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListPsaWorkRequestLogsSortOrderEnum

const (
    ListPsaWorkRequestLogsSortOrderAsc  ListPsaWorkRequestLogsSortOrderEnum = "ASC"
    ListPsaWorkRequestLogsSortOrderDesc ListPsaWorkRequestLogsSortOrderEnum = "DESC"
)

func GetListPsaWorkRequestLogsSortOrderEnumValues

func GetListPsaWorkRequestLogsSortOrderEnumValues() []ListPsaWorkRequestLogsSortOrderEnum

GetListPsaWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListPsaWorkRequestLogsSortOrderEnum

func GetMappingListPsaWorkRequestLogsSortOrderEnum

func GetMappingListPsaWorkRequestLogsSortOrderEnum(val string) (ListPsaWorkRequestLogsSortOrderEnum, bool)

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

type ListPsaWorkRequestsRequest

ListPsaWorkRequestsRequest wrapper for the ListPsaWorkRequests operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/ListPsaWorkRequests.go.html to see an example of how to use ListPsaWorkRequestsRequest.

type ListPsaWorkRequestsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only the resources that match the given lifecycle state.
    Status ListPsaWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For list pagination. The value of the opc-next-page response header from the previous
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a
    // paginated "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
    SortOrder ListPsaWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

func (ListPsaWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPsaWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPsaWorkRequestsRequest) RetryPolicy

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

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

func (ListPsaWorkRequestsRequest) String

func (request ListPsaWorkRequestsRequest) String() string

func (ListPsaWorkRequestsRequest) ValidateEnumValue

func (request ListPsaWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPsaWorkRequestsResponse

ListPsaWorkRequestsResponse wrapper for the ListPsaWorkRequests operation

type ListPsaWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For list pagination. When this header appears in the response, additional pages of results remain. For
    // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListPsaWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPsaWorkRequestsResponse) String

func (response ListPsaWorkRequestsResponse) String() string

type ListPsaWorkRequestsSortByEnum

ListPsaWorkRequestsSortByEnum Enum with underlying type: string

type ListPsaWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListPsaWorkRequestsSortByEnum

const (
    ListPsaWorkRequestsSortByTimeaccepted ListPsaWorkRequestsSortByEnum = "timeAccepted"
)

func GetListPsaWorkRequestsSortByEnumValues

func GetListPsaWorkRequestsSortByEnumValues() []ListPsaWorkRequestsSortByEnum

GetListPsaWorkRequestsSortByEnumValues Enumerates the set of values for ListPsaWorkRequestsSortByEnum

func GetMappingListPsaWorkRequestsSortByEnum

func GetMappingListPsaWorkRequestsSortByEnum(val string) (ListPsaWorkRequestsSortByEnum, bool)

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

type ListPsaWorkRequestsSortOrderEnum

ListPsaWorkRequestsSortOrderEnum Enum with underlying type: string

type ListPsaWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListPsaWorkRequestsSortOrderEnum

const (
    ListPsaWorkRequestsSortOrderAsc  ListPsaWorkRequestsSortOrderEnum = "ASC"
    ListPsaWorkRequestsSortOrderDesc ListPsaWorkRequestsSortOrderEnum = "DESC"
)

func GetListPsaWorkRequestsSortOrderEnumValues

func GetListPsaWorkRequestsSortOrderEnumValues() []ListPsaWorkRequestsSortOrderEnum

GetListPsaWorkRequestsSortOrderEnumValues Enumerates the set of values for ListPsaWorkRequestsSortOrderEnum

func GetMappingListPsaWorkRequestsSortOrderEnum

func GetMappingListPsaWorkRequestsSortOrderEnum(val string) (ListPsaWorkRequestsSortOrderEnum, bool)

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

type ListPsaWorkRequestsStatusEnum

ListPsaWorkRequestsStatusEnum Enum with underlying type: string

type ListPsaWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListPsaWorkRequestsStatusEnum

const (
    ListPsaWorkRequestsStatusAccepted       ListPsaWorkRequestsStatusEnum = "ACCEPTED"
    ListPsaWorkRequestsStatusInProgress     ListPsaWorkRequestsStatusEnum = "IN_PROGRESS"
    ListPsaWorkRequestsStatusWaiting        ListPsaWorkRequestsStatusEnum = "WAITING"
    ListPsaWorkRequestsStatusNeedsAttention ListPsaWorkRequestsStatusEnum = "NEEDS_ATTENTION"
    ListPsaWorkRequestsStatusFailed         ListPsaWorkRequestsStatusEnum = "FAILED"
    ListPsaWorkRequestsStatusSucceeded      ListPsaWorkRequestsStatusEnum = "SUCCEEDED"
    ListPsaWorkRequestsStatusCancelling     ListPsaWorkRequestsStatusEnum = "CANCELLING"
    ListPsaWorkRequestsStatusCancelled      ListPsaWorkRequestsStatusEnum = "CANCELLED"
)

func GetListPsaWorkRequestsStatusEnumValues

func GetListPsaWorkRequestsStatusEnumValues() []ListPsaWorkRequestsStatusEnum

GetListPsaWorkRequestsStatusEnumValues Enumerates the set of values for ListPsaWorkRequestsStatusEnum

func GetMappingListPsaWorkRequestsStatusEnum

func GetMappingListPsaWorkRequestsStatusEnum(val string) (ListPsaWorkRequestsStatusEnum, bool)

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

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

const (
    OperationStatusAccepted       OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress     OperationStatusEnum = "IN_PROGRESS"
    OperationStatusWaiting        OperationStatusEnum = "WAITING"
    OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION"
    OperationStatusFailed         OperationStatusEnum = "FAILED"
    OperationStatusSucceeded      OperationStatusEnum = "SUCCEEDED"
    OperationStatusCancelling     OperationStatusEnum = "CANCELLING"
    OperationStatusCancelled      OperationStatusEnum = "CANCELLED"
)

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreatePrivateServiceAccess OperationTypeEnum = "CREATE_PRIVATE_SERVICE_ACCESS"
    OperationTypeUpdatePrivateServiceAccess OperationTypeEnum = "UPDATE_PRIVATE_SERVICE_ACCESS"
    OperationTypeDeletePrivateServiceAccess OperationTypeEnum = "DELETE_PRIVATE_SERVICE_ACCESS"
    OperationTypeMovePrivateServiceAccess   OperationTypeEnum = "MOVE_PRIVATE_SERVICE_ACCESS"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PrivateServiceAccess

PrivateServiceAccess Private Service Access (PSA) is a new way to create private accesss for a service.

type PrivateServiceAccess struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the
    // private service access.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private
    // service access belongs to.
    VcnId *string `mandatory:"true" json:"vcnId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private service access
    // belongs to.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access's VNIC, which
    // resides in the private service access's VCN .
    VnicId *string `mandatory:"true" json:"vnicId"`

    // The private service access's current lifecycle state.
    LifecycleState PrivateServiceAccessLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A unique service identifier for which the private service access was created.
    ServiceId *string `mandatory:"true" json:"serviceId"`

    // The private service access FQDNs, which are going to be used to access the service.
    // Example: `xyz.oraclecloud.com`
    Fqdns []string `mandatory:"true" json:"fqdns"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels
    // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm)
    // (ZPR) policy to control access to ZPR-supported resources.
    // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
    SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`

    // A description of this private service access.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the private service access was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A list of the OCIDs of the network security groups that the private service access's VNIC belongs to.
    // For more information about NSGs, see
    // NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The private IPv4 address (in the consumer's VCN) that represents the access point for the
    // associated service.
    Ipv4Ip *string `mandatory:"false" json:"ipv4Ip"`
}

func (PrivateServiceAccess) String

func (m PrivateServiceAccess) String() string

func (PrivateServiceAccess) ValidateEnumValue

func (m PrivateServiceAccess) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PrivateServiceAccessClient

PrivateServiceAccessClient a client for PrivateServiceAccess

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

func NewPrivateServiceAccessClientWithConfigurationProvider

func NewPrivateServiceAccessClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client PrivateServiceAccessClient, err error)

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

func NewPrivateServiceAccessClientWithOboToken

func NewPrivateServiceAccessClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client PrivateServiceAccessClient, err error)

NewPrivateServiceAccessClientWithOboToken Creates a new default PrivateServiceAccess 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 (PrivateServiceAccessClient) CancelPsaWorkRequest

func (client PrivateServiceAccessClient) CancelPsaWorkRequest(ctx context.Context, request CancelPsaWorkRequestRequest) (response CancelPsaWorkRequestResponse, err error)

CancelPsaWorkRequest Cancels a PrivateServiceAccess work request.

See also

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

func (PrivateServiceAccessClient) ChangePrivateServiceAccessCompartment

func (client PrivateServiceAccessClient) ChangePrivateServiceAccessCompartment(ctx context.Context, request ChangePrivateServiceAccessCompartmentRequest) (response ChangePrivateServiceAccessCompartmentResponse, err error)

ChangePrivateServiceAccessCompartment Moves a PrivateServiceAccess into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

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

func (*PrivateServiceAccessClient) ConfigurationProvider

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

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

func (PrivateServiceAccessClient) CreatePrivateServiceAccess

func (client PrivateServiceAccessClient) CreatePrivateServiceAccess(ctx context.Context, request CreatePrivateServiceAccessRequest) (response CreatePrivateServiceAccessResponse, err error)

CreatePrivateServiceAccess Creates a private service access in the specified subnet (in the consumer's VCN) and the specified compartment for a particular service.

See also

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

func (PrivateServiceAccessClient) DeletePrivateServiceAccess

func (client PrivateServiceAccessClient) DeletePrivateServiceAccess(ctx context.Context, request DeletePrivateServiceAccessRequest) (response DeletePrivateServiceAccessResponse, err error)

DeletePrivateServiceAccess Deletes a PrivateServiceAccess.

See also

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

func (PrivateServiceAccessClient) GetPrivateServiceAccess

func (client PrivateServiceAccessClient) GetPrivateServiceAccess(ctx context.Context, request GetPrivateServiceAccessRequest) (response GetPrivateServiceAccessResponse, err error)

GetPrivateServiceAccess Gets information about a PrivateServiceAccess.

See also

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

func (PrivateServiceAccessClient) GetPsaWorkRequest

func (client PrivateServiceAccessClient) GetPsaWorkRequest(ctx context.Context, request GetPsaWorkRequestRequest) (response GetPsaWorkRequestResponse, err error)

GetPsaWorkRequest Gets the details of a PrivateServiceAccess work request.

See also

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

func (PrivateServiceAccessClient) ListPrivateServiceAccesses

func (client PrivateServiceAccessClient) ListPrivateServiceAccesses(ctx context.Context, request ListPrivateServiceAccessesRequest) (response ListPrivateServiceAccessesResponse, err error)

ListPrivateServiceAccesses List the private service accesses in the specified compartment. You can optionally filter the list by specifying the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a subnet in the cunsumer's VCN.

See also

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

func (PrivateServiceAccessClient) ListPsaServices

func (client PrivateServiceAccessClient) ListPsaServices(ctx context.Context, request ListPsaServicesRequest) (response ListPsaServicesResponse, err error)

ListPsaServices List the OCI services available for Private Service Access catalog in the region, sorted by service name.

See also

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

func (PrivateServiceAccessClient) ListPsaWorkRequestErrors

func (client PrivateServiceAccessClient) ListPsaWorkRequestErrors(ctx context.Context, request ListPsaWorkRequestErrorsRequest) (response ListPsaWorkRequestErrorsResponse, err error)

ListPsaWorkRequestErrors Lists the errors for a PrivateServiceAccess work request.

See also

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

func (PrivateServiceAccessClient) ListPsaWorkRequestLogs

func (client PrivateServiceAccessClient) ListPsaWorkRequestLogs(ctx context.Context, request ListPsaWorkRequestLogsRequest) (response ListPsaWorkRequestLogsResponse, err error)

ListPsaWorkRequestLogs Lists the logs for a PrivateServiceAccess work request.

See also

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

func (PrivateServiceAccessClient) ListPsaWorkRequests

func (client PrivateServiceAccessClient) ListPsaWorkRequests(ctx context.Context, request ListPsaWorkRequestsRequest) (response ListPsaWorkRequestsResponse, err error)

ListPsaWorkRequests Lists the PrivateServiceAccess work requests in a compartment.

See also

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

func (*PrivateServiceAccessClient) SetRegion

func (client *PrivateServiceAccessClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (PrivateServiceAccessClient) UpdatePrivateServiceAccess

func (client PrivateServiceAccessClient) UpdatePrivateServiceAccess(ctx context.Context, request UpdatePrivateServiceAccessRequest) (response UpdatePrivateServiceAccessResponse, err error)

UpdatePrivateServiceAccess Updates a PrivateServiceAccess.

See also

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

type PrivateServiceAccessCollection

PrivateServiceAccessCollection Results of a privateServiceAccess search. Contains both PrivateServiceAccessSummary items and other information, such as metadata.

type PrivateServiceAccessCollection struct {

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

func (PrivateServiceAccessCollection) String

func (m PrivateServiceAccessCollection) String() string

func (PrivateServiceAccessCollection) ValidateEnumValue

func (m PrivateServiceAccessCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PrivateServiceAccessLifecycleStateEnum

PrivateServiceAccessLifecycleStateEnum Enum with underlying type: string

type PrivateServiceAccessLifecycleStateEnum string

Set of constants representing the allowable values for PrivateServiceAccessLifecycleStateEnum

const (
    PrivateServiceAccessLifecycleStateCreating PrivateServiceAccessLifecycleStateEnum = "CREATING"
    PrivateServiceAccessLifecycleStateUpdating PrivateServiceAccessLifecycleStateEnum = "UPDATING"
    PrivateServiceAccessLifecycleStateActive   PrivateServiceAccessLifecycleStateEnum = "ACTIVE"
    PrivateServiceAccessLifecycleStateDeleting PrivateServiceAccessLifecycleStateEnum = "DELETING"
    PrivateServiceAccessLifecycleStateDeleted  PrivateServiceAccessLifecycleStateEnum = "DELETED"
    PrivateServiceAccessLifecycleStateFailed   PrivateServiceAccessLifecycleStateEnum = "FAILED"
)

func GetMappingPrivateServiceAccessLifecycleStateEnum

func GetMappingPrivateServiceAccessLifecycleStateEnum(val string) (PrivateServiceAccessLifecycleStateEnum, bool)

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

func GetPrivateServiceAccessLifecycleStateEnumValues

func GetPrivateServiceAccessLifecycleStateEnumValues() []PrivateServiceAccessLifecycleStateEnum

GetPrivateServiceAccessLifecycleStateEnumValues Enumerates the set of values for PrivateServiceAccessLifecycleStateEnum

type PrivateServiceAccessSummary

PrivateServiceAccessSummary A summary of private service access information. This object is returned when listing private service accesses.

type PrivateServiceAccessSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the
    // private service access.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private
    // service access belongs to.
    VcnId *string `mandatory:"true" json:"vcnId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private service access
    // belongs to.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access's VNIC, which
    // resides in the private service access's VCN .
    VnicId *string `mandatory:"true" json:"vnicId"`

    // The private service access's current lifecycle state.
    LifecycleState PrivateServiceAccessLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A unique service identifier for which the private service access was created.
    ServiceId *string `mandatory:"true" json:"serviceId"`

    // The private service access IPv4 FQDNs, which are going to be used to access the service.
    // Example: `xyz.oraclecloud.com`
    Fqdns []string `mandatory:"true" json:"fqdns"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels
    // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm)
    // (ZPR) policy to control access to ZPR-supported resources.
    // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
    SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`

    // A description of this private service access.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the private service access was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A list of the OCIDs of the network security groups that the private service access's VNIC belongs to.
    // For more information about NSGs, see
    // NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The private IP address (in the consumer's VCN) that represents the access point for the
    // associated service.
    Ipv4Ip *string `mandatory:"false" json:"ipv4Ip"`
}

func (PrivateServiceAccessSummary) String

func (m PrivateServiceAccessSummary) String() string

func (PrivateServiceAccessSummary) ValidateEnumValue

func (m PrivateServiceAccessSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PsaServiceCollection

PsaServiceCollection Results of a psaServices search. Contains PsaServiceSummary items.

type PsaServiceCollection struct {

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

func (PsaServiceCollection) String

func (m PsaServiceCollection) String() string

func (PsaServiceCollection) ValidateEnumValue

func (m PsaServiceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PsaServiceSummary

PsaServiceSummary An OCI service summary, that will be used as a catalog for Private Service Access.

type PsaServiceSummary struct {

    // A unique OCI service identifier.
    // Example: `object-storage-api`
    Id *string `mandatory:"true" json:"id"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The public facing service FQDNs, which are going to be used to access the service.
    // Example: `xyz.oraclecloud.com`
    Fqdns []string `mandatory:"true" json:"fqdns"`

    // A description of the OCI service.
    Description *string `mandatory:"false" json:"description"`

    // This optional field will indicate that whether service is IPv6 enabled.
    IsV6Enabled *bool `mandatory:"false" json:"isV6Enabled"`
}

func (PsaServiceSummary) String

func (m PsaServiceSummary) String() string

func (PsaServiceSummary) ValidateEnumValue

func (m PsaServiceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdatePrivateServiceAccessDetails

UpdatePrivateServiceAccessDetails Details to update a private service access.

type UpdatePrivateServiceAccessDetails struct {

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels
    // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm)
    // (ZPR) policy to control access to ZPR-supported resources.
    // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
    SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A description of this private service.
    Description *string `mandatory:"false" json:"description"`

    // A list of the OCIDs of the network security groups (NSGs) to add the private service access's VNIC to.
    // For more information about NSGs, see
    // NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`
}

func (UpdatePrivateServiceAccessDetails) String

func (m UpdatePrivateServiceAccessDetails) String() string

func (UpdatePrivateServiceAccessDetails) ValidateEnumValue

func (m UpdatePrivateServiceAccessDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdatePrivateServiceAccessRequest

UpdatePrivateServiceAccessRequest wrapper for the UpdatePrivateServiceAccess operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/psa/UpdatePrivateServiceAccess.go.html to see an example of how to use UpdatePrivateServiceAccessRequest.

type UpdatePrivateServiceAccessRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess.
    PrivateServiceAccessId *string `mandatory:"true" contributesTo:"path" name:"privateServiceAccessId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdatePrivateServiceAccessRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdatePrivateServiceAccessRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdatePrivateServiceAccessRequest) RetryPolicy

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

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

func (UpdatePrivateServiceAccessRequest) String

func (request UpdatePrivateServiceAccessRequest) String() string

func (UpdatePrivateServiceAccessRequest) ValidateEnumValue

func (request UpdatePrivateServiceAccessRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdatePrivateServiceAccessResponse

UpdatePrivateServiceAccessResponse wrapper for the UpdatePrivateServiceAccess operation

type UpdatePrivateServiceAccessResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdatePrivateServiceAccessResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdatePrivateServiceAccessResponse) String

func (response UpdatePrivateServiceAccessResponse) String() string

type WorkRequest

WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.

type WorkRequest struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while performing an operation that is tracked by a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. For a list of error codes, see
    // API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error message.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the error occurred, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // A list of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.

type WorkRequestLogEntry struct {

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

    // The date and time the log message was written, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // A list of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

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

type WorkRequestResource struct {

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

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

    // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that you can use for a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

WorkRequestSummary Summary information about an asynchronous work request.

type WorkRequestSummary struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // A list of work requests.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly