Documentation
¶
Index ¶
- func GetActionTypeEnumStringValues() []string
- func GetAuditReportStatusEnumStringValues() []string
- func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumStringValues() []string
- func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumStringValues() []string
- func GetDelegatedResourceAccessRequestAuditTypeEnumStringValues() []string
- func GetDelegatedResourceAccessRequestLifecycleStateEnumStringValues() []string
- func GetDelegatedResourceAccessRequestSeverityEnumStringValues() []string
- func GetDelegatedResourceAccessRequestStatusEnumStringValues() []string
- func GetDelegatedResourceAccessRequesterTypeEnumStringValues() []string
- func GetDelegationControlLifecycleStateEnumStringValues() []string
- func GetDelegationControlNotificationMessageFormatEnumStringValues() []string
- func GetDelegationControlResourceSummaryResourceStatusEnumStringValues() []string
- func GetDelegationControlResourceTypeEnumStringValues() []string
- func GetDelegationSubscriptionLifecycleStateEnumStringValues() []string
- func GetListDelegatedResourceAccessRequestHistoriesSortByEnumStringValues() []string
- func GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumStringValues() []string
- func GetListDelegatedResourceAccessRequestsRequestStatusEnumStringValues() []string
- func GetListDelegatedResourceAccessRequestsSortByEnumStringValues() []string
- func GetListDelegatedResourceAccessRequestsSortOrderEnumStringValues() []string
- func GetListDelegationControlsResourceTypeEnumStringValues() []string
- func GetListDelegationControlsSortByEnumStringValues() []string
- func GetListDelegationControlsSortOrderEnumStringValues() []string
- func GetListDelegationSubscriptionsSortByEnumStringValues() []string
- func GetListDelegationSubscriptionsSortOrderEnumStringValues() []string
- func GetListServiceProviderActionsResourceTypeEnumStringValues() []string
- func GetListServiceProviderActionsSortByEnumStringValues() []string
- func GetListServiceProviderActionsSortOrderEnumStringValues() []string
- func GetListServiceProvidersSortByEnumStringValues() []string
- func GetListServiceProvidersSortOrderEnumStringValues() []string
- func GetListServiceProvidersSupportedResourceTypeEnumStringValues() []string
- func GetListWorkRequestErrorsSortByEnumStringValues() []string
- func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
- func GetListWorkRequestLogsSortByEnumStringValues() []string
- func GetListWorkRequestLogsSortOrderEnumStringValues() []string
- func GetListWorkRequestsSortByEnumStringValues() []string
- func GetListWorkRequestsSortOrderEnumStringValues() []string
- func GetListWorkRequestsStatusEnumStringValues() []string
- func GetOperationStatusEnumStringValues() []string
- func GetOperationTypeEnumStringValues() []string
- func GetServiceProviderActionLifecycleStateEnumStringValues() []string
- func GetServiceProviderInteractionSummaryUserTypeEnumStringValues() []string
- func GetServiceProviderLifecycleStateEnumStringValues() []string
- func GetServiceProviderServiceProviderTypeEnumStringValues() []string
- func GetServiceProviderServiceTypeEnumStringValues() []string
- func GetSortOrdersEnumStringValues() []string
- func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
- type ActionTypeEnum
- type ApproveDelegatedResourceAccessRequestDetails
- type ApproveDelegatedResourceAccessRequestRequest
- func (request ApproveDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ApproveDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ApproveDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request ApproveDelegatedResourceAccessRequestRequest) String() string
- func (request ApproveDelegatedResourceAccessRequestRequest) ValidateEnumValue() (bool, error)
- type ApproveDelegatedResourceAccessRequestResponse
- type AuditReportStatusEnum
- type ChangeDelegationControlCompartmentDetails
- type ChangeDelegationControlCompartmentRequest
- func (request ChangeDelegationControlCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeDelegationControlCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeDelegationControlCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeDelegationControlCompartmentRequest) String() string
- func (request ChangeDelegationControlCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeDelegationControlCompartmentResponse
- type ChangeDelegationSubscriptionCompartmentDetails
- type ChangeDelegationSubscriptionCompartmentRequest
- func (request ChangeDelegationSubscriptionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeDelegationSubscriptionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ChangeDelegationSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeDelegationSubscriptionCompartmentRequest) String() string
- func (request ChangeDelegationSubscriptionCompartmentRequest) ValidateEnumValue() (bool, error)
- type ChangeDelegationSubscriptionCompartmentResponse
- type CreateDelegationControlDetails
- type CreateDelegationControlRequest
- func (request CreateDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDelegationControlRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDelegationControlRequest) String() string
- func (request CreateDelegationControlRequest) ValidateEnumValue() (bool, error)
- type CreateDelegationControlResponse
- type CreateDelegationSubscriptionDetails
- type CreateDelegationSubscriptionRequest
- func (request CreateDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateDelegationSubscriptionRequest) String() string
- func (request CreateDelegationSubscriptionRequest) ValidateEnumValue() (bool, error)
- type CreateDelegationSubscriptionResponse
- type DelegateAccessControlClient
- func NewDelegateAccessControlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DelegateAccessControlClient, err error)
- func NewDelegateAccessControlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DelegateAccessControlClient, err error)
- func (client DelegateAccessControlClient) ApproveDelegatedResourceAccessRequest(ctx context.Context, request ApproveDelegatedResourceAccessRequestRequest) (response ApproveDelegatedResourceAccessRequestResponse, err error)
- func (client DelegateAccessControlClient) ChangeDelegationControlCompartment(ctx context.Context, request ChangeDelegationControlCompartmentRequest) (response ChangeDelegationControlCompartmentResponse, err error)
- func (client DelegateAccessControlClient) ChangeDelegationSubscriptionCompartment(ctx context.Context, request ChangeDelegationSubscriptionCompartmentRequest) (response ChangeDelegationSubscriptionCompartmentResponse, err error)
- func (client *DelegateAccessControlClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client DelegateAccessControlClient) CreateDelegationControl(ctx context.Context, request CreateDelegationControlRequest) (response CreateDelegationControlResponse, err error)
- func (client DelegateAccessControlClient) CreateDelegationSubscription(ctx context.Context, request CreateDelegationSubscriptionRequest) (response CreateDelegationSubscriptionResponse, err error)
- func (client DelegateAccessControlClient) DeleteDelegationControl(ctx context.Context, request DeleteDelegationControlRequest) (response DeleteDelegationControlResponse, err error)
- func (client DelegateAccessControlClient) DeleteDelegationSubscription(ctx context.Context, request DeleteDelegationSubscriptionRequest) (response DeleteDelegationSubscriptionResponse, err error)
- func (client DelegateAccessControlClient) GetDelegatedResourceAccessRequest(ctx context.Context, request GetDelegatedResourceAccessRequestRequest) (response GetDelegatedResourceAccessRequestResponse, err error)
- func (client DelegateAccessControlClient) GetDelegatedResourceAccessRequestAuditLogReport(ctx context.Context, ...) (response GetDelegatedResourceAccessRequestAuditLogReportResponse, err error)
- func (client DelegateAccessControlClient) GetDelegationControl(ctx context.Context, request GetDelegationControlRequest) (response GetDelegationControlResponse, err error)
- func (client DelegateAccessControlClient) GetDelegationSubscription(ctx context.Context, request GetDelegationSubscriptionRequest) (response GetDelegationSubscriptionResponse, err error)
- func (client DelegateAccessControlClient) GetServiceProvider(ctx context.Context, request GetServiceProviderRequest) (response GetServiceProviderResponse, err error)
- func (client DelegateAccessControlClient) GetServiceProviderAction(ctx context.Context, request GetServiceProviderActionRequest) (response GetServiceProviderActionResponse, err error)
- func (client DelegateAccessControlClient) ListDelegatedResourceAccessRequestHistories(ctx context.Context, ...) (response ListDelegatedResourceAccessRequestHistoriesResponse, err error)
- func (client DelegateAccessControlClient) ListDelegatedResourceAccessRequests(ctx context.Context, request ListDelegatedResourceAccessRequestsRequest) (response ListDelegatedResourceAccessRequestsResponse, err error)
- func (client DelegateAccessControlClient) ListDelegationControlResources(ctx context.Context, request ListDelegationControlResourcesRequest) (response ListDelegationControlResourcesResponse, err error)
- func (client DelegateAccessControlClient) ListDelegationControls(ctx context.Context, request ListDelegationControlsRequest) (response ListDelegationControlsResponse, err error)
- func (client DelegateAccessControlClient) ListDelegationSubscriptions(ctx context.Context, request ListDelegationSubscriptionsRequest) (response ListDelegationSubscriptionsResponse, err error)
- func (client DelegateAccessControlClient) ListServiceProviderActions(ctx context.Context, request ListServiceProviderActionsRequest) (response ListServiceProviderActionsResponse, err error)
- func (client DelegateAccessControlClient) ListServiceProviderInteractions(ctx context.Context, request ListServiceProviderInteractionsRequest) (response ListServiceProviderInteractionsResponse, err error)
- func (client DelegateAccessControlClient) ListServiceProviders(ctx context.Context, request ListServiceProvidersRequest) (response ListServiceProvidersResponse, err error)
- func (client DelegateAccessControlClient) RejectDelegatedResourceAccessRequest(ctx context.Context, request RejectDelegatedResourceAccessRequestRequest) (response RejectDelegatedResourceAccessRequestResponse, err error)
- func (client DelegateAccessControlClient) RevokeDelegatedResourceAccessRequest(ctx context.Context, request RevokeDelegatedResourceAccessRequestRequest) (response RevokeDelegatedResourceAccessRequestResponse, err error)
- func (client DelegateAccessControlClient) ServiceProviderInteractionRequest(ctx context.Context, request ServiceProviderInteractionRequestRequest) (response ServiceProviderInteractionRequestResponse, err error)
- func (client *DelegateAccessControlClient) SetRegion(region string)
- func (client DelegateAccessControlClient) UpdateDelegationControl(ctx context.Context, request UpdateDelegationControlRequest) (response UpdateDelegationControlResponse, err error)
- func (client DelegateAccessControlClient) UpdateDelegationSubscription(ctx context.Context, request UpdateDelegationSubscriptionRequest) (response UpdateDelegationSubscriptionResponse, err error)
- type DelegatedResourceAccessRequest
- type DelegatedResourceAccessRequestApprovalDetails
- type DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
- func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumValues() []DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
- func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum(val string) (DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum, bool)
- type DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
- func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumValues() []DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
- func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum(val string) (DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum, bool)
- type DelegatedResourceAccessRequestAuditLogReport
- type DelegatedResourceAccessRequestAuditTypeEnum
- type DelegatedResourceAccessRequestHistoryCollection
- type DelegatedResourceAccessRequestHistorySummary
- type DelegatedResourceAccessRequestLifecycleStateEnum
- type DelegatedResourceAccessRequestSeverityEnum
- type DelegatedResourceAccessRequestStatusEnum
- type DelegatedResourceAccessRequestSummary
- type DelegatedResourceAccessRequestSummaryCollection
- type DelegatedResourceAccessRequesterTypeEnum
- type DelegationControl
- type DelegationControlLifecycleStateEnum
- type DelegationControlNotificationMessageFormatEnum
- type DelegationControlResourceCollection
- type DelegationControlResourceSummary
- type DelegationControlResourceSummaryResourceStatusEnum
- type DelegationControlResourceTypeEnum
- type DelegationControlSummary
- type DelegationControlSummaryCollection
- type DelegationSubscription
- type DelegationSubscriptionLifecycleStateEnum
- type DelegationSubscriptionSummary
- type DelegationSubscriptionSummaryCollection
- type DeleteDelegationControlRequest
- func (request DeleteDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDelegationControlRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDelegationControlRequest) String() string
- func (request DeleteDelegationControlRequest) ValidateEnumValue() (bool, error)
- type DeleteDelegationControlResponse
- type DeleteDelegationSubscriptionRequest
- func (request DeleteDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteDelegationSubscriptionRequest) String() string
- func (request DeleteDelegationSubscriptionRequest) ValidateEnumValue() (bool, error)
- type DeleteDelegationSubscriptionResponse
- type GetDelegatedResourceAccessRequestAuditLogReportRequest
- func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) String() string
- func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) ValidateEnumValue() (bool, error)
- type GetDelegatedResourceAccessRequestAuditLogReportResponse
- type GetDelegatedResourceAccessRequestRequest
- func (request GetDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDelegatedResourceAccessRequestRequest) String() string
- func (request GetDelegatedResourceAccessRequestRequest) ValidateEnumValue() (bool, error)
- type GetDelegatedResourceAccessRequestResponse
- type GetDelegationControlRequest
- func (request GetDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDelegationControlRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDelegationControlRequest) String() string
- func (request GetDelegationControlRequest) ValidateEnumValue() (bool, error)
- type GetDelegationControlResponse
- type GetDelegationSubscriptionRequest
- func (request GetDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetDelegationSubscriptionRequest) String() string
- func (request GetDelegationSubscriptionRequest) ValidateEnumValue() (bool, error)
- type GetDelegationSubscriptionResponse
- type GetServiceProviderActionRequest
- func (request GetServiceProviderActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetServiceProviderActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetServiceProviderActionRequest) RetryPolicy() *common.RetryPolicy
- func (request GetServiceProviderActionRequest) String() string
- func (request GetServiceProviderActionRequest) ValidateEnumValue() (bool, error)
- type GetServiceProviderActionResponse
- type GetServiceProviderRequest
- func (request GetServiceProviderRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetServiceProviderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetServiceProviderRequest) RetryPolicy() *common.RetryPolicy
- func (request GetServiceProviderRequest) String() string
- func (request GetServiceProviderRequest) ValidateEnumValue() (bool, error)
- type GetServiceProviderResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type ListDelegatedResourceAccessRequestHistoriesRequest
- func (request ListDelegatedResourceAccessRequestHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDelegatedResourceAccessRequestHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDelegatedResourceAccessRequestHistoriesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDelegatedResourceAccessRequestHistoriesRequest) String() string
- func (request ListDelegatedResourceAccessRequestHistoriesRequest) ValidateEnumValue() (bool, error)
- type ListDelegatedResourceAccessRequestHistoriesResponse
- type ListDelegatedResourceAccessRequestHistoriesSortByEnum
- type ListDelegatedResourceAccessRequestHistoriesSortOrderEnum
- type ListDelegatedResourceAccessRequestsRequest
- func (request ListDelegatedResourceAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDelegatedResourceAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDelegatedResourceAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDelegatedResourceAccessRequestsRequest) String() string
- func (request ListDelegatedResourceAccessRequestsRequest) ValidateEnumValue() (bool, error)
- type ListDelegatedResourceAccessRequestsRequestStatusEnum
- type ListDelegatedResourceAccessRequestsResponse
- type ListDelegatedResourceAccessRequestsSortByEnum
- type ListDelegatedResourceAccessRequestsSortOrderEnum
- type ListDelegationControlResourcesRequest
- func (request ListDelegationControlResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDelegationControlResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDelegationControlResourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDelegationControlResourcesRequest) String() string
- func (request ListDelegationControlResourcesRequest) ValidateEnumValue() (bool, error)
- type ListDelegationControlResourcesResponse
- type ListDelegationControlsRequest
- func (request ListDelegationControlsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDelegationControlsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDelegationControlsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDelegationControlsRequest) String() string
- func (request ListDelegationControlsRequest) ValidateEnumValue() (bool, error)
- type ListDelegationControlsResourceTypeEnum
- type ListDelegationControlsResponse
- type ListDelegationControlsSortByEnum
- type ListDelegationControlsSortOrderEnum
- type ListDelegationSubscriptionsRequest
- func (request ListDelegationSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListDelegationSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListDelegationSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListDelegationSubscriptionsRequest) String() string
- func (request ListDelegationSubscriptionsRequest) ValidateEnumValue() (bool, error)
- type ListDelegationSubscriptionsResponse
- type ListDelegationSubscriptionsSortByEnum
- type ListDelegationSubscriptionsSortOrderEnum
- type ListServiceProviderActionsRequest
- func (request ListServiceProviderActionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServiceProviderActionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListServiceProviderActionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServiceProviderActionsRequest) String() string
- func (request ListServiceProviderActionsRequest) ValidateEnumValue() (bool, error)
- type ListServiceProviderActionsResourceTypeEnum
- type ListServiceProviderActionsResponse
- type ListServiceProviderActionsSortByEnum
- type ListServiceProviderActionsSortOrderEnum
- type ListServiceProviderInteractionsRequest
- func (request ListServiceProviderInteractionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServiceProviderInteractionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListServiceProviderInteractionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServiceProviderInteractionsRequest) String() string
- func (request ListServiceProviderInteractionsRequest) ValidateEnumValue() (bool, error)
- type ListServiceProviderInteractionsResponse
- type ListServiceProvidersRequest
- func (request ListServiceProvidersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServiceProvidersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListServiceProvidersRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServiceProvidersRequest) String() string
- func (request ListServiceProvidersRequest) ValidateEnumValue() (bool, error)
- type ListServiceProvidersResponse
- type ListServiceProvidersSortByEnum
- type ListServiceProvidersSortOrderEnum
- type ListServiceProvidersSupportedResourceTypeEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestErrorsSortByEnum
- type ListWorkRequestErrorsSortOrderEnum
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestLogsSortByEnum
- type ListWorkRequestLogsSortOrderEnum
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type ListWorkRequestsSortByEnum
- type ListWorkRequestsSortOrderEnum
- type ListWorkRequestsStatusEnum
- type OperationStatusEnum
- type OperationTypeEnum
- type RejectDelegatedResourceAccessRequestDetails
- type RejectDelegatedResourceAccessRequestRequest
- func (request RejectDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RejectDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RejectDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request RejectDelegatedResourceAccessRequestRequest) String() string
- func (request RejectDelegatedResourceAccessRequestRequest) ValidateEnumValue() (bool, error)
- type RejectDelegatedResourceAccessRequestResponse
- type RevokeDelegatedResourceAccessRequestDetails
- type RevokeDelegatedResourceAccessRequestRequest
- func (request RevokeDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RevokeDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RevokeDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request RevokeDelegatedResourceAccessRequestRequest) String() string
- func (request RevokeDelegatedResourceAccessRequestRequest) ValidateEnumValue() (bool, error)
- type RevokeDelegatedResourceAccessRequestResponse
- type ServiceProvider
- type ServiceProviderAction
- type ServiceProviderActionLifecycleStateEnum
- type ServiceProviderActionProperties
- type ServiceProviderActionSummary
- type ServiceProviderActionSummaryCollection
- type ServiceProviderInteractionCollection
- type ServiceProviderInteractionRequestDetails
- type ServiceProviderInteractionRequestRequest
- func (request ServiceProviderInteractionRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ServiceProviderInteractionRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ServiceProviderInteractionRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request ServiceProviderInteractionRequestRequest) String() string
- func (request ServiceProviderInteractionRequestRequest) ValidateEnumValue() (bool, error)
- type ServiceProviderInteractionRequestResponse
- type ServiceProviderInteractionSummary
- type ServiceProviderInteractionSummaryUserTypeEnum
- type ServiceProviderLifecycleStateEnum
- type ServiceProviderServiceProviderTypeEnum
- type ServiceProviderServiceTypeEnum
- type ServiceProviderSummary
- type ServiceProviderSummaryCollection
- type SortOrdersEnum
- type UpdateDelegationControlDetails
- type UpdateDelegationControlRequest
- func (request UpdateDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDelegationControlRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDelegationControlRequest) String() string
- func (request UpdateDelegationControlRequest) ValidateEnumValue() (bool, error)
- type UpdateDelegationControlResponse
- type UpdateDelegationSubscriptionDetails
- type UpdateDelegationSubscriptionRequest
- func (request UpdateDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateDelegationSubscriptionRequest) String() string
- func (request UpdateDelegationSubscriptionRequest) ValidateEnumValue() (bool, error)
- type UpdateDelegationSubscriptionResponse
- type WorkRequest
- type WorkRequestClient
- func (client *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *WorkRequestClient) SetRegion(region string)
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestSummary
- type WorkRequestSummaryCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionTypeEnumStringValues ¶
func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetAuditReportStatusEnumStringValues ¶
func GetAuditReportStatusEnumStringValues() []string
GetAuditReportStatusEnumStringValues Enumerates the set of values in String for AuditReportStatusEnum
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumStringValues ¶
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumStringValues() []string
GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumStringValues ¶
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumStringValues() []string
GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
func GetDelegatedResourceAccessRequestAuditTypeEnumStringValues ¶
func GetDelegatedResourceAccessRequestAuditTypeEnumStringValues() []string
GetDelegatedResourceAccessRequestAuditTypeEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestAuditTypeEnum
func GetDelegatedResourceAccessRequestLifecycleStateEnumStringValues ¶
func GetDelegatedResourceAccessRequestLifecycleStateEnumStringValues() []string
GetDelegatedResourceAccessRequestLifecycleStateEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestLifecycleStateEnum
func GetDelegatedResourceAccessRequestSeverityEnumStringValues ¶
func GetDelegatedResourceAccessRequestSeverityEnumStringValues() []string
GetDelegatedResourceAccessRequestSeverityEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestSeverityEnum
func GetDelegatedResourceAccessRequestStatusEnumStringValues ¶
func GetDelegatedResourceAccessRequestStatusEnumStringValues() []string
GetDelegatedResourceAccessRequestStatusEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequestStatusEnum
func GetDelegatedResourceAccessRequesterTypeEnumStringValues ¶
func GetDelegatedResourceAccessRequesterTypeEnumStringValues() []string
GetDelegatedResourceAccessRequesterTypeEnumStringValues Enumerates the set of values in String for DelegatedResourceAccessRequesterTypeEnum
func GetDelegationControlLifecycleStateEnumStringValues ¶
func GetDelegationControlLifecycleStateEnumStringValues() []string
GetDelegationControlLifecycleStateEnumStringValues Enumerates the set of values in String for DelegationControlLifecycleStateEnum
func GetDelegationControlNotificationMessageFormatEnumStringValues ¶
func GetDelegationControlNotificationMessageFormatEnumStringValues() []string
GetDelegationControlNotificationMessageFormatEnumStringValues Enumerates the set of values in String for DelegationControlNotificationMessageFormatEnum
func GetDelegationControlResourceSummaryResourceStatusEnumStringValues ¶
func GetDelegationControlResourceSummaryResourceStatusEnumStringValues() []string
GetDelegationControlResourceSummaryResourceStatusEnumStringValues Enumerates the set of values in String for DelegationControlResourceSummaryResourceStatusEnum
func GetDelegationControlResourceTypeEnumStringValues ¶
func GetDelegationControlResourceTypeEnumStringValues() []string
GetDelegationControlResourceTypeEnumStringValues Enumerates the set of values in String for DelegationControlResourceTypeEnum
func GetDelegationSubscriptionLifecycleStateEnumStringValues ¶
func GetDelegationSubscriptionLifecycleStateEnumStringValues() []string
GetDelegationSubscriptionLifecycleStateEnumStringValues Enumerates the set of values in String for DelegationSubscriptionLifecycleStateEnum
func GetListDelegatedResourceAccessRequestHistoriesSortByEnumStringValues ¶
func GetListDelegatedResourceAccessRequestHistoriesSortByEnumStringValues() []string
GetListDelegatedResourceAccessRequestHistoriesSortByEnumStringValues Enumerates the set of values in String for ListDelegatedResourceAccessRequestHistoriesSortByEnum
func GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumStringValues ¶
func GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumStringValues() []string
GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumStringValues Enumerates the set of values in String for ListDelegatedResourceAccessRequestHistoriesSortOrderEnum
func GetListDelegatedResourceAccessRequestsRequestStatusEnumStringValues ¶
func GetListDelegatedResourceAccessRequestsRequestStatusEnumStringValues() []string
GetListDelegatedResourceAccessRequestsRequestStatusEnumStringValues Enumerates the set of values in String for ListDelegatedResourceAccessRequestsRequestStatusEnum
func GetListDelegatedResourceAccessRequestsSortByEnumStringValues ¶
func GetListDelegatedResourceAccessRequestsSortByEnumStringValues() []string
GetListDelegatedResourceAccessRequestsSortByEnumStringValues Enumerates the set of values in String for ListDelegatedResourceAccessRequestsSortByEnum
func GetListDelegatedResourceAccessRequestsSortOrderEnumStringValues ¶
func GetListDelegatedResourceAccessRequestsSortOrderEnumStringValues() []string
GetListDelegatedResourceAccessRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListDelegatedResourceAccessRequestsSortOrderEnum
func GetListDelegationControlsResourceTypeEnumStringValues ¶
func GetListDelegationControlsResourceTypeEnumStringValues() []string
GetListDelegationControlsResourceTypeEnumStringValues Enumerates the set of values in String for ListDelegationControlsResourceTypeEnum
func GetListDelegationControlsSortByEnumStringValues ¶
func GetListDelegationControlsSortByEnumStringValues() []string
GetListDelegationControlsSortByEnumStringValues Enumerates the set of values in String for ListDelegationControlsSortByEnum
func GetListDelegationControlsSortOrderEnumStringValues ¶
func GetListDelegationControlsSortOrderEnumStringValues() []string
GetListDelegationControlsSortOrderEnumStringValues Enumerates the set of values in String for ListDelegationControlsSortOrderEnum
func GetListDelegationSubscriptionsSortByEnumStringValues ¶
func GetListDelegationSubscriptionsSortByEnumStringValues() []string
GetListDelegationSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListDelegationSubscriptionsSortByEnum
func GetListDelegationSubscriptionsSortOrderEnumStringValues ¶
func GetListDelegationSubscriptionsSortOrderEnumStringValues() []string
GetListDelegationSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListDelegationSubscriptionsSortOrderEnum
func GetListServiceProviderActionsResourceTypeEnumStringValues ¶
func GetListServiceProviderActionsResourceTypeEnumStringValues() []string
GetListServiceProviderActionsResourceTypeEnumStringValues Enumerates the set of values in String for ListServiceProviderActionsResourceTypeEnum
func GetListServiceProviderActionsSortByEnumStringValues ¶
func GetListServiceProviderActionsSortByEnumStringValues() []string
GetListServiceProviderActionsSortByEnumStringValues Enumerates the set of values in String for ListServiceProviderActionsSortByEnum
func GetListServiceProviderActionsSortOrderEnumStringValues ¶
func GetListServiceProviderActionsSortOrderEnumStringValues() []string
GetListServiceProviderActionsSortOrderEnumStringValues Enumerates the set of values in String for ListServiceProviderActionsSortOrderEnum
func GetListServiceProvidersSortByEnumStringValues ¶
func GetListServiceProvidersSortByEnumStringValues() []string
GetListServiceProvidersSortByEnumStringValues Enumerates the set of values in String for ListServiceProvidersSortByEnum
func GetListServiceProvidersSortOrderEnumStringValues ¶
func GetListServiceProvidersSortOrderEnumStringValues() []string
GetListServiceProvidersSortOrderEnumStringValues Enumerates the set of values in String for ListServiceProvidersSortOrderEnum
func GetListServiceProvidersSupportedResourceTypeEnumStringValues ¶
func GetListServiceProvidersSupportedResourceTypeEnumStringValues() []string
GetListServiceProvidersSupportedResourceTypeEnumStringValues Enumerates the set of values in String for ListServiceProvidersSupportedResourceTypeEnum
func GetListWorkRequestErrorsSortByEnumStringValues ¶
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues ¶
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues ¶
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues ¶
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues ¶
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues ¶
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues ¶
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func 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 GetServiceProviderActionLifecycleStateEnumStringValues ¶
func GetServiceProviderActionLifecycleStateEnumStringValues() []string
GetServiceProviderActionLifecycleStateEnumStringValues Enumerates the set of values in String for ServiceProviderActionLifecycleStateEnum
func GetServiceProviderInteractionSummaryUserTypeEnumStringValues ¶
func GetServiceProviderInteractionSummaryUserTypeEnumStringValues() []string
GetServiceProviderInteractionSummaryUserTypeEnumStringValues Enumerates the set of values in String for ServiceProviderInteractionSummaryUserTypeEnum
func GetServiceProviderLifecycleStateEnumStringValues ¶
func GetServiceProviderLifecycleStateEnumStringValues() []string
GetServiceProviderLifecycleStateEnumStringValues Enumerates the set of values in String for ServiceProviderLifecycleStateEnum
func GetServiceProviderServiceProviderTypeEnumStringValues ¶
func GetServiceProviderServiceProviderTypeEnumStringValues() []string
GetServiceProviderServiceProviderTypeEnumStringValues Enumerates the set of values in String for ServiceProviderServiceProviderTypeEnum
func GetServiceProviderServiceTypeEnumStringValues ¶
func GetServiceProviderServiceTypeEnumStringValues() []string
GetServiceProviderServiceTypeEnumStringValues Enumerates the set of values in String for ServiceProviderServiceTypeEnum
func GetSortOrdersEnumStringValues ¶
func GetSortOrdersEnumStringValues() []string
GetSortOrdersEnumStringValues Enumerates the set of values in String for SortOrdersEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues ¶
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
Types ¶
type ActionTypeEnum ¶
type ActionTypeEnum string
ActionTypeEnum Enum with underlying type: string
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
Set of constants representing the allowable values for ActionTypeEnum
func GetActionTypeEnumValues ¶
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum ¶
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ApproveDelegatedResourceAccessRequestDetails ¶
type ApproveDelegatedResourceAccessRequestDetails struct { // Comment by the approver during approval. ApproverComment *string `mandatory:"false" json:"approverComment"` // Message that needs to be displayed to the operator. AdditionalMessage *string `mandatory:"false" json:"additionalMessage"` // Access start time that is actually approved by the customer in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeApprovedForAccess *common.SDKTime `mandatory:"false" json:"timeApprovedForAccess"` }
ApproveDelegatedResourceAccessRequestDetails Details of the Delegated Resource Access Request approval.
func (ApproveDelegatedResourceAccessRequestDetails) String ¶
func (m ApproveDelegatedResourceAccessRequestDetails) String() string
func (ApproveDelegatedResourceAccessRequestDetails) ValidateEnumValue ¶
func (m ApproveDelegatedResourceAccessRequestDetails) 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 ApproveDelegatedResourceAccessRequestRequest ¶
type ApproveDelegatedResourceAccessRequestRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // Details regarding the approval of a Delegated Resource Access Request created by the support operator. ApproveDelegatedResourceAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ApproveDelegatedResourceAccessRequestRequest wrapper for the ApproveDelegatedResourceAccessRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ApproveDelegatedResourceAccessRequest.go.html to see an example of how to use ApproveDelegatedResourceAccessRequestRequest.
func (ApproveDelegatedResourceAccessRequestRequest) BinaryRequestBody ¶
func (request ApproveDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ApproveDelegatedResourceAccessRequestRequest) HTTPRequest ¶
func (request ApproveDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ApproveDelegatedResourceAccessRequestRequest) RetryPolicy ¶
func (request ApproveDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ApproveDelegatedResourceAccessRequestRequest) String ¶
func (request ApproveDelegatedResourceAccessRequestRequest) String() string
func (ApproveDelegatedResourceAccessRequestRequest) ValidateEnumValue ¶
func (request ApproveDelegatedResourceAccessRequestRequest) 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 ApproveDelegatedResourceAccessRequestResponse ¶
type ApproveDelegatedResourceAccessRequestResponse 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"` }
ApproveDelegatedResourceAccessRequestResponse wrapper for the ApproveDelegatedResourceAccessRequest operation
func (ApproveDelegatedResourceAccessRequestResponse) HTTPResponse ¶
func (response ApproveDelegatedResourceAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ApproveDelegatedResourceAccessRequestResponse) String ¶
func (response ApproveDelegatedResourceAccessRequestResponse) String() string
type AuditReportStatusEnum ¶
type AuditReportStatusEnum string
AuditReportStatusEnum Enum with underlying type: string
const ( AuditReportStatusNotavailable AuditReportStatusEnum = "NOTAVAILABLE" AuditReportStatusAvailable AuditReportStatusEnum = "AVAILABLE" AuditReportStatusExpired AuditReportStatusEnum = "EXPIRED" AuditReportStatusFailed AuditReportStatusEnum = "FAILED" )
Set of constants representing the allowable values for AuditReportStatusEnum
func GetAuditReportStatusEnumValues ¶
func GetAuditReportStatusEnumValues() []AuditReportStatusEnum
GetAuditReportStatusEnumValues Enumerates the set of values for AuditReportStatusEnum
func GetMappingAuditReportStatusEnum ¶
func GetMappingAuditReportStatusEnum(val string) (AuditReportStatusEnum, bool)
GetMappingAuditReportStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type ChangeDelegationControlCompartmentDetails ¶
type ChangeDelegationControlCompartmentDetails struct { // The OCID of the new compartment to contain the Delegation Control. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
ChangeDelegationControlCompartmentDetails Details of the new compartment to contain the Delegation Control.
func (ChangeDelegationControlCompartmentDetails) String ¶
func (m ChangeDelegationControlCompartmentDetails) String() string
func (ChangeDelegationControlCompartmentDetails) ValidateEnumValue ¶
func (m ChangeDelegationControlCompartmentDetails) 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 ChangeDelegationControlCompartmentRequest ¶
type ChangeDelegationControlCompartmentRequest struct { // unique Delegation Control identifier DelegationControlId *string `mandatory:"true" contributesTo:"path" name:"delegationControlId"` // Moves the Delegation Control resource into a different compartment. ChangeDelegationControlCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeDelegationControlCompartmentRequest wrapper for the ChangeDelegationControlCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ChangeDelegationControlCompartment.go.html to see an example of how to use ChangeDelegationControlCompartmentRequest.
func (ChangeDelegationControlCompartmentRequest) BinaryRequestBody ¶
func (request ChangeDelegationControlCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeDelegationControlCompartmentRequest) HTTPRequest ¶
func (request ChangeDelegationControlCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeDelegationControlCompartmentRequest) RetryPolicy ¶
func (request ChangeDelegationControlCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeDelegationControlCompartmentRequest) String ¶
func (request ChangeDelegationControlCompartmentRequest) String() string
func (ChangeDelegationControlCompartmentRequest) ValidateEnumValue ¶
func (request ChangeDelegationControlCompartmentRequest) 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 ChangeDelegationControlCompartmentResponse ¶
type ChangeDelegationControlCompartmentResponse 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"` // 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"` }
ChangeDelegationControlCompartmentResponse wrapper for the ChangeDelegationControlCompartment operation
func (ChangeDelegationControlCompartmentResponse) HTTPResponse ¶
func (response ChangeDelegationControlCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeDelegationControlCompartmentResponse) String ¶
func (response ChangeDelegationControlCompartmentResponse) String() string
type ChangeDelegationSubscriptionCompartmentDetails ¶
type ChangeDelegationSubscriptionCompartmentDetails struct { // The OCID of the new compartment to contain the Delegation Subscription. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
ChangeDelegationSubscriptionCompartmentDetails Details of the new compartment to contain the Delegation Subscription.
func (ChangeDelegationSubscriptionCompartmentDetails) String ¶
func (m ChangeDelegationSubscriptionCompartmentDetails) String() string
func (ChangeDelegationSubscriptionCompartmentDetails) ValidateEnumValue ¶
func (m ChangeDelegationSubscriptionCompartmentDetails) 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 ChangeDelegationSubscriptionCompartmentRequest ¶
type ChangeDelegationSubscriptionCompartmentRequest struct { // unique Delegation Subscription identifier DelegationSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"delegationSubscriptionId"` // Moves the Delegation Subscription resource into a different compartment. ChangeDelegationSubscriptionCompartmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ChangeDelegationSubscriptionCompartmentRequest wrapper for the ChangeDelegationSubscriptionCompartment operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ChangeDelegationSubscriptionCompartment.go.html to see an example of how to use ChangeDelegationSubscriptionCompartmentRequest.
func (ChangeDelegationSubscriptionCompartmentRequest) BinaryRequestBody ¶
func (request ChangeDelegationSubscriptionCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeDelegationSubscriptionCompartmentRequest) HTTPRequest ¶
func (request ChangeDelegationSubscriptionCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeDelegationSubscriptionCompartmentRequest) RetryPolicy ¶
func (request ChangeDelegationSubscriptionCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeDelegationSubscriptionCompartmentRequest) String ¶
func (request ChangeDelegationSubscriptionCompartmentRequest) String() string
func (ChangeDelegationSubscriptionCompartmentRequest) ValidateEnumValue ¶
func (request ChangeDelegationSubscriptionCompartmentRequest) 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 ChangeDelegationSubscriptionCompartmentResponse ¶
type ChangeDelegationSubscriptionCompartmentResponse 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"` // 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"` }
ChangeDelegationSubscriptionCompartmentResponse wrapper for the ChangeDelegationSubscriptionCompartment operation
func (ChangeDelegationSubscriptionCompartmentResponse) HTTPResponse ¶
func (response ChangeDelegationSubscriptionCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ChangeDelegationSubscriptionCompartmentResponse) String ¶
func (response ChangeDelegationSubscriptionCompartmentResponse) String() string
type CreateDelegationControlDetails ¶
type CreateDelegationControlDetails struct { // The OCID of the compartment that contains this Delegation Control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the Delegation Control. The name does not need to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. DelegationSubscriptionIds []string `mandatory:"true" json:"delegationSubscriptionIds"` // The OCID of the selected resources that this Delegation Control is applicable to. ResourceIds []string `mandatory:"true" json:"resourceIds"` // Resource type for which the Delegation Control is applicable to. ResourceType DelegationControlResourceTypeEnum `mandatory:"true" json:"resourceType"` // The OCID of the OCI Notification topic to publish messages related to this Delegation Control. NotificationTopicId *string `mandatory:"true" json:"notificationTopicId"` // The format of the OCI Notification messages for this Delegation Control. NotificationMessageFormat DelegationControlNotificationMessageFormatEnum `mandatory:"true" json:"notificationMessageFormat"` // Description of the Delegation Control. Description *string `mandatory:"false" json:"description"` // number of approvals required. NumApprovalsRequired *int `mandatory:"false" json:"numApprovalsRequired"` // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be // automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. PreApprovedServiceProviderActionNames []string `mandatory:"false" json:"preApprovedServiceProviderActionNames"` // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // The OCID of the OCI Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the OCI Vault. VaultId *string `mandatory:"false" json:"vaultId"` // The OCID of the Master Encryption Key in the OCI Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. VaultKeyId *string `mandatory:"false" json:"vaultKeyId"` // 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"` // 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"` }
CreateDelegationControlDetails While creating the Delegation Control, specify how Service Provider Actions are approved and the users who have the privilege of approving the Service Provider Actions associated with the Delegation Control. You must specify which Service Provider Actions must be pre-approved. The rest of the Service Provider Actions associated with the Delegation Control will require an explicit approval from the users selected either through the approver groups or individually. You must name your Delegation Control appropriately so it reflects the resources that will be governed by the Delegation Control. Neither the Delegation Controls nor their assignments to resources are visible to the support operators.
func (CreateDelegationControlDetails) String ¶
func (m CreateDelegationControlDetails) String() string
func (CreateDelegationControlDetails) ValidateEnumValue ¶
func (m CreateDelegationControlDetails) 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 CreateDelegationControlRequest ¶
type CreateDelegationControlRequest struct { // Details for the new Delegation Control. CreateDelegationControlDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateDelegationControlRequest wrapper for the CreateDelegationControl operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/CreateDelegationControl.go.html to see an example of how to use CreateDelegationControlRequest.
func (CreateDelegationControlRequest) BinaryRequestBody ¶
func (request CreateDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDelegationControlRequest) HTTPRequest ¶
func (request CreateDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDelegationControlRequest) RetryPolicy ¶
func (request CreateDelegationControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDelegationControlRequest) String ¶
func (request CreateDelegationControlRequest) String() string
func (CreateDelegationControlRequest) ValidateEnumValue ¶
func (request CreateDelegationControlRequest) 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 CreateDelegationControlResponse ¶
type CreateDelegationControlResponse struct { // The underlying http response RawResponse *http.Response // The DelegationControl instance DelegationControl `presentIn:"body"` // 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"` // URI of the resource Location *string `presentIn:"header" name:"location"` // URI of the resource ContentLocation *string `presentIn:"header" name:"content-location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateDelegationControlResponse wrapper for the CreateDelegationControl operation
func (CreateDelegationControlResponse) HTTPResponse ¶
func (response CreateDelegationControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDelegationControlResponse) String ¶
func (response CreateDelegationControlResponse) String() string
type CreateDelegationSubscriptionDetails ¶
type CreateDelegationSubscriptionDetails struct { // The OCID of the compartment that contains the Delegation Control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Unique identifier of the Service Provider. ServiceProviderId *string `mandatory:"true" json:"serviceProviderId"` // Subscribed Service Provider Service Type. SubscribedServiceType ServiceProviderServiceTypeEnum `mandatory:"true" json:"subscribedServiceType"` // Description of the Delegation Subscription. Description *string `mandatory:"false" json:"description"` // 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"` // 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"` }
CreateDelegationSubscriptionDetails Details for creating the Delegation Subscription.
func (CreateDelegationSubscriptionDetails) String ¶
func (m CreateDelegationSubscriptionDetails) String() string
func (CreateDelegationSubscriptionDetails) ValidateEnumValue ¶
func (m CreateDelegationSubscriptionDetails) 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 CreateDelegationSubscriptionRequest ¶
type CreateDelegationSubscriptionRequest struct { // Details for creating Delegation Subscription in Delegation Control. CreateDelegationSubscriptionDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
CreateDelegationSubscriptionRequest wrapper for the CreateDelegationSubscription operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/CreateDelegationSubscription.go.html to see an example of how to use CreateDelegationSubscriptionRequest.
func (CreateDelegationSubscriptionRequest) BinaryRequestBody ¶
func (request CreateDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (CreateDelegationSubscriptionRequest) HTTPRequest ¶
func (request CreateDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (CreateDelegationSubscriptionRequest) RetryPolicy ¶
func (request CreateDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (CreateDelegationSubscriptionRequest) String ¶
func (request CreateDelegationSubscriptionRequest) String() string
func (CreateDelegationSubscriptionRequest) ValidateEnumValue ¶
func (request CreateDelegationSubscriptionRequest) 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 CreateDelegationSubscriptionResponse ¶
type CreateDelegationSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The DelegationSubscription instance DelegationSubscription `presentIn:"body"` // 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"` // URI of the resource Location *string `presentIn:"header" name:"location"` // URI of the resource ContentLocation *string `presentIn:"header" name:"content-location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
CreateDelegationSubscriptionResponse wrapper for the CreateDelegationSubscription operation
func (CreateDelegationSubscriptionResponse) HTTPResponse ¶
func (response CreateDelegationSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateDelegationSubscriptionResponse) String ¶
func (response CreateDelegationSubscriptionResponse) String() string
type DelegateAccessControlClient ¶
type DelegateAccessControlClient struct { common.BaseClient // contains filtered or unexported fields }
DelegateAccessControlClient a client for DelegateAccessControl
func NewDelegateAccessControlClientWithConfigurationProvider ¶
func NewDelegateAccessControlClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DelegateAccessControlClient, err error)
NewDelegateAccessControlClientWithConfigurationProvider Creates a new default DelegateAccessControl client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDelegateAccessControlClientWithOboToken ¶
func NewDelegateAccessControlClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DelegateAccessControlClient, err error)
NewDelegateAccessControlClientWithOboToken Creates a new default DelegateAccessControl 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 (DelegateAccessControlClient) ApproveDelegatedResourceAccessRequest ¶
func (client DelegateAccessControlClient) ApproveDelegatedResourceAccessRequest(ctx context.Context, request ApproveDelegatedResourceAccessRequestRequest) (response ApproveDelegatedResourceAccessRequestResponse, err error)
ApproveDelegatedResourceAccessRequest Approves a Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ApproveDelegatedResourceAccessRequest.go.html to see an example of how to use ApproveDelegatedResourceAccessRequest API. A default retry strategy applies to this operation ApproveDelegatedResourceAccessRequest()
func (DelegateAccessControlClient) ChangeDelegationControlCompartment ¶
func (client DelegateAccessControlClient) ChangeDelegationControlCompartment(ctx context.Context, request ChangeDelegationControlCompartmentRequest) (response ChangeDelegationControlCompartmentResponse, err error)
ChangeDelegationControlCompartment Moves the Delegation Control resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ChangeDelegationControlCompartment.go.html to see an example of how to use ChangeDelegationControlCompartment API. A default retry strategy applies to this operation ChangeDelegationControlCompartment()
func (DelegateAccessControlClient) ChangeDelegationSubscriptionCompartment ¶
func (client DelegateAccessControlClient) ChangeDelegationSubscriptionCompartment(ctx context.Context, request ChangeDelegationSubscriptionCompartmentRequest) (response ChangeDelegationSubscriptionCompartmentResponse, err error)
ChangeDelegationSubscriptionCompartment Moves the Delegation Subscription resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ChangeDelegationSubscriptionCompartment.go.html to see an example of how to use ChangeDelegationSubscriptionCompartment API. A default retry strategy applies to this operation ChangeDelegationSubscriptionCompartment()
func (*DelegateAccessControlClient) ConfigurationProvider ¶
func (client *DelegateAccessControlClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (DelegateAccessControlClient) CreateDelegationControl ¶
func (client DelegateAccessControlClient) CreateDelegationControl(ctx context.Context, request CreateDelegationControlRequest) (response CreateDelegationControlResponse, err error)
CreateDelegationControl Creates a Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/CreateDelegationControl.go.html to see an example of how to use CreateDelegationControl API. A default retry strategy applies to this operation CreateDelegationControl()
func (DelegateAccessControlClient) CreateDelegationSubscription ¶
func (client DelegateAccessControlClient) CreateDelegationSubscription(ctx context.Context, request CreateDelegationSubscriptionRequest) (response CreateDelegationSubscriptionResponse, err error)
CreateDelegationSubscription Creates Delegation Subscription in Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/CreateDelegationSubscription.go.html to see an example of how to use CreateDelegationSubscription API. A default retry strategy applies to this operation CreateDelegationSubscription()
func (DelegateAccessControlClient) DeleteDelegationControl ¶
func (client DelegateAccessControlClient) DeleteDelegationControl(ctx context.Context, request DeleteDelegationControlRequest) (response DeleteDelegationControlResponse, err error)
DeleteDelegationControl Deletes a Delegation Control. You cannot delete a Delegation Control if it is assigned to govern any target resource currently or in the future. In that case, first, delete all of the current and future assignments before deleting the Delegation Control. A Delegation Control that was previously assigned to a target resource is marked as DELETED following a successful deletion. However, it is not completely deleted from the system. This is to ensure auditing information for the accesses done under the Delegation Control is preserved for future needs. The system purges the deleted Delegation Control only when all of the audit data associated with the Delegation Control are also deleted. Therefore, you cannot reuse the name of the deleted Delegation Control until the system purges the Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/DeleteDelegationControl.go.html to see an example of how to use DeleteDelegationControl API. A default retry strategy applies to this operation DeleteDelegationControl()
func (DelegateAccessControlClient) DeleteDelegationSubscription ¶
func (client DelegateAccessControlClient) DeleteDelegationSubscription(ctx context.Context, request DeleteDelegationSubscriptionRequest) (response DeleteDelegationSubscriptionResponse, err error)
DeleteDelegationSubscription eletes an Delegation Subscription in Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/DeleteDelegationSubscription.go.html to see an example of how to use DeleteDelegationSubscription API. A default retry strategy applies to this operation DeleteDelegationSubscription()
func (DelegateAccessControlClient) GetDelegatedResourceAccessRequest ¶
func (client DelegateAccessControlClient) GetDelegatedResourceAccessRequest(ctx context.Context, request GetDelegatedResourceAccessRequestRequest) (response GetDelegatedResourceAccessRequestResponse, err error)
GetDelegatedResourceAccessRequest Gets details of a Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegatedResourceAccessRequest.go.html to see an example of how to use GetDelegatedResourceAccessRequest API. A default retry strategy applies to this operation GetDelegatedResourceAccessRequest()
func (DelegateAccessControlClient) GetDelegatedResourceAccessRequestAuditLogReport ¶
func (client DelegateAccessControlClient) GetDelegatedResourceAccessRequestAuditLogReport(ctx context.Context, request GetDelegatedResourceAccessRequestAuditLogReportRequest) (response GetDelegatedResourceAccessRequestAuditLogReportResponse, err error)
GetDelegatedResourceAccessRequestAuditLogReport Gets the audit log report for the given Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegatedResourceAccessRequestAuditLogReport.go.html to see an example of how to use GetDelegatedResourceAccessRequestAuditLogReport API. A default retry strategy applies to this operation GetDelegatedResourceAccessRequestAuditLogReport()
func (DelegateAccessControlClient) GetDelegationControl ¶
func (client DelegateAccessControlClient) GetDelegationControl(ctx context.Context, request GetDelegationControlRequest) (response GetDelegationControlResponse, err error)
GetDelegationControl Gets the Delegation Control associated with the specified Delegation Control ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegationControl.go.html to see an example of how to use GetDelegationControl API. A default retry strategy applies to this operation GetDelegationControl()
func (DelegateAccessControlClient) GetDelegationSubscription ¶
func (client DelegateAccessControlClient) GetDelegationSubscription(ctx context.Context, request GetDelegationSubscriptionRequest) (response GetDelegationSubscriptionResponse, err error)
GetDelegationSubscription Gets a DelegationSubscription by identifier
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegationSubscription.go.html to see an example of how to use GetDelegationSubscription API. A default retry strategy applies to this operation GetDelegationSubscription()
func (DelegateAccessControlClient) GetServiceProvider ¶
func (client DelegateAccessControlClient) GetServiceProvider(ctx context.Context, request GetServiceProviderRequest) (response GetServiceProviderResponse, err error)
GetServiceProvider Gets a ServiceProvider by identifier
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetServiceProvider.go.html to see an example of how to use GetServiceProvider API. A default retry strategy applies to this operation GetServiceProvider()
func (DelegateAccessControlClient) GetServiceProviderAction ¶
func (client DelegateAccessControlClient) GetServiceProviderAction(ctx context.Context, request GetServiceProviderActionRequest) (response GetServiceProviderActionResponse, err error)
GetServiceProviderAction Gets the Service Provider Action associated with the specified Service Provider Action ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetServiceProviderAction.go.html to see an example of how to use GetServiceProviderAction API. A default retry strategy applies to this operation GetServiceProviderAction()
func (DelegateAccessControlClient) ListDelegatedResourceAccessRequestHistories ¶
func (client DelegateAccessControlClient) ListDelegatedResourceAccessRequestHistories(ctx context.Context, request ListDelegatedResourceAccessRequestHistoriesRequest) (response ListDelegatedResourceAccessRequestHistoriesResponse, err error)
ListDelegatedResourceAccessRequestHistories Returns a history of all status associated with the Delegated Resource Access RequestId.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegatedResourceAccessRequestHistories.go.html to see an example of how to use ListDelegatedResourceAccessRequestHistories API. A default retry strategy applies to this operation ListDelegatedResourceAccessRequestHistories()
func (DelegateAccessControlClient) ListDelegatedResourceAccessRequests ¶
func (client DelegateAccessControlClient) ListDelegatedResourceAccessRequests(ctx context.Context, request ListDelegatedResourceAccessRequestsRequest) (response ListDelegatedResourceAccessRequestsResponse, err error)
ListDelegatedResourceAccessRequests Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegatedResourceAccessRequests.go.html to see an example of how to use ListDelegatedResourceAccessRequests API. A default retry strategy applies to this operation ListDelegatedResourceAccessRequests()
func (DelegateAccessControlClient) ListDelegationControlResources ¶
func (client DelegateAccessControlClient) ListDelegationControlResources(ctx context.Context, request ListDelegationControlResourcesRequest) (response ListDelegationControlResourcesResponse, err error)
ListDelegationControlResources Returns a list of resources associated with the Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationControlResources.go.html to see an example of how to use ListDelegationControlResources API. A default retry strategy applies to this operation ListDelegationControlResources()
func (DelegateAccessControlClient) ListDelegationControls ¶
func (client DelegateAccessControlClient) ListDelegationControls(ctx context.Context, request ListDelegationControlsRequest) (response ListDelegationControlsResponse, err error)
ListDelegationControls Lists the Delegation Controls in the compartment.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationControls.go.html to see an example of how to use ListDelegationControls API. A default retry strategy applies to this operation ListDelegationControls()
func (DelegateAccessControlClient) ListDelegationSubscriptions ¶
func (client DelegateAccessControlClient) ListDelegationSubscriptions(ctx context.Context, request ListDelegationSubscriptionsRequest) (response ListDelegationSubscriptionsResponse, err error)
ListDelegationSubscriptions Lists the Delegation Subscriptions in Delegation Control.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationSubscriptions.go.html to see an example of how to use ListDelegationSubscriptions API. A default retry strategy applies to this operation ListDelegationSubscriptions()
func (DelegateAccessControlClient) ListServiceProviderActions ¶
func (client DelegateAccessControlClient) ListServiceProviderActions(ctx context.Context, request ListServiceProviderActionsRequest) (response ListServiceProviderActionsResponse, err error)
ListServiceProviderActions Lists all the ServiceProviderActions available in the system.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviderActions.go.html to see an example of how to use ListServiceProviderActions API. A default retry strategy applies to this operation ListServiceProviderActions()
func (DelegateAccessControlClient) ListServiceProviderInteractions ¶
func (client DelegateAccessControlClient) ListServiceProviderInteractions(ctx context.Context, request ListServiceProviderInteractionsRequest) (response ListServiceProviderInteractionsResponse, err error)
ListServiceProviderInteractions Lists the MoreInformation interaction between customer and support operators.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviderInteractions.go.html to see an example of how to use ListServiceProviderInteractions API. A default retry strategy applies to this operation ListServiceProviderInteractions()
func (DelegateAccessControlClient) ListServiceProviders ¶
func (client DelegateAccessControlClient) ListServiceProviders(ctx context.Context, request ListServiceProvidersRequest) (response ListServiceProvidersResponse, err error)
ListServiceProviders Lists the Service Providers.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviders.go.html to see an example of how to use ListServiceProviders API. A default retry strategy applies to this operation ListServiceProviders()
func (DelegateAccessControlClient) RejectDelegatedResourceAccessRequest ¶
func (client DelegateAccessControlClient) RejectDelegatedResourceAccessRequest(ctx context.Context, request RejectDelegatedResourceAccessRequestRequest) (response RejectDelegatedResourceAccessRequestResponse, err error)
RejectDelegatedResourceAccessRequest Rejects a Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/RejectDelegatedResourceAccessRequest.go.html to see an example of how to use RejectDelegatedResourceAccessRequest API. A default retry strategy applies to this operation RejectDelegatedResourceAccessRequest()
func (DelegateAccessControlClient) RevokeDelegatedResourceAccessRequest ¶
func (client DelegateAccessControlClient) RevokeDelegatedResourceAccessRequest(ctx context.Context, request RevokeDelegatedResourceAccessRequestRequest) (response RevokeDelegatedResourceAccessRequestResponse, err error)
RevokeDelegatedResourceAccessRequest Revokes an already approved Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/RevokeDelegatedResourceAccessRequest.go.html to see an example of how to use RevokeDelegatedResourceAccessRequest API. A default retry strategy applies to this operation RevokeDelegatedResourceAccessRequest()
func (DelegateAccessControlClient) ServiceProviderInteractionRequest ¶
func (client DelegateAccessControlClient) ServiceProviderInteractionRequest(ctx context.Context, request ServiceProviderInteractionRequestRequest) (response ServiceProviderInteractionRequestResponse, err error)
ServiceProviderInteractionRequest Posts query for additional information for the given Delegated Resource Access Request.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ServiceProviderInteractionRequest.go.html to see an example of how to use ServiceProviderInteractionRequest API. A default retry strategy applies to this operation ServiceProviderInteractionRequest()
func (*DelegateAccessControlClient) SetRegion ¶
func (client *DelegateAccessControlClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (DelegateAccessControlClient) UpdateDelegationControl ¶
func (client DelegateAccessControlClient) UpdateDelegationControl(ctx context.Context, request UpdateDelegationControlRequest) (response UpdateDelegationControlResponse, err error)
UpdateDelegationControl Updates the existing DelegationControl for a given Delegation Control ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/UpdateDelegationControl.go.html to see an example of how to use UpdateDelegationControl API. A default retry strategy applies to this operation UpdateDelegationControl()
func (DelegateAccessControlClient) UpdateDelegationSubscription ¶
func (client DelegateAccessControlClient) UpdateDelegationSubscription(ctx context.Context, request UpdateDelegationSubscriptionRequest) (response UpdateDelegationSubscriptionResponse, err error)
UpdateDelegationSubscription Updates the existing DelegationSubscription for a given Delegation Subscription ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/UpdateDelegationSubscription.go.html to see an example of how to use UpdateDelegationSubscription API. A default retry strategy applies to this operation UpdateDelegationSubscription()
type DelegatedResourceAccessRequest ¶
type DelegatedResourceAccessRequest struct { // The OCID of the Delegated Resource Access Request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the Delegated Resource Access Request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A short description explaining why this Delegated Resource Access Request is needed by the support operator. ReasonForRequest *string `mandatory:"true" json:"reasonForRequest"` // Detailed description of this Delegated Resource Access Request. Description *string `mandatory:"true" json:"description"` // The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to // access the target resource. ResourceId *string `mandatory:"true" json:"resourceId"` // Display name. This is generated by the system automatically. DisplayName *string `mandatory:"false" json:"displayName"` // A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. TicketNumbers []string `mandatory:"false" json:"ticketNumbers"` // Requested access start time in UTC. TimeAccessRequested *common.SDKTime `mandatory:"false" json:"timeAccessRequested"` // The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to // access the target resource. ResourceName *string `mandatory:"false" json:"resourceName"` // Resource type for which the associated Delegation Control is applicable to. ResourceType DelegationControlResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` // Requester type RequesterType DelegatedResourceAccessRequesterTypeEnum `mandatory:"false" json:"requesterType,omitempty"` // List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. RequestedActionNames []string `mandatory:"false" json:"requestedActionNames"` // List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. DatabaseNameList []string `mandatory:"false" json:"databaseNameList"` // List of Service Provider Service Types being provided by the support operator user. ProvidedServiceTypes []ServiceProviderServiceTypeEnum `mandatory:"false" json:"providedServiceTypes,omitempty"` // List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. DelegationSubscriptionIds []string `mandatory:"false" json:"delegationSubscriptionIds"` // Priority assigned to the Delegated Resource Access Request by the support operator Severity DelegatedResourceAccessRequestSeverityEnum `mandatory:"false" json:"severity,omitempty"` // Duration in hours for which access is sought on the target resource. DurationInHours *int `mandatory:"false" json:"durationInHours"` // Duration in hours for which extension access is sought on the target resource. ExtendDurationInHours *int `mandatory:"false" json:"extendDurationInHours"` // Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"` // The current lifecycle state of the Delegated Resource Access Request. LifecycleState DelegatedResourceAccessRequestLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The current status of the Delegated Resource Access Request. RequestStatus DelegatedResourceAccessRequestStatusEnum `mandatory:"false" json:"requestStatus,omitempty"` // Time when the Delegated Resource Access Request was created in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Delegated Resource Access Request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Number of initial approvals that have been obtained so far. NumInitialApprovals *int `mandatory:"false" json:"numInitialApprovals"` // Number of extension approvals that have been obtained so far. NumExtensionApprovals *int `mandatory:"false" json:"numExtensionApprovals"` // In case of single approval, this will have only one item. Else, a list of approvals. ApprovalInfo []DelegatedResourceAccessRequestApprovalDetails `mandatory:"false" json:"approvalInfo"` // The comment entered by the support operator while closing the request. ClosureComment *string `mandatory:"false" json:"closureComment"` // The OCID of the Delegation Control governing the target resource. DelegationControlId *string `mandatory:"false" json:"delegationControlId"` // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. // By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. AuditTypes []DelegatedResourceAccessRequestAuditTypeEnum `mandatory:"false" json:"auditTypes,omitempty"` // Indicates if the delegated resource access request is waiting on more information from the operator IsPendingMoreInfo *bool `mandatory:"false" json:"isPendingMoreInfo"` // 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"` // 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"` // 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"` }
DelegatedResourceAccessRequest A support operator raises Delegated Resource Access Request when they need access to any infrastructure resource governed by Delegation Control. The Delegated Resource Access Request identifies the target resource and the set of Service Provider Actions. Delegated Resource Access Request handling depends upon the Delegation Control that governs the target resource, and the set of Service Provider Actions listed for approval in the Delegated Resource Access Request. If all of the Service Provider Actions listed in the Delegated Resource Access Request are in the pre-approved list in the Delegation Control that governs the target resource, then the Delegated Resource Access Request is automatically approved. If not, then the Delegated Resource Access Request requires explicit approval from the approver group specified by the Delegation Control governing the target resource. You can approve or reject a Delegated Resource Access Request. You can also revoke the approval of an already approved Delegated Resource Access Request. While creating a Delegated Resource Access Request, the support operator specifies the duration of access. You have the option to approve the entire duration or reduce or even increase the time duration. A support operator can also request for an extension. The approval for such an extension is processed the same way the original Delegated Resource Access Request was processed.
func (DelegatedResourceAccessRequest) String ¶
func (m DelegatedResourceAccessRequest) String() string
func (DelegatedResourceAccessRequest) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequest) 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 DelegatedResourceAccessRequestApprovalDetails ¶
type DelegatedResourceAccessRequestApprovalDetails struct { // Comment specified by the approver of the request. ApproverComment *string `mandatory:"true" json:"approverComment"` // Indicated whether the request is approved or rejected. ApprovalAction DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum `mandatory:"false" json:"approvalAction,omitempty"` // Access start time that is actually approved by the customer in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeApprovedForAccess *common.SDKTime `mandatory:"false" json:"timeApprovedForAccess"` // approval type, initial or extension ApprovalType DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum `mandatory:"false" json:"approvalType,omitempty"` // User ID of the approver. ApproverId *string `mandatory:"false" json:"approverId"` // Additional message specified by the approver of the request. ApproverAdditionalMessage *string `mandatory:"false" json:"approverAdditionalMessage"` }
DelegatedResourceAccessRequestApprovalDetails Approval info for initial access or extension of a Delegated Resource Access Request
func (DelegatedResourceAccessRequestApprovalDetails) String ¶
func (m DelegatedResourceAccessRequestApprovalDetails) String() string
func (DelegatedResourceAccessRequestApprovalDetails) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestApprovalDetails) 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 DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum ¶
type DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum string
DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestApprovalDetailsApprovalActionApprove DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum = "APPROVE" DelegatedResourceAccessRequestApprovalDetailsApprovalActionReject DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum = "REJECT" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumValues ¶
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumValues() []DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
GetDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnumValues Enumerates the set of values for DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum
func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum ¶
func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum(val string) (DelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum, bool)
GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalActionEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum ¶
type DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum string
DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestApprovalDetailsApprovalTypeInitial DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum = "INITIAL" DelegatedResourceAccessRequestApprovalDetailsApprovalTypeExtension DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum = "EXTENSION" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumValues ¶
func GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumValues() []DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
GetDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnumValues Enumerates the set of values for DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum
func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum ¶
func GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum(val string) (DelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum, bool)
GetMappingDelegatedResourceAccessRequestApprovalDetailsApprovalTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestAuditLogReport ¶
type DelegatedResourceAccessRequestAuditLogReport struct { // Status of the audit report AuditReportStatus AuditReportStatusEnum `mandatory:"true" json:"auditReportStatus"` // Audit log report. Report *string `mandatory:"false" json:"report"` // The process tree data ProcessTree *string `mandatory:"false" json:"processTree"` // Time when the audit report was generated RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeReportGenerated *common.SDKTime `mandatory:"false" json:"timeReportGenerated"` }
DelegatedResourceAccessRequestAuditLogReport The audit log report details.
func (DelegatedResourceAccessRequestAuditLogReport) String ¶
func (m DelegatedResourceAccessRequestAuditLogReport) String() string
func (DelegatedResourceAccessRequestAuditLogReport) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestAuditLogReport) 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 DelegatedResourceAccessRequestAuditTypeEnum ¶
type DelegatedResourceAccessRequestAuditTypeEnum string
DelegatedResourceAccessRequestAuditTypeEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestAuditTypeCommandAudit DelegatedResourceAccessRequestAuditTypeEnum = "COMMAND_AUDIT" DelegatedResourceAccessRequestAuditTypeCommandKeystrokeAudit DelegatedResourceAccessRequestAuditTypeEnum = "COMMAND_KEYSTROKE_AUDIT" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestAuditTypeEnum
func GetDelegatedResourceAccessRequestAuditTypeEnumValues ¶
func GetDelegatedResourceAccessRequestAuditTypeEnumValues() []DelegatedResourceAccessRequestAuditTypeEnum
GetDelegatedResourceAccessRequestAuditTypeEnumValues Enumerates the set of values for DelegatedResourceAccessRequestAuditTypeEnum
func GetMappingDelegatedResourceAccessRequestAuditTypeEnum ¶
func GetMappingDelegatedResourceAccessRequestAuditTypeEnum(val string) (DelegatedResourceAccessRequestAuditTypeEnum, bool)
GetMappingDelegatedResourceAccessRequestAuditTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestHistoryCollection ¶
type DelegatedResourceAccessRequestHistoryCollection struct { // List of DelegatedResourceAccessRequestHistorySummary objects. Items []DelegatedResourceAccessRequestHistorySummary `mandatory:"true" json:"items"` }
DelegatedResourceAccessRequestHistoryCollection List of Delegated Resource Access Request status transitions.
func (DelegatedResourceAccessRequestHistoryCollection) String ¶
func (m DelegatedResourceAccessRequestHistoryCollection) String() string
func (DelegatedResourceAccessRequestHistoryCollection) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestHistoryCollection) 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 DelegatedResourceAccessRequestHistorySummary ¶
type DelegatedResourceAccessRequestHistorySummary struct { // The current lifecycle state of the Delegated Resource Access Request. LifecycleState DelegatedResourceAccessRequestLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The current status of the Delegated Resource Access Request. RequestStatus DelegatedResourceAccessRequestStatusEnum `mandatory:"false" json:"requestStatus,omitempty"` // ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". UserId *string `mandatory:"false" json:"userId"` // Comment about the status change. Comment *string `mandatory:"false" json:"comment"` // Time when the respective action happened in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
DelegatedResourceAccessRequestHistorySummary Summary of Delegated Resource Access Request status changes.
func (DelegatedResourceAccessRequestHistorySummary) String ¶
func (m DelegatedResourceAccessRequestHistorySummary) String() string
func (DelegatedResourceAccessRequestHistorySummary) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestHistorySummary) 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 DelegatedResourceAccessRequestLifecycleStateEnum ¶
type DelegatedResourceAccessRequestLifecycleStateEnum string
DelegatedResourceAccessRequestLifecycleStateEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestLifecycleStateAccepted DelegatedResourceAccessRequestLifecycleStateEnum = "ACCEPTED" DelegatedResourceAccessRequestLifecycleStateInProgress DelegatedResourceAccessRequestLifecycleStateEnum = "IN_PROGRESS" DelegatedResourceAccessRequestLifecycleStateWaiting DelegatedResourceAccessRequestLifecycleStateEnum = "WAITING" DelegatedResourceAccessRequestLifecycleStateFailed DelegatedResourceAccessRequestLifecycleStateEnum = "FAILED" DelegatedResourceAccessRequestLifecycleStateSucceeded DelegatedResourceAccessRequestLifecycleStateEnum = "SUCCEEDED" DelegatedResourceAccessRequestLifecycleStateCanceling DelegatedResourceAccessRequestLifecycleStateEnum = "CANCELING" DelegatedResourceAccessRequestLifecycleStateCanceled DelegatedResourceAccessRequestLifecycleStateEnum = "CANCELED" DelegatedResourceAccessRequestLifecycleStateNeedsAttention DelegatedResourceAccessRequestLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestLifecycleStateEnum
func GetDelegatedResourceAccessRequestLifecycleStateEnumValues ¶
func GetDelegatedResourceAccessRequestLifecycleStateEnumValues() []DelegatedResourceAccessRequestLifecycleStateEnum
GetDelegatedResourceAccessRequestLifecycleStateEnumValues Enumerates the set of values for DelegatedResourceAccessRequestLifecycleStateEnum
func GetMappingDelegatedResourceAccessRequestLifecycleStateEnum ¶
func GetMappingDelegatedResourceAccessRequestLifecycleStateEnum(val string) (DelegatedResourceAccessRequestLifecycleStateEnum, bool)
GetMappingDelegatedResourceAccessRequestLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestSeverityEnum ¶
type DelegatedResourceAccessRequestSeverityEnum string
DelegatedResourceAccessRequestSeverityEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestSeverityS1 DelegatedResourceAccessRequestSeverityEnum = "S1" DelegatedResourceAccessRequestSeverityS2 DelegatedResourceAccessRequestSeverityEnum = "S2" DelegatedResourceAccessRequestSeverityS3 DelegatedResourceAccessRequestSeverityEnum = "S3" DelegatedResourceAccessRequestSeverityS4 DelegatedResourceAccessRequestSeverityEnum = "S4" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestSeverityEnum
func GetDelegatedResourceAccessRequestSeverityEnumValues ¶
func GetDelegatedResourceAccessRequestSeverityEnumValues() []DelegatedResourceAccessRequestSeverityEnum
GetDelegatedResourceAccessRequestSeverityEnumValues Enumerates the set of values for DelegatedResourceAccessRequestSeverityEnum
func GetMappingDelegatedResourceAccessRequestSeverityEnum ¶
func GetMappingDelegatedResourceAccessRequestSeverityEnum(val string) (DelegatedResourceAccessRequestSeverityEnum, bool)
GetMappingDelegatedResourceAccessRequestSeverityEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestStatusEnum ¶
type DelegatedResourceAccessRequestStatusEnum string
DelegatedResourceAccessRequestStatusEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequestStatusCreated DelegatedResourceAccessRequestStatusEnum = "CREATED" DelegatedResourceAccessRequestStatusApprovalWaiting DelegatedResourceAccessRequestStatusEnum = "APPROVAL_WAITING" DelegatedResourceAccessRequestStatusOperatorAssignmentWaiting DelegatedResourceAccessRequestStatusEnum = "OPERATOR_ASSIGNMENT_WAITING" DelegatedResourceAccessRequestStatusPreapproved DelegatedResourceAccessRequestStatusEnum = "PREAPPROVED" DelegatedResourceAccessRequestStatusApproved DelegatedResourceAccessRequestStatusEnum = "APPROVED" DelegatedResourceAccessRequestStatusApprovedForFuture DelegatedResourceAccessRequestStatusEnum = "APPROVED_FOR_FUTURE" DelegatedResourceAccessRequestStatusRejected DelegatedResourceAccessRequestStatusEnum = "REJECTED" DelegatedResourceAccessRequestStatusDeployed DelegatedResourceAccessRequestStatusEnum = "DEPLOYED" DelegatedResourceAccessRequestStatusDeployFailed DelegatedResourceAccessRequestStatusEnum = "DEPLOY_FAILED" DelegatedResourceAccessRequestStatusUndeployed DelegatedResourceAccessRequestStatusEnum = "UNDEPLOYED" DelegatedResourceAccessRequestStatusUndeployFailed DelegatedResourceAccessRequestStatusEnum = "UNDEPLOY_FAILED" DelegatedResourceAccessRequestStatusCloseFailed DelegatedResourceAccessRequestStatusEnum = "CLOSE_FAILED" DelegatedResourceAccessRequestStatusRevokeFailed DelegatedResourceAccessRequestStatusEnum = "REVOKE_FAILED" DelegatedResourceAccessRequestStatusExpiryFailed DelegatedResourceAccessRequestStatusEnum = "EXPIRY_FAILED" DelegatedResourceAccessRequestStatusRevoking DelegatedResourceAccessRequestStatusEnum = "REVOKING" DelegatedResourceAccessRequestStatusRevoked DelegatedResourceAccessRequestStatusEnum = "REVOKED" DelegatedResourceAccessRequestStatusExtending DelegatedResourceAccessRequestStatusEnum = "EXTENDING" DelegatedResourceAccessRequestStatusExtended DelegatedResourceAccessRequestStatusEnum = "EXTENDED" DelegatedResourceAccessRequestStatusExtensionRejected DelegatedResourceAccessRequestStatusEnum = "EXTENSION_REJECTED" DelegatedResourceAccessRequestStatusExtensionFailed DelegatedResourceAccessRequestStatusEnum = "EXTENSION_FAILED" DelegatedResourceAccessRequestStatusCompleting DelegatedResourceAccessRequestStatusEnum = "COMPLETING" DelegatedResourceAccessRequestStatusCompleted DelegatedResourceAccessRequestStatusEnum = "COMPLETED" DelegatedResourceAccessRequestStatusExpired DelegatedResourceAccessRequestStatusEnum = "EXPIRED" )
Set of constants representing the allowable values for DelegatedResourceAccessRequestStatusEnum
func GetDelegatedResourceAccessRequestStatusEnumValues ¶
func GetDelegatedResourceAccessRequestStatusEnumValues() []DelegatedResourceAccessRequestStatusEnum
GetDelegatedResourceAccessRequestStatusEnumValues Enumerates the set of values for DelegatedResourceAccessRequestStatusEnum
func GetMappingDelegatedResourceAccessRequestStatusEnum ¶
func GetMappingDelegatedResourceAccessRequestStatusEnum(val string) (DelegatedResourceAccessRequestStatusEnum, bool)
GetMappingDelegatedResourceAccessRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegatedResourceAccessRequestSummary ¶
type DelegatedResourceAccessRequestSummary struct { // The OCID of the Delegated Resource Access Request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the Delegated Resource Access Request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A short description explaining why this Delegated Resource Access Request is needed by the support operator. ReasonForRequest *string `mandatory:"true" json:"reasonForRequest"` // The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to // access the target resource. ResourceId *string `mandatory:"true" json:"resourceId"` // The OCID of the Delegation Control governing the target resource. DelegationControlId *string `mandatory:"true" json:"delegationControlId"` // Display name. This is generated by the system automatically. DisplayName *string `mandatory:"false" json:"displayName"` // A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. TicketNumbers []string `mandatory:"false" json:"ticketNumbers"` // Requested access start time in UTC. TimeAccessRequested *common.SDKTime `mandatory:"false" json:"timeAccessRequested"` // The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to // access the target resource. ResourceName *string `mandatory:"false" json:"resourceName"` // Resource type for which the associated Delegation Control is applicable to. ResourceType DelegationControlResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` // List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. RequestedActionNames []string `mandatory:"false" json:"requestedActionNames"` // Requester type RequesterType DelegatedResourceAccessRequesterTypeEnum `mandatory:"false" json:"requesterType,omitempty"` // Priority assigned to the Delegated Resource Access Request by the support operator Severity DelegatedResourceAccessRequestSeverityEnum `mandatory:"false" json:"severity,omitempty"` // Duration in hours for which access is sought on the target resource. DurationInHours *int `mandatory:"false" json:"durationInHours"` // Duration in hours for which extension access is sought on the target resource. ExtendDurationInHours *int `mandatory:"false" json:"extendDurationInHours"` // Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. IsAutoApproved *bool `mandatory:"false" json:"isAutoApproved"` // The current lifecycle state of the Delegated Resource Access Request. LifecycleState DelegatedResourceAccessRequestLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // The current status of the Delegated Resource Access Request. RequestStatus DelegatedResourceAccessRequestStatusEnum `mandatory:"false" json:"requestStatus,omitempty"` // Time when the Delegated Resource Access Request was created by the support operator user in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Delegated Resource Access Request was last modified in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // 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"` // 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"` }
DelegatedResourceAccessRequestSummary Summary of Delegated Resource Access Request.
func (DelegatedResourceAccessRequestSummary) String ¶
func (m DelegatedResourceAccessRequestSummary) String() string
func (DelegatedResourceAccessRequestSummary) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestSummary) 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 DelegatedResourceAccessRequestSummaryCollection ¶
type DelegatedResourceAccessRequestSummaryCollection struct { // contains DelegatedResourceAccessRequestSummary Items []DelegatedResourceAccessRequestSummary `mandatory:"true" json:"items"` }
DelegatedResourceAccessRequestSummaryCollection Results of Delegated Resource Access Request search, which contains summary of Delegated Resource Access Request.
func (DelegatedResourceAccessRequestSummaryCollection) String ¶
func (m DelegatedResourceAccessRequestSummaryCollection) String() string
func (DelegatedResourceAccessRequestSummaryCollection) ValidateEnumValue ¶
func (m DelegatedResourceAccessRequestSummaryCollection) 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 DelegatedResourceAccessRequesterTypeEnum ¶
type DelegatedResourceAccessRequesterTypeEnum string
DelegatedResourceAccessRequesterTypeEnum Enum with underlying type: string
const ( DelegatedResourceAccessRequesterTypeOperator DelegatedResourceAccessRequesterTypeEnum = "OPERATOR" DelegatedResourceAccessRequesterTypeCustomer DelegatedResourceAccessRequesterTypeEnum = "CUSTOMER" DelegatedResourceAccessRequesterTypeSystem DelegatedResourceAccessRequesterTypeEnum = "SYSTEM" )
Set of constants representing the allowable values for DelegatedResourceAccessRequesterTypeEnum
func GetDelegatedResourceAccessRequesterTypeEnumValues ¶
func GetDelegatedResourceAccessRequesterTypeEnumValues() []DelegatedResourceAccessRequesterTypeEnum
GetDelegatedResourceAccessRequesterTypeEnumValues Enumerates the set of values for DelegatedResourceAccessRequesterTypeEnum
func GetMappingDelegatedResourceAccessRequesterTypeEnum ¶
func GetMappingDelegatedResourceAccessRequesterTypeEnum(val string) (DelegatedResourceAccessRequesterTypeEnum, bool)
GetMappingDelegatedResourceAccessRequesterTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationControl ¶
type DelegationControl struct { // The OCID of the Delegation Control. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the Delegation Control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the Delegation Control. The name does not need to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // Resource type for which the Delegation Control is applicable to. ResourceType DelegationControlResourceTypeEnum `mandatory:"true" json:"resourceType"` // Description of the Delegation Control. Description *string `mandatory:"false" json:"description"` // number of approvals required. NumApprovalsRequired *int `mandatory:"false" json:"numApprovalsRequired"` // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be // automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. PreApprovedServiceProviderActionNames []string `mandatory:"false" json:"preApprovedServiceProviderActionNames"` // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. DelegationSubscriptionIds []string `mandatory:"false" json:"delegationSubscriptionIds"` // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // The OCID of the selected resources that this Delegation Control is applicable to. ResourceIds []string `mandatory:"false" json:"resourceIds"` // The OCID of the OCI Notification topic to publish messages related to this Delegation Control. NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"` // The format of the OCI Notification messages for this Delegation Control. NotificationMessageFormat DelegationControlNotificationMessageFormatEnum `mandatory:"false" json:"notificationMessageFormat,omitempty"` // The OCID of the OCI Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the OCI Vault. VaultId *string `mandatory:"false" json:"vaultId"` // The OCID of the Master Encryption Key in the OCI Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. VaultKeyId *string `mandatory:"false" json:"vaultKeyId"` // The current lifecycle state of the Delegation Control. LifecycleState DelegationControlLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time when the Delegation Control was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Delegation Control was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Time when the Delegation Control was deleted expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. // Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests // raised on target resources governed by the deleted Delegation Control. TimeDeleted *common.SDKTime `mandatory:"false" json:"timeDeleted"` // 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"` // 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"` // 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"` }
DelegationControl Delegation Control enables you to grant, audit, or revoke the access Oracle has to your Exadata Cloud infrastructure, and obtain audit reports of all actions taken by a human operator, in a near real-time manner.
func (DelegationControl) String ¶
func (m DelegationControl) String() string
func (DelegationControl) ValidateEnumValue ¶
func (m DelegationControl) 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 DelegationControlLifecycleStateEnum ¶
type DelegationControlLifecycleStateEnum string
DelegationControlLifecycleStateEnum Enum with underlying type: string
const ( DelegationControlLifecycleStateCreating DelegationControlLifecycleStateEnum = "CREATING" DelegationControlLifecycleStateActive DelegationControlLifecycleStateEnum = "ACTIVE" DelegationControlLifecycleStateUpdating DelegationControlLifecycleStateEnum = "UPDATING" DelegationControlLifecycleStateDeleting DelegationControlLifecycleStateEnum = "DELETING" DelegationControlLifecycleStateDeleted DelegationControlLifecycleStateEnum = "DELETED" DelegationControlLifecycleStateFailed DelegationControlLifecycleStateEnum = "FAILED" DelegationControlLifecycleStateNeedsAttention DelegationControlLifecycleStateEnum = "NEEDS_ATTENTION" )
Set of constants representing the allowable values for DelegationControlLifecycleStateEnum
func GetDelegationControlLifecycleStateEnumValues ¶
func GetDelegationControlLifecycleStateEnumValues() []DelegationControlLifecycleStateEnum
GetDelegationControlLifecycleStateEnumValues Enumerates the set of values for DelegationControlLifecycleStateEnum
func GetMappingDelegationControlLifecycleStateEnum ¶
func GetMappingDelegationControlLifecycleStateEnum(val string) (DelegationControlLifecycleStateEnum, bool)
GetMappingDelegationControlLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationControlNotificationMessageFormatEnum ¶
type DelegationControlNotificationMessageFormatEnum string
DelegationControlNotificationMessageFormatEnum Enum with underlying type: string
const ( DelegationControlNotificationMessageFormatJson DelegationControlNotificationMessageFormatEnum = "JSON" DelegationControlNotificationMessageFormatHtml DelegationControlNotificationMessageFormatEnum = "HTML" )
Set of constants representing the allowable values for DelegationControlNotificationMessageFormatEnum
func GetDelegationControlNotificationMessageFormatEnumValues ¶
func GetDelegationControlNotificationMessageFormatEnumValues() []DelegationControlNotificationMessageFormatEnum
GetDelegationControlNotificationMessageFormatEnumValues Enumerates the set of values for DelegationControlNotificationMessageFormatEnum
func GetMappingDelegationControlNotificationMessageFormatEnum ¶
func GetMappingDelegationControlNotificationMessageFormatEnum(val string) (DelegationControlNotificationMessageFormatEnum, bool)
GetMappingDelegationControlNotificationMessageFormatEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationControlResourceCollection ¶
type DelegationControlResourceCollection struct { // List of DelegationControlResourceSummary objects. Items []DelegationControlResourceSummary `mandatory:"true" json:"items"` }
DelegationControlResourceCollection List of DelegationControlResourceSummary objects.
func (DelegationControlResourceCollection) String ¶
func (m DelegationControlResourceCollection) String() string
func (DelegationControlResourceCollection) ValidateEnumValue ¶
func (m DelegationControlResourceCollection) 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 DelegationControlResourceSummary ¶
type DelegationControlResourceSummary struct { // OCID of the resource. Id *string `mandatory:"false" json:"id"` // The current status of the resource in Delegation Control. ResourceStatus DelegationControlResourceSummaryResourceStatusEnum `mandatory:"false" json:"resourceStatus,omitempty"` }
DelegationControlResourceSummary Details of the resources that this Delegation Control is applicable to.
func (DelegationControlResourceSummary) String ¶
func (m DelegationControlResourceSummary) String() string
func (DelegationControlResourceSummary) ValidateEnumValue ¶
func (m DelegationControlResourceSummary) 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 DelegationControlResourceSummaryResourceStatusEnum ¶
type DelegationControlResourceSummaryResourceStatusEnum string
DelegationControlResourceSummaryResourceStatusEnum Enum with underlying type: string
const ( DelegationControlResourceSummaryResourceStatusCreated DelegationControlResourceSummaryResourceStatusEnum = "CREATED" DelegationControlResourceSummaryResourceStatusApplying DelegationControlResourceSummaryResourceStatusEnum = "APPLYING" DelegationControlResourceSummaryResourceStatusApplied DelegationControlResourceSummaryResourceStatusEnum = "APPLIED" DelegationControlResourceSummaryResourceStatusApplyFailed DelegationControlResourceSummaryResourceStatusEnum = "APPLY_FAILED" DelegationControlResourceSummaryResourceStatusUpdating DelegationControlResourceSummaryResourceStatusEnum = "UPDATING" DelegationControlResourceSummaryResourceStatusUpdateFailed DelegationControlResourceSummaryResourceStatusEnum = "UPDATE_FAILED" DelegationControlResourceSummaryResourceStatusDeleting DelegationControlResourceSummaryResourceStatusEnum = "DELETING" DelegationControlResourceSummaryResourceStatusDeleted DelegationControlResourceSummaryResourceStatusEnum = "DELETED" DelegationControlResourceSummaryResourceStatusDeletionFailed DelegationControlResourceSummaryResourceStatusEnum = "DELETION_FAILED" )
Set of constants representing the allowable values for DelegationControlResourceSummaryResourceStatusEnum
func GetDelegationControlResourceSummaryResourceStatusEnumValues ¶
func GetDelegationControlResourceSummaryResourceStatusEnumValues() []DelegationControlResourceSummaryResourceStatusEnum
GetDelegationControlResourceSummaryResourceStatusEnumValues Enumerates the set of values for DelegationControlResourceSummaryResourceStatusEnum
func GetMappingDelegationControlResourceSummaryResourceStatusEnum ¶
func GetMappingDelegationControlResourceSummaryResourceStatusEnum(val string) (DelegationControlResourceSummaryResourceStatusEnum, bool)
GetMappingDelegationControlResourceSummaryResourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationControlResourceTypeEnum ¶
type DelegationControlResourceTypeEnum string
DelegationControlResourceTypeEnum Enum with underlying type: string
const ( DelegationControlResourceTypeVmcluster DelegationControlResourceTypeEnum = "VMCLUSTER" DelegationControlResourceTypeCloudvmcluster DelegationControlResourceTypeEnum = "CLOUDVMCLUSTER" )
Set of constants representing the allowable values for DelegationControlResourceTypeEnum
func GetDelegationControlResourceTypeEnumValues ¶
func GetDelegationControlResourceTypeEnumValues() []DelegationControlResourceTypeEnum
GetDelegationControlResourceTypeEnumValues Enumerates the set of values for DelegationControlResourceTypeEnum
func GetMappingDelegationControlResourceTypeEnum ¶
func GetMappingDelegationControlResourceTypeEnum(val string) (DelegationControlResourceTypeEnum, bool)
GetMappingDelegationControlResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationControlSummary ¶
type DelegationControlSummary struct { // The OCID of the Delegation Control. Id *string `mandatory:"true" json:"id"` // Name of the Delegation Control. The name does not need to be unique. DisplayName *string `mandatory:"true" json:"displayName"` // The OCID of the compartment that contains the Delegation Control. CompartmentId *string `mandatory:"true" json:"compartmentId"` // resourceType for which the Delegation Control is applicable ResourceType DelegationControlResourceTypeEnum `mandatory:"true" json:"resourceType"` // Time when the Delegation Control was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Delegation Control was last modified, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Time when the Delegation Control was deleted, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. TimeDeleted *common.SDKTime `mandatory:"false" json:"timeDeleted"` // The current lifecycle state of the Delegation Control. LifecycleState DelegationControlLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // 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"` // 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"` // 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"` }
DelegationControlSummary Summary of the Delegation Control.
func (DelegationControlSummary) String ¶
func (m DelegationControlSummary) String() string
func (DelegationControlSummary) ValidateEnumValue ¶
func (m DelegationControlSummary) 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 DelegationControlSummaryCollection ¶
type DelegationControlSummaryCollection struct { // contains DelegationControlSummary Items []DelegationControlSummary `mandatory:"true" json:"items"` }
DelegationControlSummaryCollection Results of Delegation Control search, which contains summary of the Delegation Control.
func (DelegationControlSummaryCollection) String ¶
func (m DelegationControlSummaryCollection) String() string
func (DelegationControlSummaryCollection) ValidateEnumValue ¶
func (m DelegationControlSummaryCollection) 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 DelegationSubscription ¶
type DelegationSubscription struct { // Unique identifier for the Delegation Subscription. Id *string `mandatory:"true" json:"id"` // Unique identifier of the Service Provider. ServiceProviderId *string `mandatory:"true" json:"serviceProviderId"` // Subscribed Service Provider Service Type. SubscribedServiceType ServiceProviderServiceTypeEnum `mandatory:"true" json:"subscribedServiceType"` // The OCID of the compartment that contains the Delegation Subscription. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Display name DisplayName *string `mandatory:"false" json:"displayName"` // Description of the Delegation Subscription. Description *string `mandatory:"false" json:"description"` // The current lifecycle state of the Service Provider. LifecycleState DelegationSubscriptionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time when the Service Provider was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Service Provider was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // 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"` // 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"` }
DelegationSubscription Details of the Delegation Subscription.
func (DelegationSubscription) String ¶
func (m DelegationSubscription) String() string
func (DelegationSubscription) ValidateEnumValue ¶
func (m DelegationSubscription) 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 DelegationSubscriptionLifecycleStateEnum ¶
type DelegationSubscriptionLifecycleStateEnum string
DelegationSubscriptionLifecycleStateEnum Enum with underlying type: string
const ( DelegationSubscriptionLifecycleStateCreating DelegationSubscriptionLifecycleStateEnum = "CREATING" DelegationSubscriptionLifecycleStateActive DelegationSubscriptionLifecycleStateEnum = "ACTIVE" DelegationSubscriptionLifecycleStateUpdating DelegationSubscriptionLifecycleStateEnum = "UPDATING" DelegationSubscriptionLifecycleStateDeleting DelegationSubscriptionLifecycleStateEnum = "DELETING" DelegationSubscriptionLifecycleStateDeleted DelegationSubscriptionLifecycleStateEnum = "DELETED" DelegationSubscriptionLifecycleStateFailed DelegationSubscriptionLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for DelegationSubscriptionLifecycleStateEnum
func GetDelegationSubscriptionLifecycleStateEnumValues ¶
func GetDelegationSubscriptionLifecycleStateEnumValues() []DelegationSubscriptionLifecycleStateEnum
GetDelegationSubscriptionLifecycleStateEnumValues Enumerates the set of values for DelegationSubscriptionLifecycleStateEnum
func GetMappingDelegationSubscriptionLifecycleStateEnum ¶
func GetMappingDelegationSubscriptionLifecycleStateEnum(val string) (DelegationSubscriptionLifecycleStateEnum, bool)
GetMappingDelegationSubscriptionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
type DelegationSubscriptionSummary ¶
type DelegationSubscriptionSummary struct { // Unique identifier for the Delegation Subscription. Id *string `mandatory:"true" json:"id"` // Unique identifier of the Service Provider. ServiceProviderId *string `mandatory:"true" json:"serviceProviderId"` // Subscribed Service Provider Service Type. SubscribedServiceType ServiceProviderServiceTypeEnum `mandatory:"true" json:"subscribedServiceType"` // The OCID of the compartment that contains the Delegation Subscription. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Display name DisplayName *string `mandatory:"false" json:"displayName"` // The current lifecycle state of the Service Provider. LifecycleState DelegationSubscriptionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time when the Service Provider was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Service Provider was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // 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"` // 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"` }
DelegationSubscriptionSummary Summary of the Delegation Subscription.
func (DelegationSubscriptionSummary) String ¶
func (m DelegationSubscriptionSummary) String() string
func (DelegationSubscriptionSummary) ValidateEnumValue ¶
func (m DelegationSubscriptionSummary) 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 DelegationSubscriptionSummaryCollection ¶
type DelegationSubscriptionSummaryCollection struct { // List of DelegationSubscriptionSummary objects. Items []DelegationSubscriptionSummary `mandatory:"true" json:"items"` }
DelegationSubscriptionSummaryCollection List of DelegationSubscriptionSummary objects.
func (DelegationSubscriptionSummaryCollection) String ¶
func (m DelegationSubscriptionSummaryCollection) String() string
func (DelegationSubscriptionSummaryCollection) ValidateEnumValue ¶
func (m DelegationSubscriptionSummaryCollection) 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 DeleteDelegationControlRequest ¶
type DeleteDelegationControlRequest struct { // unique Delegation Control identifier DelegationControlId *string `mandatory:"true" contributesTo:"path" name:"delegationControlId"` // Reason why this Delegation Control is deleted. Description *string `mandatory:"false" contributesTo:"query" name:"description"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteDelegationControlRequest wrapper for the DeleteDelegationControl operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/DeleteDelegationControl.go.html to see an example of how to use DeleteDelegationControlRequest.
func (DeleteDelegationControlRequest) BinaryRequestBody ¶
func (request DeleteDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDelegationControlRequest) HTTPRequest ¶
func (request DeleteDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDelegationControlRequest) RetryPolicy ¶
func (request DeleteDelegationControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDelegationControlRequest) String ¶
func (request DeleteDelegationControlRequest) String() string
func (DeleteDelegationControlRequest) ValidateEnumValue ¶
func (request DeleteDelegationControlRequest) 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 DeleteDelegationControlResponse ¶
type DeleteDelegationControlResponse 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"` // 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"` }
DeleteDelegationControlResponse wrapper for the DeleteDelegationControl operation
func (DeleteDelegationControlResponse) HTTPResponse ¶
func (response DeleteDelegationControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDelegationControlResponse) String ¶
func (response DeleteDelegationControlResponse) String() string
type DeleteDelegationSubscriptionRequest ¶
type DeleteDelegationSubscriptionRequest struct { // unique Delegation Subscription identifier DelegationSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"delegationSubscriptionId"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
DeleteDelegationSubscriptionRequest wrapper for the DeleteDelegationSubscription operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/DeleteDelegationSubscription.go.html to see an example of how to use DeleteDelegationSubscriptionRequest.
func (DeleteDelegationSubscriptionRequest) BinaryRequestBody ¶
func (request DeleteDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (DeleteDelegationSubscriptionRequest) HTTPRequest ¶
func (request DeleteDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (DeleteDelegationSubscriptionRequest) RetryPolicy ¶
func (request DeleteDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (DeleteDelegationSubscriptionRequest) String ¶
func (request DeleteDelegationSubscriptionRequest) String() string
func (DeleteDelegationSubscriptionRequest) ValidateEnumValue ¶
func (request DeleteDelegationSubscriptionRequest) 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 DeleteDelegationSubscriptionResponse ¶
type DeleteDelegationSubscriptionResponse 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"` }
DeleteDelegationSubscriptionResponse wrapper for the DeleteDelegationSubscription operation
func (DeleteDelegationSubscriptionResponse) HTTPResponse ¶
func (response DeleteDelegationSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteDelegationSubscriptionResponse) String ¶
func (response DeleteDelegationSubscriptionResponse) String() string
type GetDelegatedResourceAccessRequestAuditLogReportRequest ¶
type GetDelegatedResourceAccessRequestAuditLogReportRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // Set to true to enable process tree computation in audit report IsProcessTreeEnabled *bool `mandatory:"false" contributesTo:"query" name:"isProcessTreeEnabled"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDelegatedResourceAccessRequestAuditLogReportRequest wrapper for the GetDelegatedResourceAccessRequestAuditLogReport operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegatedResourceAccessRequestAuditLogReport.go.html to see an example of how to use GetDelegatedResourceAccessRequestAuditLogReportRequest.
func (GetDelegatedResourceAccessRequestAuditLogReportRequest) BinaryRequestBody ¶
func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDelegatedResourceAccessRequestAuditLogReportRequest) HTTPRequest ¶
func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDelegatedResourceAccessRequestAuditLogReportRequest) RetryPolicy ¶
func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDelegatedResourceAccessRequestAuditLogReportRequest) String ¶
func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) String() string
func (GetDelegatedResourceAccessRequestAuditLogReportRequest) ValidateEnumValue ¶
func (request GetDelegatedResourceAccessRequestAuditLogReportRequest) 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 GetDelegatedResourceAccessRequestAuditLogReportResponse ¶
type GetDelegatedResourceAccessRequestAuditLogReportResponse struct { // The underlying http response RawResponse *http.Response // The DelegatedResourceAccessRequestAuditLogReport instance DelegatedResourceAccessRequestAuditLogReport `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"` }
GetDelegatedResourceAccessRequestAuditLogReportResponse wrapper for the GetDelegatedResourceAccessRequestAuditLogReport operation
func (GetDelegatedResourceAccessRequestAuditLogReportResponse) HTTPResponse ¶
func (response GetDelegatedResourceAccessRequestAuditLogReportResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDelegatedResourceAccessRequestAuditLogReportResponse) String ¶
func (response GetDelegatedResourceAccessRequestAuditLogReportResponse) String() string
type GetDelegatedResourceAccessRequestRequest ¶
type GetDelegatedResourceAccessRequestRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDelegatedResourceAccessRequestRequest wrapper for the GetDelegatedResourceAccessRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegatedResourceAccessRequest.go.html to see an example of how to use GetDelegatedResourceAccessRequestRequest.
func (GetDelegatedResourceAccessRequestRequest) BinaryRequestBody ¶
func (request GetDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDelegatedResourceAccessRequestRequest) HTTPRequest ¶
func (request GetDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDelegatedResourceAccessRequestRequest) RetryPolicy ¶
func (request GetDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDelegatedResourceAccessRequestRequest) String ¶
func (request GetDelegatedResourceAccessRequestRequest) String() string
func (GetDelegatedResourceAccessRequestRequest) ValidateEnumValue ¶
func (request GetDelegatedResourceAccessRequestRequest) 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 GetDelegatedResourceAccessRequestResponse ¶
type GetDelegatedResourceAccessRequestResponse struct { // The underlying http response RawResponse *http.Response // The DelegatedResourceAccessRequest instance DelegatedResourceAccessRequest `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"` }
GetDelegatedResourceAccessRequestResponse wrapper for the GetDelegatedResourceAccessRequest operation
func (GetDelegatedResourceAccessRequestResponse) HTTPResponse ¶
func (response GetDelegatedResourceAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDelegatedResourceAccessRequestResponse) String ¶
func (response GetDelegatedResourceAccessRequestResponse) String() string
type GetDelegationControlRequest ¶
type GetDelegationControlRequest struct { // unique Delegation Control identifier DelegationControlId *string `mandatory:"true" contributesTo:"path" name:"delegationControlId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDelegationControlRequest wrapper for the GetDelegationControl operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegationControl.go.html to see an example of how to use GetDelegationControlRequest.
func (GetDelegationControlRequest) BinaryRequestBody ¶
func (request GetDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDelegationControlRequest) HTTPRequest ¶
func (request GetDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDelegationControlRequest) RetryPolicy ¶
func (request GetDelegationControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDelegationControlRequest) String ¶
func (request GetDelegationControlRequest) String() string
func (GetDelegationControlRequest) ValidateEnumValue ¶
func (request GetDelegationControlRequest) 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 GetDelegationControlResponse ¶
type GetDelegationControlResponse struct { // The underlying http response RawResponse *http.Response // The DelegationControl instance DelegationControl `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"` }
GetDelegationControlResponse wrapper for the GetDelegationControl operation
func (GetDelegationControlResponse) HTTPResponse ¶
func (response GetDelegationControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDelegationControlResponse) String ¶
func (response GetDelegationControlResponse) String() string
type GetDelegationSubscriptionRequest ¶
type GetDelegationSubscriptionRequest struct { // unique Delegation Subscription identifier DelegationSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"delegationSubscriptionId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetDelegationSubscriptionRequest wrapper for the GetDelegationSubscription operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetDelegationSubscription.go.html to see an example of how to use GetDelegationSubscriptionRequest.
func (GetDelegationSubscriptionRequest) BinaryRequestBody ¶
func (request GetDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetDelegationSubscriptionRequest) HTTPRequest ¶
func (request GetDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetDelegationSubscriptionRequest) RetryPolicy ¶
func (request GetDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetDelegationSubscriptionRequest) String ¶
func (request GetDelegationSubscriptionRequest) String() string
func (GetDelegationSubscriptionRequest) ValidateEnumValue ¶
func (request GetDelegationSubscriptionRequest) 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 GetDelegationSubscriptionResponse ¶
type GetDelegationSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The DelegationSubscription instance DelegationSubscription `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"` }
GetDelegationSubscriptionResponse wrapper for the GetDelegationSubscription operation
func (GetDelegationSubscriptionResponse) HTTPResponse ¶
func (response GetDelegationSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetDelegationSubscriptionResponse) String ¶
func (response GetDelegationSubscriptionResponse) String() string
type GetServiceProviderActionRequest ¶
type GetServiceProviderActionRequest struct { // Unique Oracle supplied identifier associated with the Service Provider Action. ServiceProviderActionId *string `mandatory:"true" contributesTo:"path" name:"serviceProviderActionId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetServiceProviderActionRequest wrapper for the GetServiceProviderAction operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetServiceProviderAction.go.html to see an example of how to use GetServiceProviderActionRequest.
func (GetServiceProviderActionRequest) BinaryRequestBody ¶
func (request GetServiceProviderActionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetServiceProviderActionRequest) HTTPRequest ¶
func (request GetServiceProviderActionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetServiceProviderActionRequest) RetryPolicy ¶
func (request GetServiceProviderActionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetServiceProviderActionRequest) String ¶
func (request GetServiceProviderActionRequest) String() string
func (GetServiceProviderActionRequest) ValidateEnumValue ¶
func (request GetServiceProviderActionRequest) 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 GetServiceProviderActionResponse ¶
type GetServiceProviderActionResponse struct { // The underlying http response RawResponse *http.Response // The ServiceProviderAction instance ServiceProviderAction `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"` }
GetServiceProviderActionResponse wrapper for the GetServiceProviderAction operation
func (GetServiceProviderActionResponse) HTTPResponse ¶
func (response GetServiceProviderActionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetServiceProviderActionResponse) String ¶
func (response GetServiceProviderActionResponse) String() string
type GetServiceProviderRequest ¶
type GetServiceProviderRequest struct { // unique Service Provider identifier ServiceProviderId *string `mandatory:"true" contributesTo:"path" name:"serviceProviderId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetServiceProviderRequest wrapper for the GetServiceProvider operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetServiceProvider.go.html to see an example of how to use GetServiceProviderRequest.
func (GetServiceProviderRequest) BinaryRequestBody ¶
func (request GetServiceProviderRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetServiceProviderRequest) HTTPRequest ¶
func (request GetServiceProviderRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetServiceProviderRequest) RetryPolicy ¶
func (request GetServiceProviderRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetServiceProviderRequest) String ¶
func (request GetServiceProviderRequest) String() string
func (GetServiceProviderRequest) ValidateEnumValue ¶
func (request GetServiceProviderRequest) 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 GetServiceProviderResponse ¶
type GetServiceProviderResponse struct { // The underlying http response RawResponse *http.Response // The ServiceProvider instance ServiceProvider `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"` }
GetServiceProviderResponse wrapper for the GetServiceProvider operation
func (GetServiceProviderResponse) HTTPResponse ¶
func (response GetServiceProviderResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetServiceProviderResponse) String ¶
func (response GetServiceProviderResponse) String() string
type GetWorkRequestRequest ¶
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
func (GetWorkRequestRequest) BinaryRequestBody ¶
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (GetWorkRequestRequest) HTTPRequest ¶
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
func (GetWorkRequestRequest) ValidateEnumValue ¶
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type ListDelegatedResourceAccessRequestHistoriesRequest ¶
type ListDelegatedResourceAccessRequestHistoriesRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDelegatedResourceAccessRequestHistoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. If no value is specified, timestamp is default. SortBy ListDelegatedResourceAccessRequestHistoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDelegatedResourceAccessRequestHistoriesRequest wrapper for the ListDelegatedResourceAccessRequestHistories operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegatedResourceAccessRequestHistories.go.html to see an example of how to use ListDelegatedResourceAccessRequestHistoriesRequest.
func (ListDelegatedResourceAccessRequestHistoriesRequest) BinaryRequestBody ¶
func (request ListDelegatedResourceAccessRequestHistoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDelegatedResourceAccessRequestHistoriesRequest) HTTPRequest ¶
func (request ListDelegatedResourceAccessRequestHistoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDelegatedResourceAccessRequestHistoriesRequest) RetryPolicy ¶
func (request ListDelegatedResourceAccessRequestHistoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDelegatedResourceAccessRequestHistoriesRequest) String ¶
func (request ListDelegatedResourceAccessRequestHistoriesRequest) String() string
func (ListDelegatedResourceAccessRequestHistoriesRequest) ValidateEnumValue ¶
func (request ListDelegatedResourceAccessRequestHistoriesRequest) 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 ListDelegatedResourceAccessRequestHistoriesResponse ¶
type ListDelegatedResourceAccessRequestHistoriesResponse struct { // The underlying http response RawResponse *http.Response // A list of DelegatedResourceAccessRequestHistoryCollection instances DelegatedResourceAccessRequestHistoryCollection `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"` }
ListDelegatedResourceAccessRequestHistoriesResponse wrapper for the ListDelegatedResourceAccessRequestHistories operation
func (ListDelegatedResourceAccessRequestHistoriesResponse) HTTPResponse ¶
func (response ListDelegatedResourceAccessRequestHistoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDelegatedResourceAccessRequestHistoriesResponse) String ¶
func (response ListDelegatedResourceAccessRequestHistoriesResponse) String() string
type ListDelegatedResourceAccessRequestHistoriesSortByEnum ¶
type ListDelegatedResourceAccessRequestHistoriesSortByEnum string
ListDelegatedResourceAccessRequestHistoriesSortByEnum Enum with underlying type: string
const (
ListDelegatedResourceAccessRequestHistoriesSortByTimestamp ListDelegatedResourceAccessRequestHistoriesSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListDelegatedResourceAccessRequestHistoriesSortByEnum
func GetListDelegatedResourceAccessRequestHistoriesSortByEnumValues ¶
func GetListDelegatedResourceAccessRequestHistoriesSortByEnumValues() []ListDelegatedResourceAccessRequestHistoriesSortByEnum
GetListDelegatedResourceAccessRequestHistoriesSortByEnumValues Enumerates the set of values for ListDelegatedResourceAccessRequestHistoriesSortByEnum
func GetMappingListDelegatedResourceAccessRequestHistoriesSortByEnum ¶
func GetMappingListDelegatedResourceAccessRequestHistoriesSortByEnum(val string) (ListDelegatedResourceAccessRequestHistoriesSortByEnum, bool)
GetMappingListDelegatedResourceAccessRequestHistoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegatedResourceAccessRequestHistoriesSortOrderEnum ¶
type ListDelegatedResourceAccessRequestHistoriesSortOrderEnum string
ListDelegatedResourceAccessRequestHistoriesSortOrderEnum Enum with underlying type: string
const ( ListDelegatedResourceAccessRequestHistoriesSortOrderAsc ListDelegatedResourceAccessRequestHistoriesSortOrderEnum = "ASC" ListDelegatedResourceAccessRequestHistoriesSortOrderDesc ListDelegatedResourceAccessRequestHistoriesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDelegatedResourceAccessRequestHistoriesSortOrderEnum
func GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumValues ¶
func GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumValues() []ListDelegatedResourceAccessRequestHistoriesSortOrderEnum
GetListDelegatedResourceAccessRequestHistoriesSortOrderEnumValues Enumerates the set of values for ListDelegatedResourceAccessRequestHistoriesSortOrderEnum
func GetMappingListDelegatedResourceAccessRequestHistoriesSortOrderEnum ¶
func GetMappingListDelegatedResourceAccessRequestHistoriesSortOrderEnum(val string) (ListDelegatedResourceAccessRequestHistoriesSortOrderEnum, bool)
GetMappingListDelegatedResourceAccessRequestHistoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegatedResourceAccessRequestsRequest ¶
type ListDelegatedResourceAccessRequestsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // unique Delegation Control identifier DelegationControlId *string `mandatory:"false" contributesTo:"query" name:"delegationControlId"` // A filter to return only Delegated Resource Access Requests for the given resource identifier. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. LifecycleState DelegatedResourceAccessRequestLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. RequestStatus ListDelegatedResourceAccessRequestsRequestStatusEnum `mandatory:"false" contributesTo:"query" name:"requestStatus" omitEmpty:"true"` // Query start time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd parameters cannot be used together. TimeStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeStart"` // Query end time in UTC in ISO 8601 format(inclusive). // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). // timeIntervalStart and timeIntervalEnd parameters cannot be used together. TimeEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeEnd"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDelegatedResourceAccessRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. SortBy ListDelegatedResourceAccessRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDelegatedResourceAccessRequestsRequest wrapper for the ListDelegatedResourceAccessRequests operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegatedResourceAccessRequests.go.html to see an example of how to use ListDelegatedResourceAccessRequestsRequest.
func (ListDelegatedResourceAccessRequestsRequest) BinaryRequestBody ¶
func (request ListDelegatedResourceAccessRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDelegatedResourceAccessRequestsRequest) HTTPRequest ¶
func (request ListDelegatedResourceAccessRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDelegatedResourceAccessRequestsRequest) RetryPolicy ¶
func (request ListDelegatedResourceAccessRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDelegatedResourceAccessRequestsRequest) String ¶
func (request ListDelegatedResourceAccessRequestsRequest) String() string
func (ListDelegatedResourceAccessRequestsRequest) ValidateEnumValue ¶
func (request ListDelegatedResourceAccessRequestsRequest) 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 ListDelegatedResourceAccessRequestsRequestStatusEnum ¶
type ListDelegatedResourceAccessRequestsRequestStatusEnum string
ListDelegatedResourceAccessRequestsRequestStatusEnum Enum with underlying type: string
const ( ListDelegatedResourceAccessRequestsRequestStatusCreated ListDelegatedResourceAccessRequestsRequestStatusEnum = "CREATED" ListDelegatedResourceAccessRequestsRequestStatusApprovalWaiting ListDelegatedResourceAccessRequestsRequestStatusEnum = "APPROVAL_WAITING" ListDelegatedResourceAccessRequestsRequestStatusOperatorAssignmentWaiting ListDelegatedResourceAccessRequestsRequestStatusEnum = "OPERATOR_ASSIGNMENT_WAITING" ListDelegatedResourceAccessRequestsRequestStatusPreapproved ListDelegatedResourceAccessRequestsRequestStatusEnum = "PREAPPROVED" ListDelegatedResourceAccessRequestsRequestStatusApproved ListDelegatedResourceAccessRequestsRequestStatusEnum = "APPROVED" ListDelegatedResourceAccessRequestsRequestStatusApprovedForFuture ListDelegatedResourceAccessRequestsRequestStatusEnum = "APPROVED_FOR_FUTURE" ListDelegatedResourceAccessRequestsRequestStatusRejected ListDelegatedResourceAccessRequestsRequestStatusEnum = "REJECTED" ListDelegatedResourceAccessRequestsRequestStatusDeployed ListDelegatedResourceAccessRequestsRequestStatusEnum = "DEPLOYED" ListDelegatedResourceAccessRequestsRequestStatusDeployFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "DEPLOY_FAILED" ListDelegatedResourceAccessRequestsRequestStatusUndeployed ListDelegatedResourceAccessRequestsRequestStatusEnum = "UNDEPLOYED" ListDelegatedResourceAccessRequestsRequestStatusUndeployFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "UNDEPLOY_FAILED" ListDelegatedResourceAccessRequestsRequestStatusCloseFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "CLOSE_FAILED" ListDelegatedResourceAccessRequestsRequestStatusRevokeFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "REVOKE_FAILED" ListDelegatedResourceAccessRequestsRequestStatusExpiryFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXPIRY_FAILED" ListDelegatedResourceAccessRequestsRequestStatusRevoking ListDelegatedResourceAccessRequestsRequestStatusEnum = "REVOKING" ListDelegatedResourceAccessRequestsRequestStatusRevoked ListDelegatedResourceAccessRequestsRequestStatusEnum = "REVOKED" ListDelegatedResourceAccessRequestsRequestStatusExtending ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXTENDING" ListDelegatedResourceAccessRequestsRequestStatusExtended ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXTENDED" ListDelegatedResourceAccessRequestsRequestStatusExtensionRejected ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXTENSION_REJECTED" ListDelegatedResourceAccessRequestsRequestStatusExtensionFailed ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXTENSION_FAILED" ListDelegatedResourceAccessRequestsRequestStatusCompleting ListDelegatedResourceAccessRequestsRequestStatusEnum = "COMPLETING" ListDelegatedResourceAccessRequestsRequestStatusCompleted ListDelegatedResourceAccessRequestsRequestStatusEnum = "COMPLETED" ListDelegatedResourceAccessRequestsRequestStatusExpired ListDelegatedResourceAccessRequestsRequestStatusEnum = "EXPIRED" )
Set of constants representing the allowable values for ListDelegatedResourceAccessRequestsRequestStatusEnum
func GetListDelegatedResourceAccessRequestsRequestStatusEnumValues ¶
func GetListDelegatedResourceAccessRequestsRequestStatusEnumValues() []ListDelegatedResourceAccessRequestsRequestStatusEnum
GetListDelegatedResourceAccessRequestsRequestStatusEnumValues Enumerates the set of values for ListDelegatedResourceAccessRequestsRequestStatusEnum
func GetMappingListDelegatedResourceAccessRequestsRequestStatusEnum ¶
func GetMappingListDelegatedResourceAccessRequestsRequestStatusEnum(val string) (ListDelegatedResourceAccessRequestsRequestStatusEnum, bool)
GetMappingListDelegatedResourceAccessRequestsRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegatedResourceAccessRequestsResponse ¶
type ListDelegatedResourceAccessRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of DelegatedResourceAccessRequestSummaryCollection instances DelegatedResourceAccessRequestSummaryCollection `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"` }
ListDelegatedResourceAccessRequestsResponse wrapper for the ListDelegatedResourceAccessRequests operation
func (ListDelegatedResourceAccessRequestsResponse) HTTPResponse ¶
func (response ListDelegatedResourceAccessRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDelegatedResourceAccessRequestsResponse) String ¶
func (response ListDelegatedResourceAccessRequestsResponse) String() string
type ListDelegatedResourceAccessRequestsSortByEnum ¶
type ListDelegatedResourceAccessRequestsSortByEnum string
ListDelegatedResourceAccessRequestsSortByEnum Enum with underlying type: string
const ( ListDelegatedResourceAccessRequestsSortByTimecreated ListDelegatedResourceAccessRequestsSortByEnum = "timeCreated" ListDelegatedResourceAccessRequestsSortByDisplayname ListDelegatedResourceAccessRequestsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDelegatedResourceAccessRequestsSortByEnum
func GetListDelegatedResourceAccessRequestsSortByEnumValues ¶
func GetListDelegatedResourceAccessRequestsSortByEnumValues() []ListDelegatedResourceAccessRequestsSortByEnum
GetListDelegatedResourceAccessRequestsSortByEnumValues Enumerates the set of values for ListDelegatedResourceAccessRequestsSortByEnum
func GetMappingListDelegatedResourceAccessRequestsSortByEnum ¶
func GetMappingListDelegatedResourceAccessRequestsSortByEnum(val string) (ListDelegatedResourceAccessRequestsSortByEnum, bool)
GetMappingListDelegatedResourceAccessRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegatedResourceAccessRequestsSortOrderEnum ¶
type ListDelegatedResourceAccessRequestsSortOrderEnum string
ListDelegatedResourceAccessRequestsSortOrderEnum Enum with underlying type: string
const ( ListDelegatedResourceAccessRequestsSortOrderAsc ListDelegatedResourceAccessRequestsSortOrderEnum = "ASC" ListDelegatedResourceAccessRequestsSortOrderDesc ListDelegatedResourceAccessRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDelegatedResourceAccessRequestsSortOrderEnum
func GetListDelegatedResourceAccessRequestsSortOrderEnumValues ¶
func GetListDelegatedResourceAccessRequestsSortOrderEnumValues() []ListDelegatedResourceAccessRequestsSortOrderEnum
GetListDelegatedResourceAccessRequestsSortOrderEnumValues Enumerates the set of values for ListDelegatedResourceAccessRequestsSortOrderEnum
func GetMappingListDelegatedResourceAccessRequestsSortOrderEnum ¶
func GetMappingListDelegatedResourceAccessRequestsSortOrderEnum(val string) (ListDelegatedResourceAccessRequestsSortOrderEnum, bool)
GetMappingListDelegatedResourceAccessRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegationControlResourcesRequest ¶
type ListDelegationControlResourcesRequest struct { // unique Delegation Control identifier DelegationControlId *string `mandatory:"true" contributesTo:"path" name:"delegationControlId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDelegationControlResourcesRequest wrapper for the ListDelegationControlResources operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationControlResources.go.html to see an example of how to use ListDelegationControlResourcesRequest.
func (ListDelegationControlResourcesRequest) BinaryRequestBody ¶
func (request ListDelegationControlResourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDelegationControlResourcesRequest) HTTPRequest ¶
func (request ListDelegationControlResourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDelegationControlResourcesRequest) RetryPolicy ¶
func (request ListDelegationControlResourcesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDelegationControlResourcesRequest) String ¶
func (request ListDelegationControlResourcesRequest) String() string
func (ListDelegationControlResourcesRequest) ValidateEnumValue ¶
func (request ListDelegationControlResourcesRequest) 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 ListDelegationControlResourcesResponse ¶
type ListDelegationControlResourcesResponse struct { // The underlying http response RawResponse *http.Response // A list of DelegationControlResourceCollection instances DelegationControlResourceCollection `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"` }
ListDelegationControlResourcesResponse wrapper for the ListDelegationControlResources operation
func (ListDelegationControlResourcesResponse) HTTPResponse ¶
func (response ListDelegationControlResourcesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDelegationControlResourcesResponse) String ¶
func (response ListDelegationControlResourcesResponse) String() string
type ListDelegationControlsRequest ¶
type ListDelegationControlsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. LifecycleState DelegationControlLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return Delegation Control resources that match the given display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only resources that match the given resource type. ResourceType ListDelegationControlsResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"resourceType" omitEmpty:"true"` // A filter to return Delegation Control resources that match the given resource ID. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDelegationControlsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. SortBy ListDelegationControlsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDelegationControlsRequest wrapper for the ListDelegationControls operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationControls.go.html to see an example of how to use ListDelegationControlsRequest.
func (ListDelegationControlsRequest) BinaryRequestBody ¶
func (request ListDelegationControlsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDelegationControlsRequest) HTTPRequest ¶
func (request ListDelegationControlsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDelegationControlsRequest) RetryPolicy ¶
func (request ListDelegationControlsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDelegationControlsRequest) String ¶
func (request ListDelegationControlsRequest) String() string
func (ListDelegationControlsRequest) ValidateEnumValue ¶
func (request ListDelegationControlsRequest) 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 ListDelegationControlsResourceTypeEnum ¶
type ListDelegationControlsResourceTypeEnum string
ListDelegationControlsResourceTypeEnum Enum with underlying type: string
const ( ListDelegationControlsResourceTypeVmcluster ListDelegationControlsResourceTypeEnum = "VMCLUSTER" ListDelegationControlsResourceTypeCloudvmcluster ListDelegationControlsResourceTypeEnum = "CLOUDVMCLUSTER" )
Set of constants representing the allowable values for ListDelegationControlsResourceTypeEnum
func GetListDelegationControlsResourceTypeEnumValues ¶
func GetListDelegationControlsResourceTypeEnumValues() []ListDelegationControlsResourceTypeEnum
GetListDelegationControlsResourceTypeEnumValues Enumerates the set of values for ListDelegationControlsResourceTypeEnum
func GetMappingListDelegationControlsResourceTypeEnum ¶
func GetMappingListDelegationControlsResourceTypeEnum(val string) (ListDelegationControlsResourceTypeEnum, bool)
GetMappingListDelegationControlsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegationControlsResponse ¶
type ListDelegationControlsResponse struct { // The underlying http response RawResponse *http.Response // A list of DelegationControlSummaryCollection instances DelegationControlSummaryCollection `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"` }
ListDelegationControlsResponse wrapper for the ListDelegationControls operation
func (ListDelegationControlsResponse) HTTPResponse ¶
func (response ListDelegationControlsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDelegationControlsResponse) String ¶
func (response ListDelegationControlsResponse) String() string
type ListDelegationControlsSortByEnum ¶
type ListDelegationControlsSortByEnum string
ListDelegationControlsSortByEnum Enum with underlying type: string
const ( ListDelegationControlsSortByTimecreated ListDelegationControlsSortByEnum = "timeCreated" ListDelegationControlsSortByDisplayname ListDelegationControlsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDelegationControlsSortByEnum
func GetListDelegationControlsSortByEnumValues ¶
func GetListDelegationControlsSortByEnumValues() []ListDelegationControlsSortByEnum
GetListDelegationControlsSortByEnumValues Enumerates the set of values for ListDelegationControlsSortByEnum
func GetMappingListDelegationControlsSortByEnum ¶
func GetMappingListDelegationControlsSortByEnum(val string) (ListDelegationControlsSortByEnum, bool)
GetMappingListDelegationControlsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegationControlsSortOrderEnum ¶
type ListDelegationControlsSortOrderEnum string
ListDelegationControlsSortOrderEnum Enum with underlying type: string
const ( ListDelegationControlsSortOrderAsc ListDelegationControlsSortOrderEnum = "ASC" ListDelegationControlsSortOrderDesc ListDelegationControlsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDelegationControlsSortOrderEnum
func GetListDelegationControlsSortOrderEnumValues ¶
func GetListDelegationControlsSortOrderEnumValues() []ListDelegationControlsSortOrderEnum
GetListDelegationControlsSortOrderEnumValues Enumerates the set of values for ListDelegationControlsSortOrderEnum
func GetMappingListDelegationControlsSortOrderEnum ¶
func GetMappingListDelegationControlsSortOrderEnum(val string) (ListDelegationControlsSortOrderEnum, bool)
GetMappingListDelegationControlsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegationSubscriptionsRequest ¶
type ListDelegationSubscriptionsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. LifecycleState DelegationSubscriptionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return Delegation Subscription resources that match the given display name. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListDelegationSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, timeCreated is default. SortBy ListDelegationSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListDelegationSubscriptionsRequest wrapper for the ListDelegationSubscriptions operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListDelegationSubscriptions.go.html to see an example of how to use ListDelegationSubscriptionsRequest.
func (ListDelegationSubscriptionsRequest) BinaryRequestBody ¶
func (request ListDelegationSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListDelegationSubscriptionsRequest) HTTPRequest ¶
func (request ListDelegationSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListDelegationSubscriptionsRequest) RetryPolicy ¶
func (request ListDelegationSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListDelegationSubscriptionsRequest) String ¶
func (request ListDelegationSubscriptionsRequest) String() string
func (ListDelegationSubscriptionsRequest) ValidateEnumValue ¶
func (request ListDelegationSubscriptionsRequest) 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 ListDelegationSubscriptionsResponse ¶
type ListDelegationSubscriptionsResponse struct { // The underlying http response RawResponse *http.Response // A list of DelegationSubscriptionSummaryCollection instances DelegationSubscriptionSummaryCollection `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"` }
ListDelegationSubscriptionsResponse wrapper for the ListDelegationSubscriptions operation
func (ListDelegationSubscriptionsResponse) HTTPResponse ¶
func (response ListDelegationSubscriptionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListDelegationSubscriptionsResponse) String ¶
func (response ListDelegationSubscriptionsResponse) String() string
type ListDelegationSubscriptionsSortByEnum ¶
type ListDelegationSubscriptionsSortByEnum string
ListDelegationSubscriptionsSortByEnum Enum with underlying type: string
const ( ListDelegationSubscriptionsSortByTimecreated ListDelegationSubscriptionsSortByEnum = "timeCreated" ListDelegationSubscriptionsSortByDisplayname ListDelegationSubscriptionsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListDelegationSubscriptionsSortByEnum
func GetListDelegationSubscriptionsSortByEnumValues ¶
func GetListDelegationSubscriptionsSortByEnumValues() []ListDelegationSubscriptionsSortByEnum
GetListDelegationSubscriptionsSortByEnumValues Enumerates the set of values for ListDelegationSubscriptionsSortByEnum
func GetMappingListDelegationSubscriptionsSortByEnum ¶
func GetMappingListDelegationSubscriptionsSortByEnum(val string) (ListDelegationSubscriptionsSortByEnum, bool)
GetMappingListDelegationSubscriptionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListDelegationSubscriptionsSortOrderEnum ¶
type ListDelegationSubscriptionsSortOrderEnum string
ListDelegationSubscriptionsSortOrderEnum Enum with underlying type: string
const ( ListDelegationSubscriptionsSortOrderAsc ListDelegationSubscriptionsSortOrderEnum = "ASC" ListDelegationSubscriptionsSortOrderDesc ListDelegationSubscriptionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListDelegationSubscriptionsSortOrderEnum
func GetListDelegationSubscriptionsSortOrderEnumValues ¶
func GetListDelegationSubscriptionsSortOrderEnumValues() []ListDelegationSubscriptionsSortOrderEnum
GetListDelegationSubscriptionsSortOrderEnumValues Enumerates the set of values for ListDelegationSubscriptionsSortOrderEnum
func GetMappingListDelegationSubscriptionsSortOrderEnum ¶
func GetMappingListDelegationSubscriptionsSortOrderEnum(val string) (ListDelegationSubscriptionsSortOrderEnum, bool)
GetMappingListDelegationSubscriptionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProviderActionsRequest ¶
type ListServiceProviderActionsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the entire name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return only resources that match the given resource type. ResourceType ListServiceProviderActionsResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"resourceType" omitEmpty:"true"` // A filter to return only resources that match the given Service Provider service type. ServiceProviderServiceType []ServiceProviderServiceTypeEnum `contributesTo:"query" name:"serviceProviderServiceType" omitEmpty:"true" collectionFormat:"multi"` // A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. LifecycleState ServiceProviderActionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListServiceProviderActionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. If no value is specified, default is timeCreated. SortBy ListServiceProviderActionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListServiceProviderActionsRequest wrapper for the ListServiceProviderActions operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviderActions.go.html to see an example of how to use ListServiceProviderActionsRequest.
func (ListServiceProviderActionsRequest) BinaryRequestBody ¶
func (request ListServiceProviderActionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListServiceProviderActionsRequest) HTTPRequest ¶
func (request ListServiceProviderActionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListServiceProviderActionsRequest) RetryPolicy ¶
func (request ListServiceProviderActionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListServiceProviderActionsRequest) String ¶
func (request ListServiceProviderActionsRequest) String() string
func (ListServiceProviderActionsRequest) ValidateEnumValue ¶
func (request ListServiceProviderActionsRequest) 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 ListServiceProviderActionsResourceTypeEnum ¶
type ListServiceProviderActionsResourceTypeEnum string
ListServiceProviderActionsResourceTypeEnum Enum with underlying type: string
const ( ListServiceProviderActionsResourceTypeVmcluster ListServiceProviderActionsResourceTypeEnum = "VMCLUSTER" ListServiceProviderActionsResourceTypeCloudvmcluster ListServiceProviderActionsResourceTypeEnum = "CLOUDVMCLUSTER" )
Set of constants representing the allowable values for ListServiceProviderActionsResourceTypeEnum
func GetListServiceProviderActionsResourceTypeEnumValues ¶
func GetListServiceProviderActionsResourceTypeEnumValues() []ListServiceProviderActionsResourceTypeEnum
GetListServiceProviderActionsResourceTypeEnumValues Enumerates the set of values for ListServiceProviderActionsResourceTypeEnum
func GetMappingListServiceProviderActionsResourceTypeEnum ¶
func GetMappingListServiceProviderActionsResourceTypeEnum(val string) (ListServiceProviderActionsResourceTypeEnum, bool)
GetMappingListServiceProviderActionsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProviderActionsResponse ¶
type ListServiceProviderActionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ServiceProviderActionSummaryCollection instances ServiceProviderActionSummaryCollection `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"` }
ListServiceProviderActionsResponse wrapper for the ListServiceProviderActions operation
func (ListServiceProviderActionsResponse) HTTPResponse ¶
func (response ListServiceProviderActionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListServiceProviderActionsResponse) String ¶
func (response ListServiceProviderActionsResponse) String() string
type ListServiceProviderActionsSortByEnum ¶
type ListServiceProviderActionsSortByEnum string
ListServiceProviderActionsSortByEnum Enum with underlying type: string
const ( ListServiceProviderActionsSortByTimecreated ListServiceProviderActionsSortByEnum = "timeCreated" ListServiceProviderActionsSortByName ListServiceProviderActionsSortByEnum = "name" )
Set of constants representing the allowable values for ListServiceProviderActionsSortByEnum
func GetListServiceProviderActionsSortByEnumValues ¶
func GetListServiceProviderActionsSortByEnumValues() []ListServiceProviderActionsSortByEnum
GetListServiceProviderActionsSortByEnumValues Enumerates the set of values for ListServiceProviderActionsSortByEnum
func GetMappingListServiceProviderActionsSortByEnum ¶
func GetMappingListServiceProviderActionsSortByEnum(val string) (ListServiceProviderActionsSortByEnum, bool)
GetMappingListServiceProviderActionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProviderActionsSortOrderEnum ¶
type ListServiceProviderActionsSortOrderEnum string
ListServiceProviderActionsSortOrderEnum Enum with underlying type: string
const ( ListServiceProviderActionsSortOrderAsc ListServiceProviderActionsSortOrderEnum = "ASC" ListServiceProviderActionsSortOrderDesc ListServiceProviderActionsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListServiceProviderActionsSortOrderEnum
func GetListServiceProviderActionsSortOrderEnumValues ¶
func GetListServiceProviderActionsSortOrderEnumValues() []ListServiceProviderActionsSortOrderEnum
GetListServiceProviderActionsSortOrderEnumValues Enumerates the set of values for ListServiceProviderActionsSortOrderEnum
func GetMappingListServiceProviderActionsSortOrderEnum ¶
func GetMappingListServiceProviderActionsSortOrderEnum(val string) (ListServiceProviderActionsSortOrderEnum, bool)
GetMappingListServiceProviderActionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProviderInteractionsRequest ¶
type ListServiceProviderInteractionsRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListServiceProviderInteractionsRequest wrapper for the ListServiceProviderInteractions operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviderInteractions.go.html to see an example of how to use ListServiceProviderInteractionsRequest.
func (ListServiceProviderInteractionsRequest) BinaryRequestBody ¶
func (request ListServiceProviderInteractionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListServiceProviderInteractionsRequest) HTTPRequest ¶
func (request ListServiceProviderInteractionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListServiceProviderInteractionsRequest) RetryPolicy ¶
func (request ListServiceProviderInteractionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListServiceProviderInteractionsRequest) String ¶
func (request ListServiceProviderInteractionsRequest) String() string
func (ListServiceProviderInteractionsRequest) ValidateEnumValue ¶
func (request ListServiceProviderInteractionsRequest) 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 ListServiceProviderInteractionsResponse ¶
type ListServiceProviderInteractionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ServiceProviderInteractionCollection instances ServiceProviderInteractionCollection `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"` }
ListServiceProviderInteractionsResponse wrapper for the ListServiceProviderInteractions operation
func (ListServiceProviderInteractionsResponse) HTTPResponse ¶
func (response ListServiceProviderInteractionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListServiceProviderInteractionsResponse) String ¶
func (response ListServiceProviderInteractionsResponse) String() string
type ListServiceProvidersRequest ¶
type ListServiceProvidersRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. LifecycleState ServiceProviderLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return Service Provider resources that match the given name. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // A filter to return only Service Provider resources whose supported resource type matches the given resource type. SupportedResourceType ListServiceProvidersSupportedResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"supportedResourceType" omitEmpty:"true"` // A filter to return only Service Provider resources whose provider type matches the given provider type. ServiceProviderType ServiceProviderServiceProviderTypeEnum `mandatory:"false" contributesTo:"query" name:"serviceProviderType" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListServiceProvidersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. If no value is specified, timeCreated is default. SortBy ListServiceProvidersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListServiceProvidersRequest wrapper for the ListServiceProviders operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListServiceProviders.go.html to see an example of how to use ListServiceProvidersRequest.
func (ListServiceProvidersRequest) BinaryRequestBody ¶
func (request ListServiceProvidersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListServiceProvidersRequest) HTTPRequest ¶
func (request ListServiceProvidersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListServiceProvidersRequest) RetryPolicy ¶
func (request ListServiceProvidersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListServiceProvidersRequest) String ¶
func (request ListServiceProvidersRequest) String() string
func (ListServiceProvidersRequest) ValidateEnumValue ¶
func (request ListServiceProvidersRequest) 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 ListServiceProvidersResponse ¶
type ListServiceProvidersResponse struct { // The underlying http response RawResponse *http.Response // A list of ServiceProviderSummaryCollection instances ServiceProviderSummaryCollection `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"` }
ListServiceProvidersResponse wrapper for the ListServiceProviders operation
func (ListServiceProvidersResponse) HTTPResponse ¶
func (response ListServiceProvidersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListServiceProvidersResponse) String ¶
func (response ListServiceProvidersResponse) String() string
type ListServiceProvidersSortByEnum ¶
type ListServiceProvidersSortByEnum string
ListServiceProvidersSortByEnum Enum with underlying type: string
const ( ListServiceProvidersSortByTimecreated ListServiceProvidersSortByEnum = "timeCreated" ListServiceProvidersSortByDisplayname ListServiceProvidersSortByEnum = "displayName" )
Set of constants representing the allowable values for ListServiceProvidersSortByEnum
func GetListServiceProvidersSortByEnumValues ¶
func GetListServiceProvidersSortByEnumValues() []ListServiceProvidersSortByEnum
GetListServiceProvidersSortByEnumValues Enumerates the set of values for ListServiceProvidersSortByEnum
func GetMappingListServiceProvidersSortByEnum ¶
func GetMappingListServiceProvidersSortByEnum(val string) (ListServiceProvidersSortByEnum, bool)
GetMappingListServiceProvidersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProvidersSortOrderEnum ¶
type ListServiceProvidersSortOrderEnum string
ListServiceProvidersSortOrderEnum Enum with underlying type: string
const ( ListServiceProvidersSortOrderAsc ListServiceProvidersSortOrderEnum = "ASC" ListServiceProvidersSortOrderDesc ListServiceProvidersSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListServiceProvidersSortOrderEnum
func GetListServiceProvidersSortOrderEnumValues ¶
func GetListServiceProvidersSortOrderEnumValues() []ListServiceProvidersSortOrderEnum
GetListServiceProvidersSortOrderEnumValues Enumerates the set of values for ListServiceProvidersSortOrderEnum
func GetMappingListServiceProvidersSortOrderEnum ¶
func GetMappingListServiceProvidersSortOrderEnum(val string) (ListServiceProvidersSortOrderEnum, bool)
GetMappingListServiceProvidersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListServiceProvidersSupportedResourceTypeEnum ¶
type ListServiceProvidersSupportedResourceTypeEnum string
ListServiceProvidersSupportedResourceTypeEnum Enum with underlying type: string
const ( ListServiceProvidersSupportedResourceTypeVmcluster ListServiceProvidersSupportedResourceTypeEnum = "VMCLUSTER" ListServiceProvidersSupportedResourceTypeCloudvmcluster ListServiceProvidersSupportedResourceTypeEnum = "CLOUDVMCLUSTER" )
Set of constants representing the allowable values for ListServiceProvidersSupportedResourceTypeEnum
func GetListServiceProvidersSupportedResourceTypeEnumValues ¶
func GetListServiceProvidersSupportedResourceTypeEnumValues() []ListServiceProvidersSupportedResourceTypeEnum
GetListServiceProvidersSupportedResourceTypeEnumValues Enumerates the set of values for ListServiceProvidersSupportedResourceTypeEnum
func GetMappingListServiceProvidersSupportedResourceTypeEnum ¶
func GetMappingListServiceProvidersSupportedResourceTypeEnum(val string) (ListServiceProvidersSupportedResourceTypeEnum, bool)
GetMappingListServiceProvidersSupportedResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsRequest ¶
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
func (ListWorkRequestErrorsRequest) BinaryRequestBody ¶
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) HTTPRequest ¶
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
func (ListWorkRequestErrorsRequest) ValidateEnumValue ¶
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For 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"` }
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
func (ListWorkRequestErrorsResponse) HTTPResponse ¶
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestErrorsResponse) String ¶
func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum ¶
type ListWorkRequestErrorsSortByEnum string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
const (
ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortByEnumValues ¶
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum ¶
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestErrorsSortOrderEnum ¶
type ListWorkRequestErrorsSortOrderEnum string
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestErrorsSortOrderEnumValues ¶
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum ¶
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsRequest ¶
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The field to sort by. Only one sort order may be provided. Default order for timestamp is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
func (ListWorkRequestLogsRequest) BinaryRequestBody ¶
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestLogsRequest) HTTPRequest ¶
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
func (ListWorkRequestLogsRequest) ValidateEnumValue ¶
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For 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"` }
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
func (ListWorkRequestLogsResponse) HTTPResponse ¶
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestLogsResponse) String ¶
func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum ¶
type ListWorkRequestLogsSortByEnum string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
const (
ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp"
)
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortByEnumValues ¶
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum ¶
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestLogsSortOrderEnum ¶
type ListWorkRequestLogsSortOrderEnum string
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestLogsSortOrderEnumValues ¶
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum ¶
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsRequest ¶
type ListWorkRequestsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only work requests with the given OperationStatus. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The ID of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
func (ListWorkRequestsRequest) BinaryRequestBody ¶
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ListWorkRequestsRequest) HTTPRequest ¶
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
func (ListWorkRequestsRequest) ValidateEnumValue ¶
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For 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"` }
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
func (ListWorkRequestsResponse) HTTPResponse ¶
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListWorkRequestsResponse) String ¶
func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum ¶
type ListWorkRequestsSortByEnum string
ListWorkRequestsSortByEnum Enum with underlying type: string
const (
ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortByEnumValues ¶
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum ¶
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsSortOrderEnum ¶
type ListWorkRequestsSortOrderEnum string
ListWorkRequestsSortOrderEnum Enum with underlying type: string
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsSortOrderEnumValues ¶
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum ¶
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
type ListWorkRequestsStatusEnum ¶
type ListWorkRequestsStatusEnum string
ListWorkRequestsStatusEnum Enum with underlying type: string
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
func GetListWorkRequestsStatusEnumValues ¶
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum ¶
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetMappingOperationStatusEnum ¶
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type OperationTypeEnum ¶
type OperationTypeEnum string
OperationTypeEnum Enum with underlying type: string
const ( OperationTypeCreateDelegationControl OperationTypeEnum = "CREATE_DELEGATION_CONTROL" OperationTypeUpdateDelegationControl OperationTypeEnum = "UPDATE_DELEGATION_CONTROL" OperationTypeDeleteDelegationControl OperationTypeEnum = "DELETE_DELEGATION_CONTROL" OperationTypeMoveDelegationControl OperationTypeEnum = "MOVE_DELEGATION_CONTROL" OperationTypeCreateDelegatedResourceAccessRequest OperationTypeEnum = "CREATE_DELEGATED_RESOURCE_ACCESS_REQUEST" OperationTypeApproveDelegatedResourceAccessRequest OperationTypeEnum = "APPROVE_DELEGATED_RESOURCE_ACCESS_REQUEST" OperationTypeRejectDelegatedResourceAccessRequest OperationTypeEnum = "REJECT_DELEGATED_RESOURCE_ACCESS_REQUEST" OperationTypeRevokeDelegatedResourceAccessRequest OperationTypeEnum = "REVOKE_DELEGATED_RESOURCE_ACCESS_REQUEST" OperationTypeCreateDelegationSubscription OperationTypeEnum = "CREATE_DELEGATION_SUBSCRIPTION" OperationTypeUpdateDelegationSubscription OperationTypeEnum = "UPDATE_DELEGATION_SUBSCRIPTION" OperationTypeDeleteDelegationSubscription OperationTypeEnum = "DELETE_DELEGATION_SUBSCRIPTION" OperationTypeMoveDelegationSubscription OperationTypeEnum = "MOVE_DELEGATION_SUBSCRIPTION" )
Set of constants representing the allowable values for OperationTypeEnum
func GetMappingOperationTypeEnum ¶
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type RejectDelegatedResourceAccessRequestDetails ¶
type RejectDelegatedResourceAccessRequestDetails struct { // Comment by the approver explaining why the request is rejected. ApproverComment *string `mandatory:"false" json:"approverComment"` }
RejectDelegatedResourceAccessRequestDetails Summary of why the Delegated Resource Access Request was rejected.
func (RejectDelegatedResourceAccessRequestDetails) String ¶
func (m RejectDelegatedResourceAccessRequestDetails) String() string
func (RejectDelegatedResourceAccessRequestDetails) ValidateEnumValue ¶
func (m RejectDelegatedResourceAccessRequestDetails) 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 RejectDelegatedResourceAccessRequestRequest ¶
type RejectDelegatedResourceAccessRequestRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // Details regarding the rejection of a Delegated Resource Access Request created by the support operator. RejectDelegatedResourceAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
RejectDelegatedResourceAccessRequestRequest wrapper for the RejectDelegatedResourceAccessRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/RejectDelegatedResourceAccessRequest.go.html to see an example of how to use RejectDelegatedResourceAccessRequestRequest.
func (RejectDelegatedResourceAccessRequestRequest) BinaryRequestBody ¶
func (request RejectDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RejectDelegatedResourceAccessRequestRequest) HTTPRequest ¶
func (request RejectDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RejectDelegatedResourceAccessRequestRequest) RetryPolicy ¶
func (request RejectDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RejectDelegatedResourceAccessRequestRequest) String ¶
func (request RejectDelegatedResourceAccessRequestRequest) String() string
func (RejectDelegatedResourceAccessRequestRequest) ValidateEnumValue ¶
func (request RejectDelegatedResourceAccessRequestRequest) 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 RejectDelegatedResourceAccessRequestResponse ¶
type RejectDelegatedResourceAccessRequestResponse 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"` }
RejectDelegatedResourceAccessRequestResponse wrapper for the RejectDelegatedResourceAccessRequest operation
func (RejectDelegatedResourceAccessRequestResponse) HTTPResponse ¶
func (response RejectDelegatedResourceAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RejectDelegatedResourceAccessRequestResponse) String ¶
func (response RejectDelegatedResourceAccessRequestResponse) String() string
type RevokeDelegatedResourceAccessRequestDetails ¶
type RevokeDelegatedResourceAccessRequestDetails struct { // Comment specified by the approver explaining why the approval is revoked. ApproverComment *string `mandatory:"false" json:"approverComment"` }
RevokeDelegatedResourceAccessRequestDetails Summary of why the already approved Delegated Resource Access Request was revoked.
func (RevokeDelegatedResourceAccessRequestDetails) String ¶
func (m RevokeDelegatedResourceAccessRequestDetails) String() string
func (RevokeDelegatedResourceAccessRequestDetails) ValidateEnumValue ¶
func (m RevokeDelegatedResourceAccessRequestDetails) 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 RevokeDelegatedResourceAccessRequestRequest ¶
type RevokeDelegatedResourceAccessRequestRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // Details regarding the revocation of a Delegated Resource Access Request created by the support operator. RevokeDelegatedResourceAccessRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
RevokeDelegatedResourceAccessRequestRequest wrapper for the RevokeDelegatedResourceAccessRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/RevokeDelegatedResourceAccessRequest.go.html to see an example of how to use RevokeDelegatedResourceAccessRequestRequest.
func (RevokeDelegatedResourceAccessRequestRequest) BinaryRequestBody ¶
func (request RevokeDelegatedResourceAccessRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (RevokeDelegatedResourceAccessRequestRequest) HTTPRequest ¶
func (request RevokeDelegatedResourceAccessRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (RevokeDelegatedResourceAccessRequestRequest) RetryPolicy ¶
func (request RevokeDelegatedResourceAccessRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (RevokeDelegatedResourceAccessRequestRequest) String ¶
func (request RevokeDelegatedResourceAccessRequestRequest) String() string
func (RevokeDelegatedResourceAccessRequestRequest) ValidateEnumValue ¶
func (request RevokeDelegatedResourceAccessRequestRequest) 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 RevokeDelegatedResourceAccessRequestResponse ¶
type RevokeDelegatedResourceAccessRequestResponse 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"` }
RevokeDelegatedResourceAccessRequestResponse wrapper for the RevokeDelegatedResourceAccessRequest operation
func (RevokeDelegatedResourceAccessRequestResponse) HTTPResponse ¶
func (response RevokeDelegatedResourceAccessRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (RevokeDelegatedResourceAccessRequestResponse) String ¶
func (response RevokeDelegatedResourceAccessRequestResponse) String() string
type ServiceProvider ¶
type ServiceProvider struct { // Unique identifier for the Service Provider. Id *string `mandatory:"true" json:"id"` // Unique name of the Service Provider. Name *string `mandatory:"true" json:"name"` // Service Provider type. ServiceProviderType ServiceProviderServiceProviderTypeEnum `mandatory:"true" json:"serviceProviderType"` // Types of services offered by this provider. ServiceTypes []ServiceProviderServiceTypeEnum `mandatory:"true" json:"serviceTypes"` // Resource types for which this provider will provide service. Default to all if not specified. SupportedResourceTypes []DelegationControlResourceTypeEnum `mandatory:"true" json:"supportedResourceTypes"` // The OCID of the compartment that contains the Delegation Control. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Description of the Service Provider. Description *string `mandatory:"false" json:"description"` // The current lifecycle state of the Service Provider. LifecycleState ServiceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time when the Service Provider was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Service Provider was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // 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"` // 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"` }
ServiceProvider Details of the Service Provider. Service provider offers services to the customer to support the delegated resources.
func (ServiceProvider) String ¶
func (m ServiceProvider) String() string
func (ServiceProvider) ValidateEnumValue ¶
func (m ServiceProvider) 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 ServiceProviderAction ¶
type ServiceProviderAction struct { // Unique Oracle assigned identifier for the Service Provider Action. Id *string `mandatory:"true" json:"id"` // Unique name of the Service Provider Action. Name *string `mandatory:"true" json:"name"` // Display Name of the Service Provider Action. CustomerDisplayName *string `mandatory:"false" json:"customerDisplayName"` // Name of the infrastructure layer associated with the Service Provider Action. Component *string `mandatory:"false" json:"component"` // resourceType for which the ServiceProviderAction is applicable ResourceType DelegationControlResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` // List of Service Provider Service Types that this Service Provider Action is applicable to. ServiceProviderServiceTypes []ServiceProviderServiceTypeEnum `mandatory:"false" json:"serviceProviderServiceTypes,omitempty"` // The current lifecycle state of the Service Provider Action. LifecycleState ServiceProviderActionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made // available to the support operator under this Service Provider Action. Description *string `mandatory:"false" json:"description"` // Fine grained properties associated with the Delegation Control. Properties []ServiceProviderActionProperties `mandatory:"false" json:"properties"` }
ServiceProviderAction Details of the Service Provider Action. Service provider actions are a pre-defined set of commands available to the support operator on different layers of the infrastructure. Although the groupings may differ depending on the infrastructure layers, the groups are designed to enable the support operator access to commands to resolve a specific set of issues.
func (ServiceProviderAction) String ¶
func (m ServiceProviderAction) String() string
func (ServiceProviderAction) ValidateEnumValue ¶
func (m ServiceProviderAction) 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 ServiceProviderActionLifecycleStateEnum ¶
type ServiceProviderActionLifecycleStateEnum string
ServiceProviderActionLifecycleStateEnum Enum with underlying type: string
const ( ServiceProviderActionLifecycleStateActive ServiceProviderActionLifecycleStateEnum = "ACTIVE" ServiceProviderActionLifecycleStateInactive ServiceProviderActionLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ServiceProviderActionLifecycleStateEnum
func GetMappingServiceProviderActionLifecycleStateEnum ¶
func GetMappingServiceProviderActionLifecycleStateEnum(val string) (ServiceProviderActionLifecycleStateEnum, bool)
GetMappingServiceProviderActionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetServiceProviderActionLifecycleStateEnumValues ¶
func GetServiceProviderActionLifecycleStateEnumValues() []ServiceProviderActionLifecycleStateEnum
GetServiceProviderActionLifecycleStateEnumValues Enumerates the set of values for ServiceProviderActionLifecycleStateEnum
type ServiceProviderActionProperties ¶
type ServiceProviderActionProperties struct { // Name of the property Name *string `mandatory:"false" json:"name"` // value of the property Value *string `mandatory:"false" json:"value"` }
ServiceProviderActionProperties Details of the properties of Service Provider Action.
func (ServiceProviderActionProperties) String ¶
func (m ServiceProviderActionProperties) String() string
func (ServiceProviderActionProperties) ValidateEnumValue ¶
func (m ServiceProviderActionProperties) 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 ServiceProviderActionSummary ¶
type ServiceProviderActionSummary struct { // Unique identifier assigned by Oracle to a Service Provider Action. Id *string `mandatory:"true" json:"id"` // Name of the Service Provider Action. Name *string `mandatory:"true" json:"name"` // Display Name of the Service Provider Action. CustomerDisplayName *string `mandatory:"false" json:"customerDisplayName"` // Name of the component for which the Service Provider Action is applicable. Component *string `mandatory:"false" json:"component"` // resourceType for which the ServiceProviderAction is applicable ResourceType DelegationControlResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` // List of Service Provider Service Types that this Service Provider Action is applicable to. ServiceProviderServiceTypes []ServiceProviderServiceTypeEnum `mandatory:"false" json:"serviceProviderServiceTypes,omitempty"` // The current lifecycle state of the Service Provider Action. LifecycleState ServiceProviderActionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made // available to the support operator under this Service Provider Action. Description *string `mandatory:"false" json:"description"` }
ServiceProviderActionSummary Details of the Service Provider Action. Service provider actions are pre-defined set of commands available to the support operator on different layers of the infrastructure.
func (ServiceProviderActionSummary) String ¶
func (m ServiceProviderActionSummary) String() string
func (ServiceProviderActionSummary) ValidateEnumValue ¶
func (m ServiceProviderActionSummary) 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 ServiceProviderActionSummaryCollection ¶
type ServiceProviderActionSummaryCollection struct { // contains ServiceProviderActionSummary Items []ServiceProviderActionSummary `mandatory:"true" json:"items"` }
ServiceProviderActionSummaryCollection List of ServiceProviderActionSummary resources.
func (ServiceProviderActionSummaryCollection) String ¶
func (m ServiceProviderActionSummaryCollection) String() string
func (ServiceProviderActionSummaryCollection) ValidateEnumValue ¶
func (m ServiceProviderActionSummaryCollection) 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 ServiceProviderInteractionCollection ¶
type ServiceProviderInteractionCollection struct { // contains ServiceProviderInteractionSummary Items []ServiceProviderInteractionSummary `mandatory:"true" json:"items"` }
ServiceProviderInteractionCollection Results of access request additionalInfo search, which contains details of the conversation between customer and operator.
func (ServiceProviderInteractionCollection) String ¶
func (m ServiceProviderInteractionCollection) String() string
func (ServiceProviderInteractionCollection) ValidateEnumValue ¶
func (m ServiceProviderInteractionCollection) 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 ServiceProviderInteractionRequestDetails ¶
type ServiceProviderInteractionRequestDetails struct { // Questions for operator to provide more information. MoreInfoDetails *string `mandatory:"false" json:"moreInfoDetails"` }
ServiceProviderInteractionRequestDetails Details for asking operator to provide more information.
func (ServiceProviderInteractionRequestDetails) String ¶
func (m ServiceProviderInteractionRequestDetails) String() string
func (ServiceProviderInteractionRequestDetails) ValidateEnumValue ¶
func (m ServiceProviderInteractionRequestDetails) 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 ServiceProviderInteractionRequestRequest ¶
type ServiceProviderInteractionRequestRequest struct { // Unique Delegated Resource Access Request identifier DelegatedResourceAccessRequestId *string `mandatory:"true" contributesTo:"path" name:"delegatedResourceAccessRequestId"` // Details containing Query for additional information provided by Customer. ServiceProviderInteractionRequestDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or // server error without risk of executing that same action again. Retry tokens expire after 24 // hours, but can be invalidated before then due to conflicting operations. For example, if a resource // has been deleted and purged from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
ServiceProviderInteractionRequestRequest wrapper for the ServiceProviderInteractionRequest operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ServiceProviderInteractionRequest.go.html to see an example of how to use ServiceProviderInteractionRequestRequest.
func (ServiceProviderInteractionRequestRequest) BinaryRequestBody ¶
func (request ServiceProviderInteractionRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ServiceProviderInteractionRequestRequest) HTTPRequest ¶
func (request ServiceProviderInteractionRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ServiceProviderInteractionRequestRequest) RetryPolicy ¶
func (request ServiceProviderInteractionRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ServiceProviderInteractionRequestRequest) String ¶
func (request ServiceProviderInteractionRequestRequest) String() string
func (ServiceProviderInteractionRequestRequest) ValidateEnumValue ¶
func (request ServiceProviderInteractionRequestRequest) 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 ServiceProviderInteractionRequestResponse ¶
type ServiceProviderInteractionRequestResponse 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"` }
ServiceProviderInteractionRequestResponse wrapper for the ServiceProviderInteractionRequest operation
func (ServiceProviderInteractionRequestResponse) HTTPResponse ¶
func (response ServiceProviderInteractionRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ServiceProviderInteractionRequestResponse) String ¶
func (response ServiceProviderInteractionRequestResponse) String() string
type ServiceProviderInteractionSummary ¶
type ServiceProviderInteractionSummary struct { // The unique identifier of the message within the scope of the associated access request. MessageIdentifier *string `mandatory:"false" json:"messageIdentifier"` // ID of the customer or operator who is part of this conversation. For operator, this field is null. UserId *string `mandatory:"false" json:"userId"` // Name of the customer or operator who is part of this conversation. For operator, the name is "Operator". UserName *string `mandatory:"false" json:"userName"` // The information exchanged between the customer and the operator. Message *string `mandatory:"false" json:"message"` // Indicates whether the user is a customer or an operator. UserType ServiceProviderInteractionSummaryUserTypeEnum `mandatory:"false" json:"userType,omitempty"` // Time when the conversation happened in RFC 3339 (https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"` }
ServiceProviderInteractionSummary Summary of customer and operator conversation.
func (ServiceProviderInteractionSummary) String ¶
func (m ServiceProviderInteractionSummary) String() string
func (ServiceProviderInteractionSummary) ValidateEnumValue ¶
func (m ServiceProviderInteractionSummary) 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 ServiceProviderInteractionSummaryUserTypeEnum ¶
type ServiceProviderInteractionSummaryUserTypeEnum string
ServiceProviderInteractionSummaryUserTypeEnum Enum with underlying type: string
const ( ServiceProviderInteractionSummaryUserTypeCustomer ServiceProviderInteractionSummaryUserTypeEnum = "CUSTOMER" ServiceProviderInteractionSummaryUserTypeOperator ServiceProviderInteractionSummaryUserTypeEnum = "OPERATOR" )
Set of constants representing the allowable values for ServiceProviderInteractionSummaryUserTypeEnum
func GetMappingServiceProviderInteractionSummaryUserTypeEnum ¶
func GetMappingServiceProviderInteractionSummaryUserTypeEnum(val string) (ServiceProviderInteractionSummaryUserTypeEnum, bool)
GetMappingServiceProviderInteractionSummaryUserTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetServiceProviderInteractionSummaryUserTypeEnumValues ¶
func GetServiceProviderInteractionSummaryUserTypeEnumValues() []ServiceProviderInteractionSummaryUserTypeEnum
GetServiceProviderInteractionSummaryUserTypeEnumValues Enumerates the set of values for ServiceProviderInteractionSummaryUserTypeEnum
type ServiceProviderLifecycleStateEnum ¶
type ServiceProviderLifecycleStateEnum string
ServiceProviderLifecycleStateEnum Enum with underlying type: string
const ( ServiceProviderLifecycleStateCreating ServiceProviderLifecycleStateEnum = "CREATING" ServiceProviderLifecycleStateActive ServiceProviderLifecycleStateEnum = "ACTIVE" ServiceProviderLifecycleStateUpdating ServiceProviderLifecycleStateEnum = "UPDATING" ServiceProviderLifecycleStateDeleting ServiceProviderLifecycleStateEnum = "DELETING" ServiceProviderLifecycleStateDeleted ServiceProviderLifecycleStateEnum = "DELETED" ServiceProviderLifecycleStateFailed ServiceProviderLifecycleStateEnum = "FAILED" )
Set of constants representing the allowable values for ServiceProviderLifecycleStateEnum
func GetMappingServiceProviderLifecycleStateEnum ¶
func GetMappingServiceProviderLifecycleStateEnum(val string) (ServiceProviderLifecycleStateEnum, bool)
GetMappingServiceProviderLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetServiceProviderLifecycleStateEnumValues ¶
func GetServiceProviderLifecycleStateEnumValues() []ServiceProviderLifecycleStateEnum
GetServiceProviderLifecycleStateEnumValues Enumerates the set of values for ServiceProviderLifecycleStateEnum
type ServiceProviderServiceProviderTypeEnum ¶
type ServiceProviderServiceProviderTypeEnum string
ServiceProviderServiceProviderTypeEnum Enum with underlying type: string
const (
ServiceProviderServiceProviderTypeOracleProvided ServiceProviderServiceProviderTypeEnum = "ORACLE_PROVIDED"
)
Set of constants representing the allowable values for ServiceProviderServiceProviderTypeEnum
func GetMappingServiceProviderServiceProviderTypeEnum ¶
func GetMappingServiceProviderServiceProviderTypeEnum(val string) (ServiceProviderServiceProviderTypeEnum, bool)
GetMappingServiceProviderServiceProviderTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetServiceProviderServiceProviderTypeEnumValues ¶
func GetServiceProviderServiceProviderTypeEnumValues() []ServiceProviderServiceProviderTypeEnum
GetServiceProviderServiceProviderTypeEnumValues Enumerates the set of values for ServiceProviderServiceProviderTypeEnum
type ServiceProviderServiceTypeEnum ¶
type ServiceProviderServiceTypeEnum string
ServiceProviderServiceTypeEnum Enum with underlying type: string
const ( ServiceProviderServiceTypeTroubleshooting ServiceProviderServiceTypeEnum = "TROUBLESHOOTING" ServiceProviderServiceTypeAssistedPatching ServiceProviderServiceTypeEnum = "ASSISTED_PATCHING" )
Set of constants representing the allowable values for ServiceProviderServiceTypeEnum
func GetMappingServiceProviderServiceTypeEnum ¶
func GetMappingServiceProviderServiceTypeEnum(val string) (ServiceProviderServiceTypeEnum, bool)
GetMappingServiceProviderServiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetServiceProviderServiceTypeEnumValues ¶
func GetServiceProviderServiceTypeEnumValues() []ServiceProviderServiceTypeEnum
GetServiceProviderServiceTypeEnumValues Enumerates the set of values for ServiceProviderServiceTypeEnum
type ServiceProviderSummary ¶
type ServiceProviderSummary struct { // Unique identifier for the Service Provider. Id *string `mandatory:"true" json:"id"` // Unique name of the Service Provider. Name *string `mandatory:"true" json:"name"` // The OCID of the compartment that contains the Delegation Control. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Service Provider type. ServiceProviderType ServiceProviderServiceProviderTypeEnum `mandatory:"false" json:"serviceProviderType,omitempty"` // Types of services offered by this provider. ServiceTypes []ServiceProviderServiceTypeEnum `mandatory:"false" json:"serviceTypes,omitempty"` // Resource types for which this provider will provide service. Default to all if not specified. SupportedResourceTypes []DelegationControlResourceTypeEnum `mandatory:"false" json:"supportedResourceTypes,omitempty"` // The current lifecycle state of the Service Provider. LifecycleState ServiceProviderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Description of the current lifecycle state in more detail. LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"` // Time when the Service Provider was created expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time when the Service Provider was last modified expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // 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"` // 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"` }
ServiceProviderSummary Summary of the Service Provider. Service provider offers services to the customer to support the delegated resources.
func (ServiceProviderSummary) String ¶
func (m ServiceProviderSummary) String() string
func (ServiceProviderSummary) ValidateEnumValue ¶
func (m ServiceProviderSummary) 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 ServiceProviderSummaryCollection ¶
type ServiceProviderSummaryCollection struct { // List of ServiceProviderSummary objects. Items []ServiceProviderSummary `mandatory:"true" json:"items"` }
ServiceProviderSummaryCollection List of ServiceProviderSummary objects.
func (ServiceProviderSummaryCollection) String ¶
func (m ServiceProviderSummaryCollection) String() string
func (ServiceProviderSummaryCollection) ValidateEnumValue ¶
func (m ServiceProviderSummaryCollection) 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 SortOrdersEnum ¶
type SortOrdersEnum string
SortOrdersEnum Enum with underlying type: string
const ( SortOrdersAsc SortOrdersEnum = "ASC" SortOrdersDesc SortOrdersEnum = "DESC" )
Set of constants representing the allowable values for SortOrdersEnum
func GetMappingSortOrdersEnum ¶
func GetMappingSortOrdersEnum(val string) (SortOrdersEnum, bool)
GetMappingSortOrdersEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrdersEnumValues ¶
func GetSortOrdersEnumValues() []SortOrdersEnum
GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum
type UpdateDelegationControlDetails ¶
type UpdateDelegationControlDetails struct { // Name of the Delegation Control. The name does not need to be unique. DisplayName *string `mandatory:"false" json:"displayName"` // Description of the Delegation Control. Description *string `mandatory:"false" json:"description"` // number of approvals required. NumApprovalsRequired *int `mandatory:"false" json:"numApprovalsRequired"` // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. DelegationSubscriptionIds []string `mandatory:"false" json:"delegationSubscriptionIds"` // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. IsAutoApproveDuringMaintenance *bool `mandatory:"false" json:"isAutoApproveDuringMaintenance"` // The OCID of the selected resources that this Delegation Control is applicable to. ResourceIds []string `mandatory:"false" json:"resourceIds"` // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be // automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. PreApprovedServiceProviderActionNames []string `mandatory:"false" json:"preApprovedServiceProviderActionNames"` // The OCID of the OCI Notification topic to publish messages related to this Delegation Control. NotificationTopicId *string `mandatory:"false" json:"notificationTopicId"` // The format of the OCI Notification messages for this Delegation Control. NotificationMessageFormat DelegationControlNotificationMessageFormatEnum `mandatory:"false" json:"notificationMessageFormat,omitempty"` // 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"` // 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"` }
UpdateDelegationControlDetails Information about the new Delegation Control.
func (UpdateDelegationControlDetails) String ¶
func (m UpdateDelegationControlDetails) String() string
func (UpdateDelegationControlDetails) ValidateEnumValue ¶
func (m UpdateDelegationControlDetails) 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 UpdateDelegationControlRequest ¶
type UpdateDelegationControlRequest struct { // unique Delegation Control identifier DelegationControlId *string `mandatory:"true" contributesTo:"path" name:"delegationControlId"` // Details for the new DelegationControl. UpdateDelegationControlDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDelegationControlRequest wrapper for the UpdateDelegationControl operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/UpdateDelegationControl.go.html to see an example of how to use UpdateDelegationControlRequest.
func (UpdateDelegationControlRequest) BinaryRequestBody ¶
func (request UpdateDelegationControlRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDelegationControlRequest) HTTPRequest ¶
func (request UpdateDelegationControlRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDelegationControlRequest) RetryPolicy ¶
func (request UpdateDelegationControlRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDelegationControlRequest) String ¶
func (request UpdateDelegationControlRequest) String() string
func (UpdateDelegationControlRequest) ValidateEnumValue ¶
func (request UpdateDelegationControlRequest) 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 UpdateDelegationControlResponse ¶
type UpdateDelegationControlResponse struct { // The underlying http response RawResponse *http.Response // The DelegationControl instance DelegationControl `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"` // 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"` // URI of the resource ContentLocation *string `presentIn:"header" name:"content-location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateDelegationControlResponse wrapper for the UpdateDelegationControl operation
func (UpdateDelegationControlResponse) HTTPResponse ¶
func (response UpdateDelegationControlResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDelegationControlResponse) String ¶
func (response UpdateDelegationControlResponse) String() string
type UpdateDelegationSubscriptionDetails ¶
type UpdateDelegationSubscriptionDetails struct { // Description of the Delegation Subscription. Description *string `mandatory:"false" json:"description"` // 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"` // 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"` }
UpdateDelegationSubscriptionDetails Details for updating the Delegation Subscription.
func (UpdateDelegationSubscriptionDetails) String ¶
func (m UpdateDelegationSubscriptionDetails) String() string
func (UpdateDelegationSubscriptionDetails) ValidateEnumValue ¶
func (m UpdateDelegationSubscriptionDetails) 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 UpdateDelegationSubscriptionRequest ¶
type UpdateDelegationSubscriptionRequest struct { // unique Delegation Subscription identifier DelegationSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"delegationSubscriptionId"` // Details for the DelegationSubscription to be updated. UpdateDelegationSubscriptionDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call // for a resource, set the `if-match` parameter to the value of the // etag from a previous GET or POST response for that resource. // The resource will be updated or deleted only if the etag you // provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
UpdateDelegationSubscriptionRequest wrapper for the UpdateDelegationSubscription operation
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/UpdateDelegationSubscription.go.html to see an example of how to use UpdateDelegationSubscriptionRequest.
func (UpdateDelegationSubscriptionRequest) BinaryRequestBody ¶
func (request UpdateDelegationSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (UpdateDelegationSubscriptionRequest) HTTPRequest ¶
func (request UpdateDelegationSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (UpdateDelegationSubscriptionRequest) RetryPolicy ¶
func (request UpdateDelegationSubscriptionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (UpdateDelegationSubscriptionRequest) String ¶
func (request UpdateDelegationSubscriptionRequest) String() string
func (UpdateDelegationSubscriptionRequest) ValidateEnumValue ¶
func (request UpdateDelegationSubscriptionRequest) 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 UpdateDelegationSubscriptionResponse ¶
type UpdateDelegationSubscriptionResponse struct { // The underlying http response RawResponse *http.Response // The DelegationSubscription instance DelegationSubscription `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"` // 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"` // URI of the resource ContentLocation *string `presentIn:"header" name:"content-location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
UpdateDelegationSubscriptionResponse wrapper for the UpdateDelegationSubscription operation
func (UpdateDelegationSubscriptionResponse) HTTPResponse ¶
func (response UpdateDelegationSubscriptionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateDelegationSubscriptionResponse) String ¶
func (response UpdateDelegationSubscriptionResponse) String() string
type WorkRequest ¶
type WorkRequest struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequest A description of workrequest status
func (WorkRequest) String ¶
func (m WorkRequest) String() string
func (WorkRequest) ValidateEnumValue ¶
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestClient ¶
type WorkRequestClient struct { common.BaseClient // contains filtered or unexported fields }
WorkRequestClient a client for WorkRequest
func NewWorkRequestClientWithConfigurationProvider ¶
func NewWorkRequestClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WorkRequestClient, err error)
NewWorkRequestClientWithConfigurationProvider Creates a new default WorkRequest client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewWorkRequestClientWithOboToken ¶
func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WorkRequestClient, err error)
NewWorkRequestClientWithOboToken Creates a new default WorkRequest 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 (*WorkRequestClient) ConfigurationProvider ¶
func (client *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (WorkRequestClient) GetWorkRequest ¶
func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets details of the work request with the given ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (WorkRequestClient) ListWorkRequestErrors ¶
func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a (paginated) list of errors for the work request with the given ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (WorkRequestClient) ListWorkRequestLogs ¶
func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a (paginated) list of logs for the work request with the given ID.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (WorkRequestClient) ListWorkRequests ¶
func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
See also ¶
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/delegateaccesscontrol/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (*WorkRequestClient) SetRegion ¶
func (client *WorkRequestClient) SetRegion(region string)
SetRegion overrides the region of this client.
type WorkRequestError ¶
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestError An error encountered while executing a work request.
func (WorkRequestError) String ¶
func (m WorkRequestError) String() string
func (WorkRequestError) ValidateEnumValue ¶
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestErrorCollection ¶
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
func (WorkRequestErrorCollection) String ¶
func (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 ¶
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
WorkRequestLogEntry A log message from the execution of a work request.
func (WorkRequestLogEntry) String ¶
func (m WorkRequestLogEntry) String() string
func (WorkRequestLogEntry) ValidateEnumValue ¶
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestLogEntryCollection ¶
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
func (WorkRequestLogEntryCollection) String ¶
func (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 ¶
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata EntityUri *string `mandatory:"false" json:"entityUri"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
WorkRequestResource A resource created or operated on by a work request.
func (WorkRequestResource) String ¶
func (m WorkRequestResource) String() string
func (WorkRequestResource) ValidateEnumValue ¶
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestResourceMetadataKeyEnum ¶
type WorkRequestResourceMetadataKeyEnum string
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
const ( WorkRequestResourceMetadataKeyVmClusterId WorkRequestResourceMetadataKeyEnum = "VM_CLUSTER_ID" WorkRequestResourceMetadataKeyHostnames WorkRequestResourceMetadataKeyEnum = "HOSTNAMES" WorkRequestResourceMetadataKeyCommands WorkRequestResourceMetadataKeyEnum = "COMMANDS" WorkRequestResourceMetadataKeyResultLocation WorkRequestResourceMetadataKeyEnum = "RESULT_LOCATION" )
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
func GetMappingWorkRequestResourceMetadataKeyEnum ¶
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues ¶
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary ¶
type WorkRequestSummary struct { // Type of the work request OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
WorkRequestSummary A summary of the status of a work request.
func (WorkRequestSummary) String ¶
func (m WorkRequestSummary) String() string
func (WorkRequestSummary) ValidateEnumValue ¶
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
type WorkRequestSummaryCollection ¶
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
func (WorkRequestSummaryCollection) String ¶
func (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
Source Files
¶
- action_type.go
- approve_delegated_resource_access_request_details.go
- approve_delegated_resource_access_request_request_response.go
- audit_report_status.go
- change_delegation_control_compartment_details.go
- change_delegation_control_compartment_request_response.go
- change_delegation_subscription_compartment_details.go
- change_delegation_subscription_compartment_request_response.go
- create_delegation_control_details.go
- create_delegation_control_request_response.go
- create_delegation_subscription_details.go
- create_delegation_subscription_request_response.go
- delegateaccesscontrol_client.go
- delegateaccesscontrol_workrequest_client.go
- delegated_resource_access_request.go
- delegated_resource_access_request_approval_details.go
- delegated_resource_access_request_audit_log_report.go
- delegated_resource_access_request_audit_type.go
- delegated_resource_access_request_history_collection.go
- delegated_resource_access_request_history_summary.go
- delegated_resource_access_request_severity.go
- delegated_resource_access_request_status.go
- delegated_resource_access_request_summary.go
- delegated_resource_access_request_summary_collection.go
- delegated_resource_access_requester_type.go
- delegation_control.go
- delegation_control_resource_collection.go
- delegation_control_resource_summary.go
- delegation_control_resource_type.go
- delegation_control_summary.go
- delegation_control_summary_collection.go
- delegation_subscription.go
- delegation_subscription_summary.go
- delegation_subscription_summary_collection.go
- delete_delegation_control_request_response.go
- delete_delegation_subscription_request_response.go
- get_delegated_resource_access_request_audit_log_report_request_response.go
- get_delegated_resource_access_request_request_response.go
- get_delegation_control_request_response.go
- get_delegation_subscription_request_response.go
- get_service_provider_action_request_response.go
- get_service_provider_request_response.go
- get_work_request_request_response.go
- list_delegated_resource_access_request_histories_request_response.go
- list_delegated_resource_access_requests_request_response.go
- list_delegation_control_resources_request_response.go
- list_delegation_controls_request_response.go
- list_delegation_subscriptions_request_response.go
- list_service_provider_actions_request_response.go
- list_service_provider_interactions_request_response.go
- list_service_providers_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- operation_status.go
- operation_type.go
- reject_delegated_resource_access_request_details.go
- reject_delegated_resource_access_request_request_response.go
- revoke_delegated_resource_access_request_details.go
- revoke_delegated_resource_access_request_request_response.go
- service_provider.go
- service_provider_action.go
- service_provider_action_properties.go
- service_provider_action_summary.go
- service_provider_action_summary_collection.go
- service_provider_interaction_collection.go
- service_provider_interaction_request_details.go
- service_provider_interaction_request_request_response.go
- service_provider_interaction_summary.go
- service_provider_service_type.go
- service_provider_summary.go
- service_provider_summary_collection.go
- sort_orders.go
- update_delegation_control_details.go
- update_delegation_control_request_response.go
- update_delegation_subscription_details.go
- update_delegation_subscription_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